apistocks

apistocks

3.4

APIStocks is a high-performance MCP server designed to provide comprehensive access to historical market data for stocks and ETFs from the US markets.

APIStocks is a high-performance MCP server that offers comprehensive access to historical market data for stocks and ETFs from the US markets. It allows users to retrieve various historical data ranging from intraday to monthly timeframes, making it a versatile tool for investors, analysts, and developers. APIStocks is known for its popularity and performance, with a service level of 100% and a latency of 326ms. It offers multiple subscription plans to cater to different needs, including Basic, Pro, Ultra, and Mega plans. APIStocks provides tools for accessing daily, weekly, monthly, and intraday data for stocks and ETFs, making it a reliable and efficient platform for accessing extensive historical market data.

Features

  • {'name': 'Daily Data', 'description': 'Retrieve daily historical data for stocks and ETFs.'}
  • {'name': 'Monthly Data', 'description': 'Retrieve monthly historical data for stocks and ETFs.'}
  • {'name': 'Weekly Data', 'description': 'Retrieve weekly historical data for stocks and ETFs.'}
  • {'name': 'Intraday Data', 'description': 'Retrieve intraday price data for stocks and ETFs.'}

Usage with Different Platforms

python

python
import requests

url = 'https://api.apistocks.com/v1/daily'
params = {
    'symbol': 'AAPL',
    'dateStart': '2023-01-01',
    'dateEnd': '2023-10-01'
}
response = requests.get(url, params=params)
data = response.json()
print(data)

javascript

javascript
const axios = require('axios');

const url = 'https://api.apistocks.com/v1/daily';
const params = {
    symbol: 'AAPL',
    dateStart: '2023-01-01',
    dateEnd: '2023-10-01'
};

axios.get(url, { params })
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error(error);
    });