Skip to content
Docs
Get API key
Markets

Markets Intraday Data

Use the following API endpoints to obtain market intraday data.

The Intraday endpoint provides granular price data within a single trading day, including open, high, low, close, and volume at sub-daily intervals. Use it to track short-term price movements and analyze real-time market activity.

By symbol

Max of 5 symbols

Using Requests:

Python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/intraday/aapl:us,stx:us?c={your_api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

Python
import tradingeconomics as te
te.login('your_api_key')
te.getMarketsIntraday(symbols='aapl:us')

With multi symbols:

Python
te.getMarketsIntraday(symbols=['aapl:us','stx:us'])

The response data format can be configured by appending the &f= parameter to the URL request.

Text
https://api.tradingeconomics.com/markets/intraday/{symbols}?c={your_api_key}&f=json
JSON
[
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:58:00",
    "Open": 178.28,
    "High": 178.37,
    "Low": 178.26,
    "Close": 178.36
  },
  {
    "Symbol": "STX:US",
    "Date": "2023-10-10T19:58:00",
    "Open": 66.545,
    "High": 66.57,
    "Low": 66.54,
    "Close": 66.57
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:57:00",
    "Open": 178.28,
    "High": 178.31,
    "Low": 178.24,
    "Close": 178.29
  },
  {
    "Symbol": "STX:US",
    "Date": "2023-10-10T19:57:00",
    "Open": 66.56,
    "High": 66.56,
    "Low": 66.545,
    "Close": 66.545
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:56:00",
    "Open": 178.29,
    "High": 178.33,
    "Low": 178.26,
    "Close": 178.29
  },
  {
    "Symbol": "STX:US",
    "Date": "2023-10-10T19:56:00",
    "Open": 66.595,
    "High": 66.6,
    "Low": 66.55,
    "Close": 66.565
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:55:00",
    "Open": 178.31,
    "High": 178.45,
    "Low": 178.3,
    "Close": 178.3
  },
  {
    "Symbol": "STX:US",
    "Date": "2023-10-10T19:55:00",
    "Open": 66.64,
    "High": 66.64,
    "Low": 66.61,
    "Close": 66.61
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:54:00",
    "Open": 178.25,
    "High": 178.4,
    "Low": 178.15,
    "Close": 178.22
  },
  {
    "Symbol": "STX:US",
    "Date": "2023-10-10T19:54:00",
    "Open": 66.59,
    "High": 66.59,
    "Low": 66.57,
    "Close": 66.58
  }
]

By symbol and date

Returns intraday historical data for the specified symbol and date range, up to a maximum of 30 days. Aggregated intervals are calculated from 1-minute data, and requests are subject to a maximum processing limit of 10,000 underlying 1-minute records per request.

Using Requests:

Python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/intraday/aapl:us?agr=10m&d1=2020-01-01%200:00&d2=2020-12-01%2015:30&c={your_api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

Python
te.getMarketsIntraday(symbols='aapl:us', initDate='2017-08-10 15:30')

With end date:

Python
te.getMarketsIntraday(symbols='aapl:us', initDate='2017-08-01',
 endDate='2017-08-08')

With interval (1m, 5m, 10m, 15m, 30m, 1h, 2h, 4h)

Python
te.getMarketsIntradayByInterval(symbol='aapl:us', initDate='2020-01-01',
 endDate='2020-12-01', interval='10m')
Text
https://api.tradingeconomics.com/markets/intraday/{symbol}?c={your_api_key}&agr={interval}&d1=yyyy-mm-dd&d2=yyyy-mm-dd&f=json
JSON
[
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:58:00",
    "Open": 178.28,
    "High": 178.37,
    "Low": 178.26,
    "Close": 178.36
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:57:00",
    "Open": 178.28,
    "High": 178.31,
    "Low": 178.24,
    "Close": 178.29
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:56:00",
    "Open": 178.29,
    "High": 178.33,
    "Low": 178.26,
    "Close": 178.29
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:55:00",
    "Open": 178.31,
    "High": 178.45,
    "Low": 178.3,
    "Close": 178.3
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:54:00",
    "Open": 178.25,
    "High": 178.4,
    "Low": 178.15,
    "Close": 178.22
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:53:00",
    "Open": 178.34,
    "High": 178.35,
    "Low": 178.22,
    "Close": 178.23
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:52:00",
    "Open": 178.45,
    "High": 178.51,
    "Low": 178.31,
    "Close": 178.33
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:51:00",
    "Open": 178.48,
    "High": 178.55,
    "Low": 178.45,
    "Close": 178.46
  },
  {
    "Symbol": "AAPL:US",
    "Date": "2023-10-10T19:50:00",
    "Open": 178.61,
    "High": 178.61,
    "Low": 178.47,
    "Close": 178.47
  }
]

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“AAPL:US”
DatestringDate of the trading session in UTC“13/04/2023”
OpennumberOpening price of the trading session161.6300
HighnumberHighest price reached during the trading session165.6186
LownumberLowest price reached during the trading session161.4200
ClosenumberClosing price of the trading session165.5099