Skip to content
Docs
Get API key
Markets

Markets Quotes by Country

Use the following API endpoints to obtain market data by country.

The Country Snapshot endpoints offer stocks and markets data by country, capturing key details like country, names, metrics, categories, and dates for a quick overview.

Stocks by country

Using Requests:

Python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/stocks/country/united%20states?c={your_api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

Python
te.getStocksByCountry(country='united states')

With multi countries:

Python
te.getStocksByCountry(country=['united states', 'nigeria'])
Text
https://api.tradingeconomics.com/markets/stocks/country/{country}?c={your_api_key}&f=json
JSON
[
  {
    "Symbol": "360:AU",
    "Ticker": "360",
    "Name": "Life360",
    "Country": "United States",
    "Date": "2024-07-05T05:59:51.183",
    "State": "OPEN",
    "Last": 15.98,
    "Close": 15.98,
    "CloseDate": "2024-07-05T00:00:00",
    "Group": "",
    "URL": "/360:au",
    "Importance": 1000,
    "DailyChange": 0.12,
    "DailyPercentualChange": 0.7566,
    "WeeklyChange": -0.39,
    "WeeklyPercentualChange": -2.3824,
    "MonthlyChange": 2.18,
    "MonthlyPercentualChange": 15.7971,
    "YearlyChange": 8.43,
    "YearlyPercentualChange": 111.6556,
    "YTDChange": 8.42,
    "YTDPercentualChange": 111.3757,
    "day_high": 16.0,
    "day_low": 15.67,
    "yesterday": 15.86,
    "lastWeek": 16.37,
    "lastMonth": 13.8,
    "lastYear": 7.55,
    "startYear": 7.56,
    "decimals": 2.0,
    "unit": "AUD",
    "frequency": "Live",
    "StartDate": "2019-08-22T00:00:00",
    "LastUpdate": "2024-07-05T15:16:00"
  },
  {
    "Symbol": "1811094D:AU",
    "Ticker": "AVH",
    "Name": "Avita Medical",
    "Country": "United States",
    "Date": "2024-07-05T00:00:00",
    "State": "CLOSED",
    "Last": 2.37,
    "Close": 2.37,
    "CloseDate": "2024-07-05T00:00:00",
    "Group": "",
    "URL": "/1811094d:au",
    "Importance": 1000,
    "DailyChange": 0.0,
    "DailyPercentualChange": 0.0,
    "WeeklyChange": -0.05,
    "WeeklyPercentualChange": -2.0661,
    "MonthlyChange": -0.46,
    "MonthlyPercentualChange": -16.2544,
    "YearlyChange": -2.32,
    "YearlyPercentualChange": -49.467,
    "YTDChange": -1.92,
    "YTDPercentualChange": -44.7552,
    "day_high": 2.39,
    "day_low": 2.36,
    "yesterday": 2.37,
    "lastWeek": 2.42,
    "lastMonth": 2.83,
    "lastYear": 4.69,
    "startYear": 4.29,
    "decimals": 2.0,
    "unit": "AUD",
    "frequency": "Daily",
    "StartDate": "2019-08-22T00:00:00",
    "LastUpdate": "2024-07-05T15:15:00"
  },
  {
    "Symbol": "AAON:US",
    "Ticker": "AAON",
    "Name": "AAON",
    "Country": "United States",
    "Date": "2024-07-05T00:00:00",
    "State": "CLOSED",
    "Last": 85.99,
    "Close": 85.99,
    "CloseDate": "2024-07-05T00:00:00",
    "Group": "America G20 Major",
    "URL": "/aaon:us",
    "Importance": 1000,
    "DailyChange": -0.09,
    "DailyPercentualChange": -0.1046,
    "WeeklyChange": -1.25,
    "WeeklyPercentualChange": -1.4328,
    "MonthlyChange": 13.64,
    "MonthlyPercentualChange": 18.8528,
    "YearlyChange": -6.3,
    "YearlyPercentualChange": -6.8263,
    "YTDChange": 12.12,
    "YTDPercentualChange": 16.4072,
    "day_high": 86.6101,
    "day_low": 85.615,
    "yesterday": 86.08,
    "lastWeek": 87.24,
    "lastMonth": 72.35,
    "lastYear": 92.29,
    "startYear": 73.87,
    "decimals": 2.0,
    "unit": "USD",
    "frequency": "daily",
    "StartDate": "1993-09-02T00:00:00",
    "LastUpdate": "2024-07-05T15:16:00"
  }
]

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“6758:JP”
TickerstringUnique ticker code used by Trading Economics“6758”
NamestringFull name of the company, commodity, or indicator“Sony”
CountrystringCountry associated with the instrument“Japan”
DatestringDate and time of the latest release in UTC (ISO 8601 format)“2023-04-13T00:00:00”
TypestringMarket type“stocks”
DecimalsnumberNumber of decimal places used in reported values2.0
StatestringCurrent market state“CLOSED”
LastnumberMost recent trading value or price11900.00
ClosenumberLast recorded value before the market closed11900.00
CloseDatestringDate and time of the last closing price (ISO 8601 format)“2023-04-13T00:00:00”
MarketCapnumberMarket capitalization14684155308900.0
URLstringTrading Economics link to the instrument’s detail page“/commodity/eggs-ch”
ImportancenumberIndicator importance score ranging from 0 (lowest) to 1000 (highest)1000
DailyChangenumberAbsolute difference between previous close and current price-8.00
DailyPercentualChangenumberPercentage difference between previous close and current price-0.1801
WeeklyChangenumberAbsolute difference between last week’s close and current price56.00
WeeklyPercentualChangenumberPercentage difference between last week’s close and current price1.2788
MonthlyChangenumberAbsolute difference between last month’s close and current price-139.00
MonthlyPercentualChangenumberPercentage difference between last month’s close and current price-3.0389
YearlyChangenumberAbsolute difference between last year’s close and current price-15.00
YearlyPercentualChangenumberPercentage difference between last year’s close and current price-0.3371
YTDChangenumberAbsolute difference between last year’s final close and current price (YTD)525.00
YTDPercentualChangenumberPercentage difference between last year’s final close and current price (YTD)13.4271
day_highnumberHighest trading value of the current day4460.00
day_lownumberLowest trading value of the current day4410.00
YesterdaynumberPrevious day’s closing price4443.00
LastWeeknumberClosing price from the previous week4379.00
LastMonthnumberClosing price from the previous month4574.00
LastYearnumberClosing price from the previous year4450.00
StartYearnumberClosing price at the start of the current year3910.00
ISINstringInternational Securities Identification Number“US0378331005”
UnitstringUnit of measurement for the value“CNY/T”
FrequencystringReporting frequency of the market data“Daily”
LastUpdatestringTimestamp of the most recent data update (ISO 8601 format)