Intraday

The API also provides minute-to-minute intraday data. Please consider that all market-related methods are beta and under heavy development.

By symbol

Get intraday data by a specific symbol or symbols (max of 5)

/markets/intraday/{symbol}

te.getMarketsIntraday(symbols='aapl:us', output_type='df')
data = te.getMarketsIntraday(symbol = 'aapl:us').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/markets/intraday/aapl:us?c=guest:guest");

/markets/intraday/{symbols}

te.getMarketsIntraday(symbols=['aapl:us','stx:us'], output_type='df')
data = te.getMarketsIntraday(symbol = ['aapl:us','stx:us']).then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/markets/intraday/aapl:us,stx:us?c=guest:guest");

By symbol and date

Get intraday data by a specific symbol or symbols and date

Note: returns only data from the last 30 days

/markets/intraday/{symbol}?d1=yyyy-mm-dd hh:mm

te.getMarketsIntraday(symbols='aapl:us', initDate='2017-08-10 15:30', output_type='df')
data = te.getMarketsIntraday(symbol = 'aapl:us', start_date = '2017-08-10 15:30').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/markets/intraday/aapl:us?c=guest:guest&d1=2017-08-10%2015:30");

/markets/intraday/{symbol}?d1=yyyy-mm-dd&d2=yyyy-mm-dd

te.getMarketsIntraday(symbols='aapl:us', initDate='2017-08-01',
 endDate='2017-08-08', output_type='df')
data = te.getMarketsIntraday(symbol = 'aapl:us', start_date = '2017-08-01',
 end_date = '2017-08-08').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/markets/intraday/aapl:us?c=guest:guest&d1=2017-08-01&d2=2017-08-08");

By interval

An interval can be added to the date. Allowed intervals: 1m, 5m, 10m, 15m, 30m, 1h, 2h, 4h

/markets/intraday/{symbol}?agr={interval}&d1=yyyy-mm-dd&d2=yyyy-mm-dd

te.getMarketsIntradayByInterval(symbol='aapl:us', initDate='2020-01-01',
 endDate='2020-12-01', interval='5d', output_type='df')
data = te.getMarketsIntraday(symbol = 'aapl:us', start_date = '2020-01-01',
 end_date = '2020-12-01', agr = '5d').then(function(data){
  console.log(data)     
});
WebRequest request = WebRequest.Create("https://api.tradingeconomics.com/markets/intraday/aapl:us?agr=5d&d1=2020-01-01%2000:00&d2=2020-12-01%2015:30&client=guest:guest");

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“AAPL:US”
DatestringRelease time and date in UTC“2023-04-13T19:58:00”
OpennumberOpen value165.42000
HighnumberHigh value165.55000
LownumberLow value165.39999
ClosenumberClose value165.53999