Markets Search

The search will look into the categories: Indexes, markets (stocks), bonds, and commodities.

Search by country

Using Requests:

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

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getMarketsSearch(country='united states')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/markets/search/united%20states?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getMarketSnap(search_term = 'united states').then(function(data){
  console.log(data)     
});

Using Requests:

using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/search/united%20states?c=your_api_key"))
    {
        request.Headers.TryAddWithoutValidation("Upgrade-Insecure-Requests", "1");
        var response = await httpClient.SendAsync(request);
        if (response.IsSuccessStatusCode)
        {
            var content = await response.Content.ReadAsStringAsync(); 
            Console.WriteLine(content);
        }
    }
}

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

/markets/search/{country}

SymbolTickerNameCountryDateTypedecimalsstateLastCloseCloseDateMarketCapURLImportanceDailyChangeDailyPercentualChangeWeeklyChangeWeeklyPercentualChangeMonthlyChangeMonthlyPercentualChangeYearlyChangeYearlyPercentualChangeYTDChangeYTDPercentualChangeday_highday_lowyesterdaylastWeeklastMonthlastYearstartYearISINunitfrequencyLastUpdate
USGG10YR:INDUSGG10YRUS 10YUnited States7/12/2023 4:43:28 PMbond/united-states/government-bond-yieldDelayed
USGG1M:INDUNITEDSTA4WEEBILYIEUS 4WUnited States7/12/2023 4:04:33 PMbond/united-states/4-week-bill-yieldDelayed
USGG3M:INDUNITEDSTA3MONBILYIEUS 3MUnited States7/12/2023 4:10:35 PMbond/united-states/3-month-bill-yieldDelayed

/markets/search/{country}?f=json

[{"Symbol":"USGG10YR:IND","Ticker":"USGG10YR","Name":"US 10Y","Country":"United States","Date":"2023-10-11T12:13:47","Type":"bond","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/united-states/government-bond-yield","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Delayed","LastUpdate":null},{"Symbol":"USGG1M:IND","Ticker":"UNITEDSTA4WEEBILYIE","Name":"US 4W","Country":"United States","Date":"2023-10-11T11:29:18","Type":"bond","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/united-states/4-week-bill-yield","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Delayed","LastUpdate":null},{"Symbol":"USGG3M:IND","Ticker":"UNITEDSTA3MONBILYIE","Name":"US 3M","Country":"United States","Date":"2023-10-11T11:59:51","Type":"bond","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/united-states/3-month-bill-yield","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Delayed","LastUpdate":null}]

/markets/search/{country}?f=csv

USGG10YR:IND,USGG10YR,US 10Y,United States,10/11/2023 12:14:48 PM,bond,,,,,,,/united-states/government-bond-yield,,,,,,,,,,,,,,,,,,,,,Delayed,
USGG1M:IND,UNITEDSTA4WEEBILYIE,US 4W,United States,10/11/2023 11:29:18 AM,bond,,,,,,,/united-states/4-week-bill-yield,,,,,,,,,,,,,,,,,,,,,Delayed,
USGG3M:IND,UNITEDSTA3MONBILYIE,US 3M,United States,10/11/2023 11:59:51 AM,bond,,,,,,,/united-states/3-month-bill-yield,,,,,,,,,,,,,,,,,,,,,Delayed,

/markets/search/{country}?f=xml

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-11T12:13:47</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>US 10Y</d2p1:Name>
<d2p1:Symbol>USGG10YR:IND</d2p1:Symbol>
<d2p1:Ticker>USGG10YR</d2p1:Ticker>
<d2p1:Type>bond</d2p1:Type>
<d2p1:URL>/united-states/government-bond-yield</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Delayed</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-11T11:29:18</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>US 4W</d2p1:Name>
<d2p1:Symbol>USGG1M:IND</d2p1:Symbol>
<d2p1:Ticker>UNITEDSTA4WEEBILYIE</d2p1:Ticker>
<d2p1:Type>bond</d2p1:Type>
<d2p1:URL>/united-states/4-week-bill-yield</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Delayed</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-11T11:59:51</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>US 3M</d2p1:Name>
<d2p1:Symbol>USGG3M:IND</d2p1:Symbol>
<d2p1:Ticker>UNITEDSTA3MONBILYIE</d2p1:Ticker>
<d2p1:Type>bond</d2p1:Type>
<d2p1:URL>/united-states/3-month-bill-yield</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Delayed</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
</ArrayOfanyType>

Search by country and category

category = (index, markets, forex, bond and commodity).

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/markets/search/united%20states?c={api_key}&category=index,markets'
data = requests.get(url).json()
print(data)

Or using our package:

te.getMarketsSearch(country='united states', category = 'index')

With multi categories:

