Skip to content
Docs
Get API key
Financials

Financials Historical Data

Use the following API endpoints to obtain historical data for financials.

The historical endpoint contains a time series with an indicator identifier, category, fiscal calendar, the reference date, the report date, and the observed value. It allows one to check the evolution of key indicators over time.

By symbol and category

Using Requests:

Python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/financials/historical/aapl:us:assets?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.getFinancialsHistorical(symbol = 'aapl:us', category = 'assets')

With multi symbols:

Using Requests:

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

Or using our package:

Python
te.getFinancialsHistorical(symbol = ['aapl:us' , 'msft:us'], category = 'assets')

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

Text
https://api.tradingeconomics.com/financials/historical/{symbol:category}?c={your_api_key}&f=json
JSON
[
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2009-12-31T00:00:00",
    "value": 53926.0,
    "reportDate": "2009-12-26T00:00:00",
    "reference": "FY2010Q1  "
  },
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2010-03-31T00:00:00",
    "value": 57057.0,
    "reportDate": "2010-03-27T00:00:00",
    "reference": "FY2010Q2  "
  },
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2010-06-30T00:00:00",
    "value": 64725.0,
    "reportDate": "2010-06-26T00:00:00",
    "reference": "FY2010Q3  "
  }
]

By symbol, category and date

Using Requests:

Python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/financials/historical/aapl:us:assets?d1=2022-01-01&d2=2023-01-01&c={your_api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

Python
te.getFinancialsHistorical(symbol = 'aapl:us', category = 'assets',
 initDate = '2022-01-01', endDate ='2023-01-01')
Text
https://api.tradingeconomics.com/financials/historical/{symbol:category}?c={your_api_key}&d1=yyyy-mm-dd&d2=yyyy-mm-dd&f=json
JSON
[
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2022-03-31T00:00:00",
    "value": 350662.0,
    "reportDate": "2022-03-26T00:00:00",
    "reference": "FY2022Q2  "
  },
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2022-06-30T00:00:00",
    "value": 336309.0,
    "reportDate": "2022-06-25T00:00:00",
    "reference": "FY2022Q3  "
  },
  {
    "symbol": "aapl:us",
    "category": "assets",
    "date": "2022-09-30T00:00:00",
    "value": 352755.0,
    "reportDate": "2022-09-24T00:00:00",
    "reference": "FY2022Q4  "
  }
]

Response fields

FieldTypeDescriptionExample
SymbolstringUnique Trading Economics symbol identifying the company“aapl:us”
CategorystringFinancials category or indicator“assets”
DatestringDate of the financial record in UTC“2009-12-31T00:00:00”
ValuenumberReported value for the specified date53926.0000
ReportstringOfficial reporting date of the financial statement“2009-12-26T00:00:00”
ReferencestringFiscal reference period identifier“FY2010Q1”