te.getMarketsSearch(country='united states', category = ['index', 'markets'])

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/markets/search/united%20states?c=${api_key}&category=index,markets`)
    console.log(response.data)
})()

Or using our package:

data = te.getMarketSnap(search_term = 'united states',
 category = 'index').then(function(data){
  console.log(data)     
});

With multi categories:

data = te.getMarketSnap(search_term = 'united states',
 category = ['index', 'markets']).then(function(data){
  console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/search/united%20states?c=your_api_key&category=index");

With multi categories:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/search/united%20states?c=your_api_key&category=index,markets");

/markets/search/{country}?c=your_api_key&category={category}

SymbolTickerNameCountryDateTypedecimalsstateLastCloseCloseDateMarketCapURLImportanceDailyChangeDailyPercentualChangeWeeklyChangeWeeklyPercentualChangeMonthlyChangeMonthlyPercentualChangeYearlyChangeYearlyPercentualChangeYTDChangeYTDPercentualChangeday_highday_lowyesterdaylastWeeklastMonthlastYearstartYearISINunitfrequencyLastUpdate
INDU:INDINDUUS30United States7/12/2023 4:52:34 PMindex/united-states/stock-marketLive
VIX:INDVIXUSVIXUnited States7/12/2023 5:07:16 PMindex/vix:indDelayed
W5000:INDW5000US5000United States7/12/2023 4:52:00 PMindex/w5000:indDelayed

/markets/search/{country}?c=your_api_key&category={category}?f=json

[{"Symbol":"NDX:IND","Ticker":"NDX","Name":"USNDX","Country":"United States","Date":"2023-10-11T12:16:19.69","Type":"index","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/ndx:ind","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Live","LastUpdate":null},{"Symbol":"VIX:IND","Ticker":"VIX","Name":"USVIX","Country":"United States","Date":"2023-10-11T12:16:31.383","Type":"index","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/vix:ind","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Delayed","LastUpdate":null},{"Symbol":"W5000:IND","Ticker":"W5000","Name":"US5000","Country":"United States","Date":"2023-10-10T19:46:00","Type":"index","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/w5000:ind","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"","unit":null,"frequency":"Delayed","LastUpdate":null}]

/markets/search/{country}?c=your_api_key&category={category}?f=csv

NDX:IND,NDX,USNDX,United States,10/11/2023 12:17:22 PM,index,,,,,,,/ndx:ind,,,,,,,,,,,,,,,,,,,,,Live,
VIX:IND,VIX,USVIX,United States,10/11/2023 12:16:31 PM,index,,,,,,,/vix:ind,,,,,,,,,,,,,,,,,,,,,Delayed,
W5000:IND,W5000,US5000,United States,10/10/2023 7:46:00 PM,index,,,,,,,/w5000:ind,,,,,,,,,,,,,,,,,,,,,Delayed,

/markets/search/{country}?c=your_api_key&category={category}?f=xml

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-11T12:16:19.69</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>USNDX</d2p1:Name>
<d2p1:Symbol>NDX:IND</d2p1:Symbol>
<d2p1:Ticker>NDX</d2p1:Ticker>
<d2p1:Type>index</d2p1:Type>
<d2p1:URL>/ndx:ind</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Live</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-11T12:16:31.383</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>USVIX</d2p1:Name>
<d2p1:Symbol>VIX:IND</d2p1:Symbol>
<d2p1:Ticker>VIX</d2p1:Ticker>
<d2p1:Type>index</d2p1:Type>
<d2p1:URL>/vix:ind</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Delayed</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-10T19:46:00</d2p1:Date>
<d2p1:ISIN/>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>US5000</d2p1:Name>
<d2p1:Symbol>W5000:IND</d2p1:Symbol>
<d2p1:Ticker>W5000</d2p1:Ticker>
<d2p1:Type>index</d2p1:Type>
<d2p1:URL>/w5000:ind</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Delayed</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
</ArrayOfanyType>

Search by term

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/markets/search/msft?c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getMarketsSearch(country ='msft')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/markets/search/msft?c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getMarketSnap(search_term = 'msft').then(function(data){
  console.log(data)     
});

Using Requests:

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/search/msft?c=your_api_key");

/markets/search/{term}

SymbolTickerNameCountryDateTypedecimalsstateLastCloseCloseDateMarketCapURLImportanceDailyChangeDailyPercentualChangeWeeklyChangeWeeklyPercentualChangeMonthlyChangeMonthlyPercentualChangeYearlyChangeYearlyPercentualChangeYTDChangeYTDPercentualChangeday_highday_lowyesterdaylastWeeklastMonthlastYearstartYearISINunitfrequencyLastUpdate
MSFT:USMSFTMicrosoftUnited States7/12/2023 5:09:46 PMstocks/msft:usUS5949181045Live

/markets/search/{term}?f=json

[{"Symbol":"MSFT:US","Ticker":"MSFT","Name":"Microsoft","Country":"United States","Date":"2023-10-10T19:59:11.157","Type":"stocks","decimals":null,"state":null,"Last":null,"Close":null,"CloseDate":null,"MarketCap":null,"URL":"/msft:us","Importance":null,"DailyChange":null,"DailyPercentualChange":null,"WeeklyChange":null,"WeeklyPercentualChange":null,"MonthlyChange":null,"MonthlyPercentualChange":null,"YearlyChange":null,"YearlyPercentualChange":null,"YTDChange":null,"YTDPercentualChange":null,"day_high":null,"day_low":null,"yesterday":null,"lastWeek":null,"lastMonth":null,"lastYear":null,"startYear":null,"ISIN":"US5949181045","unit":null,"frequency":"Live","LastUpdate":null}]

/markets/search/{term}?f=csv

MSFT:US,MSFT,Microsoft,United States,10/10/2023 7:59:11 PM,stocks,,,,,,,/msft:us,,,,,,,,,,,,,,,,,,,US5949181045,,Live,

/markets/search/{term}?f=xml

<ArrayOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<anyType xmlns:d2p1="http://schemas.datacontract.org/2004/07/APILib.DB" i:type="d2p1:Markets.MarketSnapItem">
<d2p1:Close i:nil="true"/>
<d2p1:CloseDate i:nil="true"/>
<d2p1:Country>United States</d2p1:Country>
<d2p1:DailyChange i:nil="true"/>
<d2p1:DailyPercentualChange i:nil="true"/>
<d2p1:Date>2023-10-10T19:59:11.157</d2p1:Date>
<d2p1:ISIN>US5949181045</d2p1:ISIN>
<d2p1:Importance i:nil="true"/>
<d2p1:Last i:nil="true"/>
<d2p1:LastUpdate i:nil="true"/>
<d2p1:MarketCap i:nil="true"/>
<d2p1:MonthlyChange i:nil="true"/>
<d2p1:MonthlyPercentualChange i:nil="true"/>
<d2p1:Name>Microsoft</d2p1:Name>
<d2p1:Symbol>MSFT:US</d2p1:Symbol>
<d2p1:Ticker>MSFT</d2p1:Ticker>
<d2p1:Type>stocks</d2p1:Type>
<d2p1:URL>/msft:us</d2p1:URL>
<d2p1:WeeklyChange i:nil="true"/>
<d2p1:WeeklyPercentualChange i:nil="true"/>
<d2p1:YTDChange i:nil="true"/>
<d2p1:YTDPercentualChange i:nil="true"/>
<d2p1:YearlyChange i:nil="true"/>
<d2p1:YearlyPercentualChange i:nil="true"/>
<d2p1:day_high i:nil="true"/>
<d2p1:day_low i:nil="true"/>
<d2p1:decimals i:nil="true"/>
<d2p1:frequency>Live</d2p1:frequency>
<d2p1:lastMonth i:nil="true"/>
<d2p1:lastWeek i:nil="true"/>
<d2p1:lastYear i:nil="true"/>
<d2p1:startYear i:nil="true"/>
<d2p1:state i:nil="true"/>
<d2p1:unit i:nil="true"/>
<d2p1:yesterday i:nil="true"/>
</anyType>
</ArrayOfanyType>

Response fields

FieldTypeDescriptionExample
SymbolstringUnique symbol used by Trading Economics“6758:JP”
TickerstringUnique ticker used by Trading Economics“6758”
NamestringIndicator full name“Sony”
CountrystringCountry nameJapan"
DatestringRelease time and date in UTC“2023-04-13T00:00:00”
TypestringMarket type“stocks”
DecimalsnumberNumber of decimal places2.0
StatestringMarket current stateCLOSED"
LastnumberLatest released value11900.000000000000
ClosenumberLatest value before market close11900.000000000000
CloseDatestringDate and time of the last close“2023-04-13T00:00:00”
MarketCapnumberMarket Capitalization
URLstringHyperlink at Trading Economics“/commodity/eggs-ch”
ImportancenumberIndicator importance from 0 (lowest) to 1000 (highest)1000
DailyChangenumberDifference between last close and current price-8.000000000000
DailyPercentualChangenumberDifference in percentage between last close and current price-0.1801
WeeklyChangenumberDifference between last week close and current price price56.000000000000
WeeklyPercentualChangenumberDifference in percentage between last week close and current price1.2788
MonthlyChangenumberDifference between last month close and current price-139.000000000000
MonthlyPercentualChangenumberDifference in percentage between last month close and current price-3.0389
YearlyChangenumberDifference between last year close and current price-15.000000000000
YearlyPercentualChangenumberDifference in percentage between last year close and current price-0.3371
YTDChangenumberDifference between last year last close and current price525.000000000000
YTDPercentualChangenumberDifference in percentage between last year last close and current price13.4271
day_highnumberHighest value of the day4460.000000000000
day_lownumberLowest value of the day4410.000000000000
YesterdaynumberYesterday close4443.000000000000
LastWeeknumberLast week close4379.000000000000
LastMonthnumberLast month close4574.000000000000
LastYearnumberLast year close4450.000000000000
StartYearnumberStart year close3910.000000000000
ISINstringISIN code“US0378331005”
UnitstringUnit of the value“CNY/T”
FrequencystringMarket frequency“Daily”
LastUpdatestringTime when new data was inserted or changed“2023-04-13T18:24:00”