Markets Quotes by Category
Trading Economics can provide multiple quotes for several markets in a single request. The market categories that we have available are exchange rates, stock market indexes, share prices, commodity prices, government bonds and crypto currencies. The Snapshot endpoint offers a momentary view of data, capturing specific information at a particular point in time. It generally includes details such as date, units, and general information, providing a static representation of current data.
At Trading Economics we strive for accuracy. However, please consider that while our economic data is rooted in official sources, our financial market data is aggregated from a diverse range of third-party providers. Trading Economics provides all content and data on an “as is” basis without any warranties and some of our market-related methods are under heavy development. If you are looking for official data, please contact the official exchange of that particular market or a recognized distributor.
Commodities • Currencies • Crosses • Crypto • Stock Market • Index Shares • Bonds • Response fields
Commodities
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/commodities?c={your_api_key}'
data = requests.get(url).json()
print(data)
Or using our package:
import tradingeconomics as te
te.login('your_api_key')
te.getMarketsData(marketsField = 'commodities')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/commodities?c=${your_api_key}`)
console.log(response.data)
})()
Or using our package:
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getMarketSnap(marketsField = 'commodities').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/commodities?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.
https://api.tradingeconomics.com/markets/commodities?c={your_api_key}&f=json
[
{
"Symbol": "DCE:COM",
"Ticker": "DCE",
"Name": "Eggs CH",
"Country": "Commodity",
"Date": "2023-09-28T06:59:00",
"State": "OPEN",
"Last": 4411.0,
"Close": 4411.0,
"CloseDate": "2023-09-28T00:00:00",
"Group": "Livestock",
"URL": "/commodity/eggs-ch",
"Importance": 1000,
"DailyChange": -2.0,
"DailyPercentualChange": -0.04,
"WeeklyChange": -193.0,
"WeeklyPercentualChange": -4.19,
"MonthlyChange": -16.0,
"MonthlyPercentualChange": -0.36,
"YearlyChange": -170.0,
"YearlyPercentualChange": -3.71,
"YTDChange": 501.0,
"YTDPercentualChange": 12.81,
"day_high": 4436.0,
"day_low": 4374.0,
"yesterday": 4413.0,
"lastWeek": 4604.0,
"lastMonth": 4427.0,
"lastYear": 4581.0,
"startYear": 3910.0,
"decimals": 2.0,
"unit": "CNY/T",
"frequency": "Daily",
"StartDate": "2013-11-08T00:00:00",
"LastUpdate": "2023-09-29T20:32:00"
},
{
"Symbol": "EECXM:IND",
"Ticker": "EECXM",
"Name": "EU Carbon Permits",
"Country": "commodity",
"Date": "2023-09-29T15:59:45",
"State": "OPEN",
"Last": 85.81,
"Close": 85.81,
"CloseDate": "2023-09-29T00:00:00",
"Group": "Index",
"URL": "/commodity/carbon",
"Importance": 1000,
"DailyChange": -1.05,
"DailyPercentualChange": -1.2,
"WeeklyChange": -3.91,
"WeeklyPercentualChange": -4.35,
"MonthlyChange": -4.72,
"MonthlyPercentualChange": -5.21,
"YearlyChange": 19.08,
"YearlyPercentualChange": 28.59,
"YTDChange": -2.19,
"YTDPercentualChange": -2.48,
"day_high": 87.25,
"day_low": 85.56,
"yesterday": 86.86,
"lastWeek": 89.72,
"lastMonth": 90.53,
"lastYear": 66.73,
"startYear": 88.0,
"decimals": 2.0,
"unit": "EUR",
"frequency": "Delayed",
"StartDate": "2005-04-22T00:00:00",
"LastUpdate": "2023-09-29T20:32:00"
},
{
"Symbol": "C 1:COM",
"Ticker": "C A",
"Name": "Corn",
"Country": "commodity",
"Date": "2023-09-29T21:31:00.753",
"State": "OPEN",
"Last": 475.85,
"Close": 475.85,
"CloseDate": "2023-09-29T00:00:00",
"Group": "Agricultural",
"URL": "/commodity/corn",
"Importance": 1001,
"DailyChange": -12.64,
"DailyPercentualChange": -2.58,
"WeeklyChange": -1.39,
"WeeklyPercentualChange": -0.29,
"MonthlyChange": -4.89,
"MonthlyPercentualChange": -1.01,
"YearlyChange": -201.64,
"YearlyPercentualChange": -29.76,
"YTDChange": -202.64,
"YTDPercentualChange": -29.86,
"day_high": 489.88,
"day_low": 475.14,
"yesterday": 488.5,
"lastWeek": 477.25,
"lastMonth": 480.75,
"lastYear": 677.5,
"startYear": 678.5,
"decimals": 4.0,
"unit": "USd/BU",
"frequency": "Live",
"StartDate": "1912-05-01T00:00:00",
"LastUpdate": "2023-09-29T22:43:00"
}
]
https://api.tradingeconomics.com/markets/commodities?c={your_api_key}&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
DCE:COM,DCE,Eggs CH,Commodity,9/28/2023 6:59:00 AM,OPEN,4411.00,4411.00,9/28/2023 12:00:00 AM,Livestock,/commodity/eggs-ch,1000,-2.00,-0.04,-193.00,-4.19,-16.00,-0.36,-170.00,-3.71,501.00,12.81,4436.00,4374.00,4413.00,4604.00,4427.00,4581.00,3910.00,2,CNY/T,Daily,11/8/2013 12:00:00 AM,9/29/2023 8:32:00 PM
EECXM:IND,EECXM,EU Carbon Permits,commodity,9/29/2023 3:59:45 PM,OPEN,85.81,85.81,9/29/2023 12:00:00 AM,Index,/commodity/carbon,1000,-1.05,-1.20,-3.91,-4.35,-4.72,-5.21,19.08,28.59,-2.19,-2.48,87.25,85.56,86.86,89.72,90.53,66.73,88.00,2,EUR,Delayed,4/22/2005 12:00:00 AM,9/29/2023 8:32:00 PM
C 1:COM,C A,Corn,commodity,9/29/2023 9:31:00 PM,OPEN,475.85,475.85,9/29/2023 12:00:00 AM,Agricultural,/commodity/corn,1001,-12.64,-2.58,-1.39,-0.29,-4.89,-1.01,-201.64,-29.76,-202.64,-29.86,489.88,475.14,488.50,477.25,480.75,677.50,678.50,4,USd/BU,Live,5/1/1912 12:00:00 AM,9/29/2023 10:43:00 PM
https://api.tradingeconomics.com/markets/commodities?c={your_api_key}&f=xml
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>4411.00</Close>
<CloseDate>2023-09-28T00:00:00</CloseDate>
<Country>Commodity</Country>
<DailyChange>-2.00</DailyChange>
<DailyPercentualChange>-0.04</DailyPercentualChange>
<Date>2023-09-28T06:59:00</Date>
<Group>Livestock</Group>
<Importance>1000</Importance>
<Last>4411.00</Last>
<LastUpdate>2023-09-29T20:32:00</LastUpdate>
<MonthlyChange>-16.00</MonthlyChange>
<MonthlyPercentualChange>-0.36</MonthlyPercentualChange>
<Name>Eggs CH</Name>
<StartDate>2013-11-08T00:00:00</StartDate>
<State>OPEN</State>
<Symbol>DCE:COM</Symbol>
<Ticker>DCE</Ticker>
<URL>/commodity/eggs-ch</URL>
<WeeklyChange>-193.00</WeeklyChange>
<WeeklyPercentualChange>-4.19</WeeklyPercentualChange>
<YTDChange>501.00</YTDChange>
<YTDPercentualChange>12.81</YTDPercentualChange>
<YearlyChange>-170.00</YearlyChange>
<YearlyPercentualChange>-3.71</YearlyPercentualChange>
<day_high>4436.00</day_high>
<day_low>4374.00</day_low>
<decimals>2</decimals>
<frequency>Daily</frequency>
<lastMonth>4427.00</lastMonth>
<lastWeek>4604.00</lastWeek>
<lastYear>4581.00</lastYear>
<startYear>3910.00</startYear>
<unit>CNY/T</unit>
<yesterday>4413.00</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>85.81</Close>
<CloseDate>2023-09-29T00:00:00</CloseDate>
<Country>commodity</Country>
<DailyChange>-1.05</DailyChange>
<DailyPercentualChange>-1.20</DailyPercentualChange>
<Date>2023-09-29T15:59:45</Date>
<Group>Index</Group>
<Importance>1000</Importance>
<Last>85.81</Last>
<LastUpdate>2023-09-29T20:32:00</LastUpdate>
<MonthlyChange>-4.72</MonthlyChange>
<MonthlyPercentualChange>-5.21</MonthlyPercentualChange>
<Name>EU Carbon Permits</Name>
<StartDate>2005-04-22T00:00:00</StartDate>
<State>OPEN</State>
<Symbol>EECXM:IND</Symbol>
<Ticker>EECXM</Ticker>
<URL>/commodity/carbon</URL>
<WeeklyChange>-3.91</WeeklyChange>
<WeeklyPercentualChange>-4.35</WeeklyPercentualChange>
<YTDChange>-2.19</YTDChange>
<YTDPercentualChange>-2.48</YTDPercentualChange>
<YearlyChange>19.08</YearlyChange>
<YearlyPercentualChange>28.59</YearlyPercentualChange>
<day_high>87.25</day_high>
<day_low>85.56</day_low>
<decimals>2</decimals>
<frequency>Delayed</frequency>
<lastMonth>90.53</lastMonth>
<lastWeek>89.72</lastWeek>
<lastYear>66.73</lastYear>
<startYear>88.00</startYear>
<unit>EUR</unit>
<yesterday>86.86</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>475.85</Close>
<CloseDate>2023-09-29T00:00:00</CloseDate>
<Country>commodity</Country>
<DailyChange>-12.64</DailyChange>
<DailyPercentualChange>-2.58</DailyPercentualChange>
<Date>2023-09-29T21:31:00.753</Date>
<Group>Agricultural</Group>
<Importance>1001</Importance>
<Last>475.85</Last>
<LastUpdate>2023-09-29T22:43:00</LastUpdate>
<MonthlyChange>-4.89</MonthlyChange>
<MonthlyPercentualChange>-1.01</MonthlyPercentualChange>
<Name>Corn</Name>
<StartDate>1912-05-01T00:00:00</StartDate>
<State>OPEN</State>
<Symbol>C 1:COM</Symbol>
<Ticker>C A</Ticker>
<URL>/commodity/corn</URL>
<WeeklyChange>-1.39</WeeklyChange>
<WeeklyPercentualChange>-0.29</WeeklyPercentualChange>
<YTDChange>-202.64</YTDChange>
<YTDPercentualChange>-29.86</YTDPercentualChange>
<YearlyChange>-201.64</YearlyChange>
<YearlyPercentualChange>-29.76</YearlyPercentualChange>
<day_high>489.88</day_high>
<day_low>475.14</day_low>
<decimals>4</decimals>
<frequency>Live</frequency>
<lastMonth>480.75</lastMonth>
<lastWeek>477.25</lastWeek>
<lastYear>677.50</lastYear>
<startYear>678.50</startYear>
<unit>USd/BU</unit>
<yesterday>488.50</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/commodities?c={your_api_key}
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DCE:COM | DCE | Eggs CH | Commodity | 7/12/2023 5:47:00 AM | OPEN | 3933.00 | 3933.00 | 7/12/2023 12:00:00 AM | Livestock | /commodity/eggs-ch | 1000 | 17.00 | 0.43 | 41.00 | 1.05 | 21.00 | 0.53 | -683.00 | -14.79 | 23.00 | 0.58 | 3943.00 | 3920.00 | 3916.00 | 3892.00 | 3912.00 | 4616.00 | 3910.00 | 2 | CNY/T | Daily | 11/8/2013 12:00:00 AM | 7/12/2023 10:38:00 AM |
| EECXM:IND | EECXM EU | Carbon Permits | commodity | 7/12/2023 10:49:45 AM | OPEN | 92.08 | 92.08 | 7/12/2023 10:50:00 AM | Index | /commodity/carbon | 1000 | 0.82 | 0.90 | 1.70 | 1.88 | -2.09 | -2.21 | 8.22 | 9.80 | 4.08 | 4.63 | 92.87 | 91.31 | 91.26 | 90.38 | 94.17 | 83.86 | 88.00 | 2 | EUR | Delayed | 4/22/2005 12:00:00 AM | 7/12/2023 11:00:00 AM |
| C 1:COM | C A | Corn | commodity | 7/12/2023 11:13:56 AM | OPEN | 574.74 | 574.74 | 7/12/2023 11:14:00 AM | Agricultural | /commodity/corn | 1001 | 2.99 | 0.52 | 26.49 | 4.83 | -37.75 | -6.16 | -25.25 | -4.20 | -103.75 | -15.29 | 577.50 | 566.72 | 571.75 | 548.25 | 612.50 | 600.00 | 678.50 | 4 | USd/BU | Live | 5/1/1912 12:00:00 AM | 7/12/2023 11:14:00 AM |
Currencies
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/currency?c={your_api_key}'
data = requests.get(url).json()
print(data)
Or using our package:
te.getMarketsData(marketsField = 'currency')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/currency?c=${your_api_key}`)
console.log(response.data)
})()
Or using our package:
data = te.getMarketSnap(marketsField = 'currency').then(function(data){
console.log(data)
});
Using Requests:
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/currency?c=your_api_key");
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&f=json
[
{
"Symbol": "DAIUSD:CUR",
"Ticker": "DAI",
"Name": "Dai",
"Country": "other",
"Date": "2023-10-10T16:46:39.427",
"State": "OPEN",
"Last": 0.99,
"Close": 0.99,
"CloseDate": "2023-10-10T16:47:00",
"Group": "crypto stable",
"URL": "/daiusd:cur",
"Importance": 215,
"DailyChange": 0.0,
"DailyPercentualChange": 0.0,
"WeeklyChange": -0.0,
"WeeklyPercentualChange": -0.01,
"MonthlyChange": -0.0,
"MonthlyPercentualChange": -0.0,
"YearlyChange": 0.0,
"YearlyPercentualChange": -0.0,
"YTDChange": 0.0,
"YTDPercentualChange": 0.0,
"day_high": 0.99,
"day_low": 0.99,
"yesterday": 0.99,
"lastWeek": 1.0,
"lastMonth": 1.0,
"lastYear": 1.0,
"startYear": 0.99,
"decimals": 5.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:47:00"
},
{
"Symbol": "USTUSD:CUR",
"Ticker": "USDT",
"Name": "Tether",
"Country": "other",
"Date": "2023-10-10T16:53:53.117",
"State": "OPEN",
"Last": 1.0,
"Close": 1.0,
"CloseDate": "2023-10-10T16:54:00",
"Group": "crypto stable",
"URL": "/ustusd:cur",
"Importance": 224,
"DailyChange": 0.0,
"DailyPercentualChange": 0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": 0.0108,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": 0.04,
"YearlyChange": 0.0,
"YearlyPercentualChange": 0.03,
"YTDChange": 0.0,
"YTDPercentualChange": 0.07,
"day_high": 1.0,
"day_low": 0.99,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 0.99,
"lastYear": 0.99,
"startYear": 0.99,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:54:00"
},
{
"Symbol": "USCUSD:CUR",
"Ticker": "USDC",
"Name": "USD Coin",
"Country": "other",
"Date": "2023-10-10T16:41:51.673",
"State": "OPEN",
"Last": 0.99,
"Close": 0.99,
"CloseDate": "2023-10-10T16:42:00",
"Group": "crypto stable",
"URL": "/uscusd:cur",
"Importance": 225,
"DailyChange": -0.0,
"DailyPercentualChange": -0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": -0.0,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": -0.0,
"YearlyChange": -0.0,
"YearlyPercentualChange": -0.007,
"YTDChange": 0.0,
"YTDPercentualChange": -0.0,
"day_high": 1.0,
"day_low": 0.97,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 1.0,
"lastYear": 1.0,
"startYear": 1.0,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:42:00"
}
]
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
DAIUSD:CUR,DAI,Dai,other,10/10/2023 4:46:39 PM,OPEN,0.99,0.99,10/10/2023 4:47:00 PM,crypto stable,/daiusd:cur,215,0.00,0.00,-0.00,-0.01,-0.00,-0.00,0.00,-0.00,0.00,0.00,0.99,0.99,0.99,1.00,1.00,1.00,0.99,5,,Live,,10/10/2023 4:47:00 PM
USTUSD:CUR,USDT,Tether,other,10/10/2023 4:53:53 PM,OPEN,1.00,1.00,10/10/2023 4:54:00 PM,crypto stable,/ustusd:cur,224,0.00,0.01,0.00,0.0108,0.00,0.04,0.00,0.03,0.00,0.07,1.00,0.99,1.00,1.00,0.99,0.99,0.99,2,,Live,,10/10/2023 4:54:00 PM
USCUSD:CUR,USDC,USD Coin,other,10/10/2023 4:41:51 PM,OPEN,0.99,0.99,10/10/2023 4:42:00 PM,crypto stable,/uscusd:cur,225,-0.00,-0.01,0.00,-0.00,0.00,-0.00,-0.00,-0.0070,0.00,-0.00,1.00,0.97,1.00,1.00,1.00,1.00,1.00,2,,Live,,10/10/2023 4:42:00 PM
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&f=xml
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>0.99</Close>
<CloseDate>2023-10-10T16:47:00</CloseDate>
<Country>other</Country>
<DailyChange>0.00</DailyChange>
<DailyPercentualChange>0.00</DailyPercentualChange>
<Date>2023-10-10T16:46:39.427</Date>
<Group>crypto stable</Group>
<Importance>215</Importance>
<Last>0.99</Last>
<LastUpdate>2023-10-10T16:47:00</LastUpdate>
<MonthlyChange>-0.00</MonthlyChange>
<MonthlyPercentualChange>-0.00</MonthlyPercentualChange>
<Name>Dai</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>DAIUSD:CUR</Symbol>
<Ticker>DAI</Ticker>
<URL>/daiusd:cur</URL>
<WeeklyChange>-0.00</WeeklyChange>
<WeeklyPercentualChange>-0.01</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>0.00</YTDPercentualChange>
<YearlyChange>0.00</YearlyChange>
<YearlyPercentualChange>-0.00</YearlyPercentualChange>
<day_high>0.99</day_high>
<day_low>0.99</day_low>
<decimals>5</decimals>
<frequency>Live</frequency>
<lastMonth>1.00</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>1.00</lastYear>
<startYear>0.99</startYear>
<unit/>
<yesterday>0.99</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>1.00</Close>
<CloseDate>2023-10-10T16:54:00</CloseDate>
<Country>other</Country>
<DailyChange>0.00</DailyChange>
<DailyPercentualChange>0.01</DailyPercentualChange>
<Date>2023-10-10T16:53:53.117</Date>
<Group>crypto stable</Group>
<Importance>224</Importance>
<Last>1.00</Last>
<LastUpdate>2023-10-10T16:54:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>0.04</MonthlyPercentualChange>
<Name>Tether</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USTUSD:CUR</Symbol>
<Ticker>USDT</Ticker>
<URL>/ustusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>0.0108</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>0.07</YTDPercentualChange>
<YearlyChange>0.00</YearlyChange>
<YearlyPercentualChange>0.03</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.99</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>0.99</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>0.99</lastYear>
<startYear>0.99</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>0.99</Close>
<CloseDate>2023-10-10T16:42:00</CloseDate>
<Country>other</Country>
<DailyChange>-0.00</DailyChange>
<DailyPercentualChange>-0.01</DailyPercentualChange>
<Date>2023-10-10T16:41:51.673</Date>
<Group>crypto stable</Group>
<Importance>225</Importance>
<Last>0.99</Last>
<LastUpdate>2023-10-10T16:42:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>-0.00</MonthlyPercentualChange>
<Name>USD Coin</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USCUSD:CUR</Symbol>
<Ticker>USDC</Ticker>
<URL>/uscusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>-0.00</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>-0.00</YTDPercentualChange>
<YearlyChange>-0.00</YearlyChange>
<YearlyPercentualChange>-0.0070</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.97</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>1.00</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>1.00</lastYear>
<startYear>1.00</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/currency?c={your_api_key}
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DAIUSD:CUR | DAI | Dai | other | 7/12/2023 8:35:21 AM | OPEN | 1.00 | 1.00 | 7/12/2023 8:35:00 AM | crypto stable | /daiusd:cur | 215 | 0.00 | 0.00 | 0.00 | 0.04 | 0.00 | 0.00 | 0.00 | 0.01 | 0.00 | 0.01 | 1.00 | 0.99 | 0.99 | 0.99 | 1.00 | 0.99 | 0.99 | 5 | Live | 7/12/2023 8:35:00 AM | ||
| USTUSD:CUR | USDT | Tether | other | 7/12/2023 8:52:09 AM | OPEN | 0.99 | 0.99 | 7/12/2023 8:52:00 AM | crypto stable | /ustusd:cur | 224 | -0.00 | -0.01 | 0.00 | 0.02 | 0.00 | 0.00 | 0.00 | 0.07 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 0.99 | 0.99 | 0.99 | 0.99 | 2 | Live | 7/12/2023 8:52:00 AM | ||
| USCUSD:CUR | USDC | USD Coin | other | 7/12/2023 11:22:19 AM | OPEN | 1.00 | 1.00 | 7/12/2023 11:22:00 AM | crypto stable | /uscusd:cur | 225 | -0.00 | -0.01 | 0.00 | 0.00 | 0.00 | -0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 2 | Live | 7/12/2023 11:22:00 AM |
Crosses
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/currency?c={your_api_key}&cross=EUR'
data = requests.get(url).json()
print(data)
Or using our package:
te.getCurrencyCross(cross = 'EUR')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/currency?c=${your_api_key}&cross=EUR`)
console.log(response.data)
})()
Or using our package:
data = te.getMarketSnap(cross = 'eur').then(function(data){
console.log(data)
});
Using Requests:
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/currency?c=your_api_key&cross=EUR");
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&cross=eur&f=json
[
{
"Symbol": "DAIUSD:CUR",
"Ticker": "DAI",
"Name": "Dai",
"Country": "other",
"Date": "2023-10-10T16:46:39.427",
"State": "OPEN",
"Last": 0.99,
"Close": 0.99,
"CloseDate": "2023-10-10T16:47:00",
"Group": "crypto stable",
"URL": "/daiusd:cur",
"Importance": 215,
"DailyChange": 0.0,
"DailyPercentualChange": 0.0,
"WeeklyChange": -0.0,
"WeeklyPercentualChange": -0.01,
"MonthlyChange": -0.0,
"MonthlyPercentualChange": -0.0,
"YearlyChange": 0.0,
"YearlyPercentualChange": -0.0,
"YTDChange": 0.0,
"YTDPercentualChange": 0.0,
"day_high": 0.99,
"day_low": 0.99,
"yesterday": 0.99,
"lastWeek": 1.0,
"lastMonth": 1.0,
"lastYear": 1.0,
"startYear": 0.99,
"decimals": 5.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:47:00"
},
{
"Symbol": "USTUSD:CUR",
"Ticker": "USDT",
"Name": "Tether",
"Country": "other",
"Date": "2023-10-10T16:58:16.937",
"State": "OPEN",
"Last": 1.0,
"Close": 1.0,
"CloseDate": "2023-10-10T16:58:00",
"Group": "crypto stable",
"URL": "/ustusd:cur",
"Importance": 224,
"DailyChange": 0.0,
"DailyPercentualChange": 0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": 0.009,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": 0.04,
"YearlyChange": 0.0,
"YearlyPercentualChange": 0.03,
"YTDChange": 0.0,
"YTDPercentualChange": 0.07,
"day_high": 1.0,
"day_low": 0.99,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 0.99,
"lastYear": 0.99,
"startYear": 0.99,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:58:00"
},
{
"Symbol": "USCUSD:CUR",
"Ticker": "USDC",
"Name": "USD Coin",
"Country": "other",
"Date": "2023-10-10T16:41:51.673",
"State": "OPEN",
"Last": 0.99,
"Close": 0.99,
"CloseDate": "2023-10-10T16:42:00",
"Group": "crypto stable",
"URL": "/uscusd:cur",
"Importance": 225,
"DailyChange": -0.0,
"DailyPercentualChange": -0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": -0.0,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": -0.0,
"YearlyChange": -0.0,
"YearlyPercentualChange": -0.007,
"YTDChange": 0.0,
"YTDPercentualChange": -0.0,
"day_high": 1.0,
"day_low": 0.97,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 1.0,
"lastYear": 1.0,
"startYear": 1.0,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:42:00"
}
]
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&cross=eur&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
DAIUSD:CUR,DAI,Dai,other,10/10/2023 4:46:39 PM,OPEN,0.99,0.99,10/10/2023 4:47:00 PM,crypto stable,/daiusd:cur,215,0.00,0.00,-0.00,-0.01,-0.00,-0.00,0.00,-0.00,0.00,0.00,0.99,0.99,0.99,1.00,1.00,1.00,0.99,5,,Live,,10/10/2023 4:47:00 PM
USTUSD:CUR,USDT,Tether,other,10/10/2023 5:00:26 PM,OPEN,1.00,1.00,10/10/2023 5:00:00 PM,crypto stable,/ustusd:cur,224,0.00,0.01,0.00,0.0136,0.00,0.0476,0.00,0.0366,0.0008,0.0766,1.00,0.99,1.00,1.00,0.99,0.99,0.99,2,,Live,,10/10/2023 5:00:00 PM
USCUSD:CUR,USDC,USD Coin,other,10/10/2023 4:41:51 PM,OPEN,0.99,0.99,10/10/2023 4:42:00 PM,crypto stable,/uscusd:cur,225,-0.00,-0.01,0.00,-0.00,0.00,-0.00,-0.00,-0.0070,0.00,-0.00,1.00,0.97,1.00,1.00,1.00,1.00,1.00,2,,Live,,10/10/2023 4:42:00 PM
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&cross=eur&f=xml
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>0.99</Close>
<CloseDate>2023-10-10T16:47:00</CloseDate>
<Country>other</Country>
<DailyChange>0.00</DailyChange>
<DailyPercentualChange>0.00</DailyPercentualChange>
<Date>2023-10-10T16:46:39.427</Date>
<Group>crypto stable</Group>
<Importance>215</Importance>
<Last>0.99</Last>
<LastUpdate>2023-10-10T16:47:00</LastUpdate>
<MonthlyChange>-0.00</MonthlyChange>
<MonthlyPercentualChange>-0.00</MonthlyPercentualChange>
<Name>Dai</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>DAIUSD:CUR</Symbol>
<Ticker>DAI</Ticker>
<URL>/daiusd:cur</URL>
<WeeklyChange>-0.00</WeeklyChange>
<WeeklyPercentualChange>-0.01</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>0.00</YTDPercentualChange>
<YearlyChange>0.00</YearlyChange>
<YearlyPercentualChange>-0.00</YearlyPercentualChange>
<day_high>0.99</day_high>
<day_low>0.99</day_low>
<decimals>5</decimals>
<frequency>Live</frequency>
<lastMonth>1.00</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>1.00</lastYear>
<startYear>0.99</startYear>
<unit/>
<yesterday>0.99</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>1.00</Close>
<CloseDate>2023-10-10T16:58:00</CloseDate>
<Country>other</Country>
<DailyChange>0.00</DailyChange>
<DailyPercentualChange>0.01</DailyPercentualChange>
<Date>2023-10-10T16:58:16.937</Date>
<Group>crypto stable</Group>
<Importance>224</Importance>
<Last>1.00</Last>
<LastUpdate>2023-10-10T16:58:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>0.04</MonthlyPercentualChange>
<Name>Tether</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USTUSD:CUR</Symbol>
<Ticker>USDT</Ticker>
<URL>/ustusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>0.0090</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>0.07</YTDPercentualChange>
<YearlyChange>0.00</YearlyChange>
<YearlyPercentualChange>0.03</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.99</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>0.99</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>0.99</lastYear>
<startYear>0.99</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>0.99</Close>
<CloseDate>2023-10-10T16:42:00</CloseDate>
<Country>other</Country>
<DailyChange>-0.00</DailyChange>
<DailyPercentualChange>-0.01</DailyPercentualChange>
<Date>2023-10-10T16:41:51.673</Date>
<Group>crypto stable</Group>
<Importance>225</Importance>
<Last>0.99</Last>
<LastUpdate>2023-10-10T16:42:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>-0.00</MonthlyPercentualChange>
<Name>USD Coin</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USCUSD:CUR</Symbol>
<Ticker>USDC</Ticker>
<URL>/uscusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>-0.00</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>-0.00</YTDPercentualChange>
<YearlyChange>-0.00</YearlyChange>
<YearlyPercentualChange>-0.0070</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.97</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>1.00</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>1.00</lastYear>
<startYear>1.00</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/currency?c={your_api_key}&cross=eur
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| DAIUSD:CUR | DAI | Dai | other | 7/12/2023 8:35:21 AM | OPEN | 1.00 | 1.00 | 7/12/2023 8:35:00 AM | crypto stable | /daiusd:cur | 215 | 0.00 | 0.00 | 0.00 | 0.04 | 0.00 | 0.00 | 0.00 | 0.01 | 0.00 | 0.01 | 1.00 | 0.99 | 0.99 | 0.99 | 1.00 | 0.99 | 0.99 | 5 | Live | 7/12/2023 8:35:00 AM | ||
| USTUSD:CUR | USDT | Tether | other | 7/12/2023 8:52:09 AM | OPEN | 0.99 | 0.99 | 7/12/2023 8:52:00 AM | crypto stable | /ustusd:cur | 224 | -0.00 | -0.01 | 0.00 | 0.02 | 0.00 | 0.00 | 0.00 | 0.07 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 0.99 | 0.99 | 0.99 | 0.99 | 2 | Live | 7/12/2023 8:52:00 AM | ||
| USCUSD:CUR | USDC | USD Coin | other | 7/12/2023 11:22:19 AM | OPEN | 1.00 | 1.00 | 7/12/2023 12:00:00 AM | crypto stable | /uscusd:cur | 225 | -0.00 | -0.00 | 0.00 | 0.00 | -0.00 | -0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 2 | Live | 7/12/2023 11:30:00 AM |
Crypto
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/crypto?c={your_api_key}'
data = requests.get(url).json()
print(data)
Or using our package:
te.getMarketsData(marketsField = 'crypto')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/crypto?c=${your_api_key}`)
console.log(response.data)
})()
Or using our package:
data = te.getMarketSnap(marketsField = 'crypto').then(function(data){
console.log(data)
});
Using Requests:
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/crypto?c=your_api_key");
https://api.tradingeconomics.com/markets/crypto?c={your_api_key}&f=json
[
{
"Symbol": "LNKUSD:CUR",
"Ticker": "LINK",
"Name": "Chainlink",
"Country": "other",
"Date": "2023-10-10T17:23:06.597",
"State": "OPEN",
"Last": 7.22,
"Close": 7.22,
"CloseDate": "2023-10-10T17:23:00",
"Group": "crypto",
"URL": "/lnkusd:cur",
"Importance": 223,
"DailyChange": -0.0613,
"DailyPercentualChange": -0.84,
"WeeklyChange": -0.204,
"WeeklyPercentualChange": -2.7472,
"MonthlyChange": 1.4005,
"MonthlyPercentualChange": 24.0626,
"YearlyChange": 0.1,
"YearlyPercentualChange": 1.46,
"YTDChange": 1.65,
"YTDPercentualChange": 29.68,
"day_high": 7.67,
"day_low": 7.2,
"yesterday": 7.28,
"lastWeek": 7.42,
"lastMonth": 5.82,
"lastYear": 7.11,
"startYear": 5.56,
"decimals": 4.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T17:23:00"
},
{
"Symbol": "USTUSD:CUR",
"Ticker": "USDT",
"Name": "Tether",
"Country": "other",
"Date": "2023-10-10T17:26:27.02",
"State": "OPEN",
"Last": 1.0,
"Close": 1.0,
"CloseDate": "2023-10-10T17:26:00",
"Group": "crypto stable",
"URL": "/ustusd:cur",
"Importance": 224,
"DailyChange": 0.0,
"DailyPercentualChange": 0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": 0.0073,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": 0.0413,
"YearlyChange": 0.0,
"YearlyPercentualChange": 0.0303,
"YTDChange": 0.0,
"YTDPercentualChange": 0.0704,
"day_high": 1.0,
"day_low": 0.99,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 0.99,
"lastYear": 0.99,
"startYear": 0.99,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T17:26:00"
},
{
"Symbol": "USCUSD:CUR",
"Ticker": "USDC",
"Name": "USD Coin",
"Country": "other",
"Date": "2023-10-10T16:41:51.673",
"State": "OPEN",
"Last": 0.99,
"Close": 0.99,
"CloseDate": "2023-10-10T16:42:00",
"Group": "crypto stable",
"URL": "/uscusd:cur",
"Importance": 225,
"DailyChange": -0.0,
"DailyPercentualChange": -0.01,
"WeeklyChange": 0.0,
"WeeklyPercentualChange": -0.0,
"MonthlyChange": 0.0,
"MonthlyPercentualChange": -0.0,
"YearlyChange": -0.0,
"YearlyPercentualChange": -0.007,
"YTDChange": 0.0,
"YTDPercentualChange": -0.0,
"day_high": 1.0,
"day_low": 0.97,
"yesterday": 1.0,
"lastWeek": 1.0,
"lastMonth": 1.0,
"lastYear": 1.0,
"startYear": 1.0,
"decimals": 2.0,
"unit": "",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T16:42:00"
}
]
https://api.tradingeconomics.com/markets/crypto?c={your_api_key}&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
LNKUSD:CUR,LINK,Chainlink,other,10/10/2023 5:23:06 PM,OPEN,7.22,7.22,10/10/2023 5:23:00 PM,crypto,/lnkusd:cur,223,-0.0613,-0.8400,-0.204,-2.7472,1.4005,24.0626,0.10,1.46,1.65,29.68,7.67,7.20,7.28,7.42,5.82,7.11,5.56,4,,Live,,10/10/2023 5:23:00 PM
USTUSD:CUR,USDT,Tether,other,10/10/2023 5:27:28 PM,OPEN,1.00,1.00,10/10/2023 5:27:00 PM,crypto stable,/ustusd:cur,224,0.00,0.01,0.00,0.0090,0.00,0.04,0.00,0.03,0.00,0.0721,1.00,0.99,1.00,1.00,0.99,0.99,0.99,2,,Live,,10/10/2023 5:27:00 PM
USCUSD:CUR,USDC,USD Coin,other,10/10/2023 4:41:51 PM,OPEN,0.99,0.99,10/10/2023 4:42:00 PM,crypto stable,/uscusd:cur,225,-0.00,-0.01,0.00,-0.00,0.00,-0.00,-0.00,-0.0070,0.00,-0.00,1.00,0.97,1.00,1.00,1.00,1.00,1.00,2,,Live,,10/10/2023 4:42:00 PM
https://api.tradingeconomics.com/markets/crypto?c={your_api_key}&f=xml
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>7.22</Close>
<CloseDate>2023-10-10T17:23:00</CloseDate>
<Country>other</Country>
<DailyChange>-0.0613</DailyChange>
<DailyPercentualChange>-0.8400</DailyPercentualChange>
<Date>2023-10-10T17:23:06.597</Date>
<Group>crypto</Group>
<Importance>223</Importance>
<Last>7.22</Last>
<LastUpdate>2023-10-10T17:23:00</LastUpdate>
<MonthlyChange>1.4005</MonthlyChange>
<MonthlyPercentualChange>24.0626</MonthlyPercentualChange>
<Name>Chainlink</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>LNKUSD:CUR</Symbol>
<Ticker>LINK</Ticker>
<URL>/lnkusd:cur</URL>
<WeeklyChange>-0.204</WeeklyChange>
<WeeklyPercentualChange>-2.7472</WeeklyPercentualChange>
<YTDChange>1.65</YTDChange>
<YTDPercentualChange>29.68</YTDPercentualChange>
<YearlyChange>0.10</YearlyChange>
<YearlyPercentualChange>1.46</YearlyPercentualChange>
<day_high>7.67</day_high>
<day_low>7.20</day_low>
<decimals>4</decimals>
<frequency>Live</frequency>
<lastMonth>5.82</lastMonth>
<lastWeek>7.42</lastWeek>
<lastYear>7.11</lastYear>
<startYear>5.56</startYear>
<unit/>
<yesterday>7.28</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>1.00</Close>
<CloseDate>2023-10-10T17:26:00</CloseDate>
<Country>other</Country>
<DailyChange>0.00</DailyChange>
<DailyPercentualChange>0.01</DailyPercentualChange>
<Date>2023-10-10T17:26:27.02</Date>
<Group>crypto stable</Group>
<Importance>224</Importance>
<Last>1.00</Last>
<LastUpdate>2023-10-10T17:26:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>0.0413</MonthlyPercentualChange>
<Name>Tether</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USTUSD:CUR</Symbol>
<Ticker>USDT</Ticker>
<URL>/ustusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>0.0073</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>0.0704</YTDPercentualChange>
<YearlyChange>0.00</YearlyChange>
<YearlyPercentualChange>0.0303</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.99</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>0.99</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>0.99</lastYear>
<startYear>0.99</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>0.99</Close>
<CloseDate>2023-10-10T16:42:00</CloseDate>
<Country>other</Country>
<DailyChange>-0.00</DailyChange>
<DailyPercentualChange>-0.01</DailyPercentualChange>
<Date>2023-10-10T16:41:51.673</Date>
<Group>crypto stable</Group>
<Importance>225</Importance>
<Last>0.99</Last>
<LastUpdate>2023-10-10T16:42:00</LastUpdate>
<MonthlyChange>0.00</MonthlyChange>
<MonthlyPercentualChange>-0.00</MonthlyPercentualChange>
<Name>USD Coin</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>USCUSD:CUR</Symbol>
<Ticker>USDC</Ticker>
<URL>/uscusd:cur</URL>
<WeeklyChange>0.00</WeeklyChange>
<WeeklyPercentualChange>-0.00</WeeklyPercentualChange>
<YTDChange>0.00</YTDChange>
<YTDPercentualChange>-0.00</YTDPercentualChange>
<YearlyChange>-0.00</YearlyChange>
<YearlyPercentualChange>-0.0070</YearlyPercentualChange>
<day_high>1.00</day_high>
<day_low>0.97</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>1.00</lastMonth>
<lastWeek>1.00</lastWeek>
<lastYear>1.00</lastYear>
<startYear>1.00</startYear>
<unit/>
<yesterday>1.00</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/crypto?c={your_api_key}
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| LNKUSD:CUR | LINK | Chainlink | other | 7/12/2023 8:41:33 AM | OPEN | 6.00 | 6.00 | 7/12/2023 8:42:00 AM | crypto | /lnkusd:cur | 223 | 0.05 | 0.88 | -0.05 | -0.9 | 0.97 | 18.35 | 0.09 | 1.54 | 0.69 | 12.52 | 6.27 | 6.16 | 6.21 | 6.32 | 5.29 | 6.17 | 5.56 | 4 | Live | 7/12/2023 8:42:00 AM | ||
| USTUSD:CUR | USDT | Tether | other | 7/12/2023 8:52:09 AM | OPEN | 0.99 | 0.99 | 7/12/2023 8:52:00 AM | crypto stable | /ustusd:cur | 224 | -0.00 | -0.01 | 0.00 | 0.02 | 0.00 | 0.00 | 0.00 | 0.07 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 0.99 | 0.99 | 0.99 | 0.99 | 2 | Live | 7/12/2023 8:52:00 AM | ||
| USCUSD:CUR | USDC | USD Coin | other | 7/12/2023 11:22:19 AM | OPEN | 1.00 | 1.00 | 7/12/2023 12:00:00 AM | crypto stable | /uscusd:cur | 225 | -0.00 | -0.00 | 0.00 | 0.00 | -0.00 | -0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 1.00 | 0.99 | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | 2 | Live | 7/12/2023 11:30:00 AM |
Stock Market
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/index?c={your_api_key}'
data = requests.get(url).json()
print(data)
Or using our package:
te.getMarketsData(marketsField = 'index')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/index?c=${your_api_key}`)
console.log(response.data)
})()
Or using our package:
data = te.getMarketSnap(marketsField = 'index').then(function(data){
console.log(data)
});
Using Requests:
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/index?c=your_api_key");
https://api.tradingeconomics.com/markets/index?c={your_api_key}&f=json
[
{
"Symbol": "BKA:IND",
"Ticker": "KuwwaitStoarket",
"Name": "Kuwait All Share",
"Country": "Kuwait",
"Date": "2023-10-10T09:38:27",
"State": "CLOSED",
"Last": 6651.46,
"Close": 6651.46,
"CloseDate": "2023-10-10T00:00:00",
"Group": "Asia",
"URL": "/kuwait/stock-market",
"Importance": 1000,
"DailyChange": 22.03,
"DailyPercentualChange": 0.3323,
"WeeklyChange": -207.4,
"WeeklyPercentualChange": -3.0238,
"MonthlyChange": -364.06,
"MonthlyPercentualChange": -5.1894,
"YearlyChange": -394.02,
"YearlyPercentualChange": -5.5925,
"YTDChange": -640.66,
"YTDPercentualChange": -8.7856,
"day_high": 6699.4,
"day_low": 6647.13,
"yesterday": 6629.43,
"lastWeek": 6858.86,
"lastMonth": 7015.52,
"lastYear": 7045.48,
"startYear": 7292.12,
"decimals": 2.0,
"unit": "Index Points",
"frequency": "Delayed",
"StartDate": "2018-04-01T00:00:00",
"LastUpdate": "2023-10-10T16:52:00"
},
{
"Symbol": "BKX:IND",
"Ticker": "BKX",
"Name": "US Bank Index",
"Country": "United States",
"Date": "2023-10-10T17:30:02.453",
"State": "OPEN",
"Last": 39.78,
"Close": 39.78,
"CloseDate": "2023-10-10T00:00:00",
"Group": "America G20 Major",
"URL": "/bkx:ind",
"Importance": 1000,
"DailyChange": 0.8,
"DailyPercentualChange": 2.0523,
"WeeklyChange": 1.5,
"WeeklyPercentualChange": 3.9185,
"MonthlyChange": -1.77,
"MonthlyPercentualChange": -4.2599,
"YearlyChange": -8.85,
"YearlyPercentualChange": -18.1986,
"YTDChange": -11.84,
"YTDPercentualChange": -22.9368,
"day_high": 39.94,
"day_low": 39.33,
"yesterday": 38.98,
"lastWeek": 38.28,
"lastMonth": 41.55,
"lastYear": 48.63,
"startYear": 51.62,
"decimals": 2.0,
"unit": "Index Points",
"frequency": "Live",
"StartDate": null,
"LastUpdate": "2023-10-10T17:31:00"
},
{
"Symbol": "BHSEEI:IND",
"Ticker": "BAHRAINSTOMAR",
"Name": "Estirad",
"Country": "Bahrain",
"Date": "2023-10-10T09:27:00",
"State": "CLOSED",
"Last": 1942.831,
"Close": 1942.831,
"CloseDate": "2023-10-10T00:00:00",
"Group": "Asia",
"URL": "/bahrain/stock-market",
"Importance": 1010,
"DailyChange": 1.39,
"DailyPercentualChange": 0.0716,
"WeeklyChange": 7.699,
"WeeklyPercentualChange": 0.3979,
"MonthlyChange": 3.806,
"MonthlyPercentualChange": 0.1963,
"YearlyChange": 64.323,
"YearlyPercentualChange": 3.4242,
"YTDChange": 47.564,
"YTDPercentualChange": 2.5096,
"day_high": 1942.831,
"day_low": 1940.939,
"yesterday": 1941.441,
"lastWeek": 1935.132,
"lastMonth": 1939.025,
"lastYear": 1878.508,
"startYear": 1895.26,
"decimals": 2.0,
"unit": "Index Points",
"frequency": "Delayed",
"StartDate": "2015-08-31T00:00:00",
"LastUpdate": "2023-10-10T16:52:00"
}
]
https://api.tradingeconomics.com/markets/index?c={your_api_key}&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
BKA:IND,KuwwaitStoarket,Kuwait All Share,Kuwait,10/10/2023 9:38:27 AM,CLOSED,6651.46,6651.46,10/10/2023 12:00:00 AM,Asia,/kuwait/stock-market,1000,22.03,0.3323,-207.40,-3.0238,-364.06,-5.1894,-394.02,-5.5925,-640.66,-8.7856,6699.40,6647.13,6629.43,6858.86,7015.52,7045.48,7292.12,2,Index Points,Delayed,4/1/2018 12:00:00 AM,10/10/2023 4:52:00 PM
BKX:IND,BKX,US Bank Index,United States,10/10/2023 5:30:02 PM,OPEN,39.78,39.78,10/10/2023 12:00:00 AM,America G20 Major,/bkx:ind,1000,0.80,2.0523,1.50,3.9185,-1.77,-4.2599,-8.85,-18.1986,-11.84,-22.9368,39.94,39.33,38.98,38.28,41.55,48.63,51.62,2,Index Points,Live,,10/10/2023 5:31:00 PM
BHSEEI:IND,BAHRAINSTOMAR,Estirad,Bahrain,10/10/2023 9:27:00 AM,CLOSED,1942.831,1942.831,10/10/2023 12:00:00 AM,Asia,/bahrain/stock-market,1010,1.39,0.0716,7.699,0.3979,3.806,0.1963,64.323,3.4242,47.564,2.5096,1942.831,1940.939,1941.441,1935.132,1939.025,1878.508,1895.26,2,Index Points,Delayed,8/31/2015 12:00:00 AM,10/10/2023 4:52:00 PM
https://api.tradingeconomics.com/markets/index?c={your_api_key}&f=xml
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>6651.46</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>Kuwait</Country>
<DailyChange>22.03</DailyChange>
<DailyPercentualChange>0.3323</DailyPercentualChange>
<Date>2023-10-10T09:38:27</Date>
<Group>Asia</Group>
<Importance>1000</Importance>
<Last>6651.46</Last>
<LastUpdate>2023-10-10T16:52:00</LastUpdate>
<MonthlyChange>-364.06</MonthlyChange>
<MonthlyPercentualChange>-5.1894</MonthlyPercentualChange>
<Name>Kuwait All Share</Name>
<StartDate>2018-04-01T00:00:00</StartDate>
<State>CLOSED</State>
<Symbol>BKA:IND</Symbol>
<Ticker>KuwwaitStoarket</Ticker>
<URL>/kuwait/stock-market</URL>
<WeeklyChange>-207.40</WeeklyChange>
<WeeklyPercentualChange>-3.0238</WeeklyPercentualChange>
<YTDChange>-640.66</YTDChange>
<YTDPercentualChange>-8.7856</YTDPercentualChange>
<YearlyChange>-394.02</YearlyChange>
<YearlyPercentualChange>-5.5925</YearlyPercentualChange>
<day_high>6699.40</day_high>
<day_low>6647.13</day_low>
<decimals>2</decimals>
<frequency>Delayed</frequency>
<lastMonth>7015.52</lastMonth>
<lastWeek>6858.86</lastWeek>
<lastYear>7045.48</lastYear>
<startYear>7292.12</startYear>
<unit>Index Points</unit>
<yesterday>6629.43</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>39.78</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>United States</Country>
<DailyChange>0.80</DailyChange>
<DailyPercentualChange>2.0523</DailyPercentualChange>
<Date>2023-10-10T17:30:02.453</Date>
<Group>America G20 Major</Group>
<Importance>1000</Importance>
<Last>39.78</Last>
<LastUpdate>2023-10-10T17:31:00</LastUpdate>
<MonthlyChange>-1.77</MonthlyChange>
<MonthlyPercentualChange>-4.2599</MonthlyPercentualChange>
<Name>US Bank Index</Name>
<StartDate i:nil="true"/>
<State>OPEN</State>
<Symbol>BKX:IND</Symbol>
<Ticker>BKX</Ticker>
<URL>/bkx:ind</URL>
<WeeklyChange>1.50</WeeklyChange>
<WeeklyPercentualChange>3.9185</WeeklyPercentualChange>
<YTDChange>-11.84</YTDChange>
<YTDPercentualChange>-22.9368</YTDPercentualChange>
<YearlyChange>-8.85</YearlyChange>
<YearlyPercentualChange>-18.1986</YearlyPercentualChange>
<day_high>39.94</day_high>
<day_low>39.33</day_low>
<decimals>2</decimals>
<frequency>Live</frequency>
<lastMonth>41.55</lastMonth>
<lastWeek>38.28</lastWeek>
<lastYear>48.63</lastYear>
<startYear>51.62</startYear>
<unit>Index Points</unit>
<yesterday>38.98</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>1942.831</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>Bahrain</Country>
<DailyChange>1.39</DailyChange>
<DailyPercentualChange>0.0716</DailyPercentualChange>
<Date>2023-10-10T09:27:00</Date>
<Group>Asia</Group>
<Importance>1010</Importance>
<Last>1942.831</Last>
<LastUpdate>2023-10-10T16:52:00</LastUpdate>
<MonthlyChange>3.806</MonthlyChange>
<MonthlyPercentualChange>0.1963</MonthlyPercentualChange>
<Name>Estirad</Name>
<StartDate>2015-08-31T00:00:00</StartDate>
<State>CLOSED</State>
<Symbol>BHSEEI:IND</Symbol>
<Ticker>BAHRAINSTOMAR</Ticker>
<URL>/bahrain/stock-market</URL>
<WeeklyChange>7.699</WeeklyChange>
<WeeklyPercentualChange>0.3979</WeeklyPercentualChange>
<YTDChange>47.564</YTDChange>
<YTDPercentualChange>2.5096</YTDPercentualChange>
<YearlyChange>64.323</YearlyChange>
<YearlyPercentualChange>3.4242</YearlyPercentualChange>
<day_high>1942.831</day_high>
<day_low>1940.939</day_low>
<decimals>2</decimals>
<frequency>Delayed</frequency>
<lastMonth>1939.025</lastMonth>
<lastWeek>1935.132</lastWeek>
<lastYear>1878.508</lastYear>
<startYear>1895.26</startYear>
<unit>Index Points</unit>
<yesterday>1941.441</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/index?c={your_api_key}
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| BKA:IND | KuwwaitStoarket | Kuwait All Share | Kuwait | 7/12/2023 9:38:18 AM | CLOSED | 7289.32 | 7289.32 | 7/12/2023 12:00:00 AM | Asia | /kuwait/stock-market | 1000 | 25.84 | 0.35 | 110.48 | 1.53 | 364.02 | 5.25 | -70.98 | -0.96 | -2.80 | -0.03 | 7310.93 | 7275.39 | 7263.48 | 7178.84 | 6925.30 | 7360.30 | 7292.12 | 2 | Index Points | Delayed | 4/1/2018 12:00:00 AM | 7/12/2023 1:13:00 PM |
| BKX:IND | BKX | US Bank Index | United States | 7/11/2023 8:02:31 PM | CLOSED | 42.09 | 42.09 | 7/11/2023 12:00:00 AM | America G20 Major | /bkx:ind | 1000 | 0.67 | 1.61 | 0.68 | 1.64 | 0.15 | 0.35 | -10.22 | -19.53 | -9.53 | -18.46 | 42.19 | 41.39 | 41.42 | 41.41 | 41.94 | 52.31 | 51.62 | 2 | Index Points | Live | 7/12/2023 1:05:00 PM | |
| BHSEEI:IND | BAHRAINSTOMAR | Estirad | Bahrain | 7/12/2023 9:57:00 AM | CLOSED | 1969.96 | 1969.96 | 7/12/2023 12:00:00 AM | Asia | /bahrain/stock-market | 1010 | 10.39 | 0.53 | 9.35 | 0.47 | 15.37 | 0.78 | 97.68 | 5.21 | 74.70 | 3.94 | 1969.96 | 1958.12 | 1959.57 | 1960.61 | 1954.58 | 1872.28 | 1895.26 | 2 | Index Points | Delayed | 8/31/2015 12:00:00 AM | 7/12/2023 1:13:00 PM |
Bonds
With the bonds endpoint you can use the type flag to filter maturities: (1M, 3M, 6M ,52W, 2Y, 3Y, 5Y, 7Y, 10Y, 15Y, 20Y, 30Y)
Using Requests:
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/markets/bond?c={your_api_key}&type=10Y'
data = requests.get(url).json()
print(data)
Or using our package:
te.getMarketsData(marketsField = 'bond', type='10Y')
Using Requests:
const axios = require('axios');
(async () => {
const your_api_key = 'your_api_key'
const response = await axios.get(`https://api.tradingeconomics.com/markets/bond?c=${your_api_key}&type=10Y`)
console.log(response.data)
})()
Or using our package:
data = te.getMarketSnap(marketsField = 'bond', type='10Y').then(function(data){
console.log(data)
});
Using Requests:
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/markets/bond?c=your_api_key&type=10Y");
https://api.tradingeconomics.com/markets/bond?c={your_api_key}&f=json
[
{
"Symbol": "GBTPGR15Y:IND",
"Ticker": "ITA1YBY",
"Name": "Italy 15Y",
"Country": "Italy",
"Date": "2023-10-10T00:00:00",
"State": "CLOSED",
"Last": 5.032,
"Close": 5.032,
"CloseDate": "2023-10-10T00:00:00",
"Group": "Europe",
"URL": "/italy/15-year-bond-yield",
"Importance": 1000,
"DailyChange": -0.09,
"DailyPercentualChange": -0.09,
"WeeklyChange": -0.168,
"WeeklyPercentualChange": -0.168,
"MonthlyChange": 0.394,
"MonthlyPercentualChange": 0.394,
"YearlyChange": 0.389,
"YearlyPercentualChange": 0.389,
"YTDChange": 0.277,
"YTDPercentualChange": 0.277,
"day_high": 5.163,
"day_low": 5.031,
"yesterday": 5.127,
"lastWeek": 5.2,
"lastMonth": 4.638,
"lastYear": 4.643,
"startYear": 4.755,
"decimals": 4.0,
"unit": "percent",
"frequency": "Daily",
"StartDate": "2002-02-11T00:00:00",
"LastUpdate": "2023-10-10T17:00:00"
},
{
"Symbol": "GDBR15:IND",
"Ticker": "DEU1YBY",
"Name": "Germany 15Y",
"Country": "Germany",
"Date": "2023-10-10T00:00:00",
"State": "CLOSED",
"Last": 2.986,
"Close": 2.986,
"CloseDate": "2023-10-10T00:00:00",
"Group": "Europe 15Y",
"URL": "/germany/15-year-bond-yield",
"Importance": 1000,
"DailyChange": 0.016,
"DailyPercentualChange": 0.016,
"WeeklyChange": -0.17,
"WeeklyPercentualChange": -0.17,
"MonthlyChange": 0.197,
"MonthlyPercentualChange": 0.197,
"YearlyChange": 0.473,
"YearlyPercentualChange": 0.473,
"YTDChange": 0.321,
"YTDPercentualChange": 0.321,
"day_high": 3.036,
"day_low": 2.957,
"yesterday": 2.97,
"lastWeek": 3.156,
"lastMonth": 2.789,
"lastYear": 2.513,
"startYear": 2.665,
"decimals": 4.0,
"unit": "percent",
"frequency": "Daily",
"StartDate": "2010-11-09T00:00:00",
"LastUpdate": "2023-10-10T16:55:00"
},
{
"Symbol": "GSPG15YR:IND",
"Ticker": "ESP1YBY",
"Name": "Spain 15Y",
"Country": "Spain",
"Date": "2023-10-10T00:00:00",
"State": "CLOSED",
"Last": 4.188,
"Close": 4.188,
"CloseDate": "2023-10-10T00:00:00",
"Group": "Europe 15Y",
"URL": "/spain/15-year-bond-yield",
"Importance": 1000,
"DailyChange": -0.035,
"DailyPercentualChange": 0.0,
"WeeklyChange": -0.157,
"WeeklyPercentualChange": -0.118,
"MonthlyChange": 0.26,
"MonthlyPercentualChange": 0.299,
"YearlyChange": 0.423,
"YearlyPercentualChange": 0.462,
"YTDChange": 0.217,
"YTDPercentualChange": 0.256,
"day_high": 4.279,
"day_low": 4.187,
"yesterday": 4.223,
"lastWeek": 4.345,
"lastMonth": 3.928,
"lastYear": 3.765,
"startYear": 3.971,
"decimals": 4.0,
"unit": "percent",
"frequency": "Daily",
"StartDate": "1994-02-24T00:00:00",
"LastUpdate": "2023-10-10T15:49:00"
}
]
https://api.tradingeconomics.com/markets/bond?c={your_api_key}&f=csv
Symbol,Ticker,Name,Country,Date,State,Last,Close,CloseDate,Group,URL,Importance,DailyChange,DailyPercentualChange,WeeklyChange,WeeklyPercentualChange,MonthlyChange,MonthlyPercentualChange,YearlyChange,YearlyPercentualChange,YTDChange,YTDPercentualChange,day_high,day_low,yesterday,lastWeek,lastMonth,lastYear,startYear,decimals,unit,frequency,StartDate,LastUpdate
GBTPGR15Y:IND,ITA1YBY,Italy 15Y,Italy,10/10/2023 12:00:00 AM,CLOSED,5.032,5.032,10/10/2023 12:00:00 AM,Europe,/italy/15-year-bond-yield,1000,-0.09,-0.090,-0.168,-0.1680,0.394,0.3940,0.389,0.3890,0.277,0.2770,5.163,5.031,5.127,5.20,4.638,4.643,4.755,4,percent,Daily,2/11/2002 12:00:00 AM,10/10/2023 5:00:00 PM
GDBR15:IND,DEU1YBY,Germany 15Y,Germany,10/10/2023 12:00:00 AM,CLOSED,2.986,2.986,10/10/2023 12:00:00 AM,Europe 15Y,/germany/15-year-bond-yield,1000,0.016,0.0160,-0.17,-0.1700,0.197,0.1970,0.473,0.4730,0.321,0.3210,3.036,2.957,2.97,3.156,2.789,2.513,2.665,4,percent,Daily,11/9/2010 12:00:00 AM,10/10/2023 4:55:00 PM
GSPG15YR:IND,ESP1YBY,Spain 15Y,Spain,10/10/2023 12:00:00 AM,CLOSED,4.188,4.188,10/10/2023 12:00:00 AM,Europe 15Y,/spain/15-year-bond-yield,1000,-0.035,0.00,-0.157,-0.1180,0.26,0.2990,0.423,0.4620,0.217,0.2560,4.279,4.187,4.223,4.345,3.928,3.765,3.971,4,percent,Daily,2/24/1994 12:00:00 AM,10/10/2023 3:49:00 PM
https://api.tradingeconomics.com/markets/bond?c={your_api_key}&f=xml
<ArrayOfMarkets.MarketSnapGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Markets.MarketSnapGroup>
<Close>5.032</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>Italy</Country>
<DailyChange>-0.09</DailyChange>
<DailyPercentualChange>-0.090</DailyPercentualChange>
<Date>2023-10-10T00:00:00</Date>
<Group>Europe</Group>
<Importance>1000</Importance>
<Last>5.032</Last>
<LastUpdate>2023-10-10T17:00:00</LastUpdate>
<MonthlyChange>0.394</MonthlyChange>
<MonthlyPercentualChange>0.3940</MonthlyPercentualChange>
<Name>Italy 15Y</Name>
<StartDate>2002-02-11T00:00:00</StartDate>
<State>CLOSED</State>
<Symbol>GBTPGR15Y:IND</Symbol>
<Ticker>ITA1YBY</Ticker>
<URL>/italy/15-year-bond-yield</URL>
<WeeklyChange>-0.168</WeeklyChange>
<WeeklyPercentualChange>-0.1680</WeeklyPercentualChange>
<YTDChange>0.277</YTDChange>
<YTDPercentualChange>0.2770</YTDPercentualChange>
<YearlyChange>0.389</YearlyChange>
<YearlyPercentualChange>0.3890</YearlyPercentualChange>
<day_high>5.163</day_high>
<day_low>5.031</day_low>
<decimals>4</decimals>
<frequency>Daily</frequency>
<lastMonth>4.638</lastMonth>
<lastWeek>5.20</lastWeek>
<lastYear>4.643</lastYear>
<startYear>4.755</startYear>
<unit>percent</unit>
<yesterday>5.127</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>2.986</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>Germany</Country>
<DailyChange>0.016</DailyChange>
<DailyPercentualChange>0.0160</DailyPercentualChange>
<Date>2023-10-10T00:00:00</Date>
<Group>Europe 15Y</Group>
<Importance>1000</Importance>
<Last>2.986</Last>
<LastUpdate>2023-10-10T16:55:00</LastUpdate>
<MonthlyChange>0.197</MonthlyChange>
<MonthlyPercentualChange>0.1970</MonthlyPercentualChange>
<Name>Germany 15Y</Name>
<StartDate>2010-11-09T00:00:00</StartDate>
<State>CLOSED</State>
<Symbol>GDBR15:IND</Symbol>
<Ticker>DEU1YBY</Ticker>
<URL>/germany/15-year-bond-yield</URL>
<WeeklyChange>-0.17</WeeklyChange>
<WeeklyPercentualChange>-0.1700</WeeklyPercentualChange>
<YTDChange>0.321</YTDChange>
<YTDPercentualChange>0.3210</YTDPercentualChange>
<YearlyChange>0.473</YearlyChange>
<YearlyPercentualChange>0.4730</YearlyPercentualChange>
<day_high>3.036</day_high>
<day_low>2.957</day_low>
<decimals>4</decimals>
<frequency>Daily</frequency>
<lastMonth>2.789</lastMonth>
<lastWeek>3.156</lastWeek>
<lastYear>2.513</lastYear>
<startYear>2.665</startYear>
<unit>percent</unit>
<yesterday>2.97</yesterday>
</Markets.MarketSnapGroup>
<Markets.MarketSnapGroup>
<Close>4.188</Close>
<CloseDate>2023-10-10T00:00:00</CloseDate>
<Country>Spain</Country>
<DailyChange>-0.035</DailyChange>
<DailyPercentualChange>0.00</DailyPercentualChange>
<Date>2023-10-10T00:00:00</Date>
<Group>Europe 15Y</Group>
<Importance>1000</Importance>
<Last>4.188</Last>
<LastUpdate>2023-10-10T15:49:00</LastUpdate>
<MonthlyChange>0.26</MonthlyChange>
<MonthlyPercentualChange>0.2990</MonthlyPercentualChange>
<Name>Spain 15Y</Name>
<StartDate>1994-02-24T00:00:00</StartDate>
<State>CLOSED</State>
<Symbol>GSPG15YR:IND</Symbol>
<Ticker>ESP1YBY</Ticker>
<URL>/spain/15-year-bond-yield</URL>
<WeeklyChange>-0.157</WeeklyChange>
<WeeklyPercentualChange>-0.1180</WeeklyPercentualChange>
<YTDChange>0.217</YTDChange>
<YTDPercentualChange>0.2560</YTDPercentualChange>
<YearlyChange>0.423</YearlyChange>
<YearlyPercentualChange>0.4620</YearlyPercentualChange>
<day_high>4.279</day_high>
<day_low>4.187</day_low>
<decimals>4</decimals>
<frequency>Daily</frequency>
<lastMonth>3.928</lastMonth>
<lastWeek>4.345</lastWeek>
<lastYear>3.765</lastYear>
<startYear>3.971</startYear>
<unit>percent</unit>
<yesterday>4.223</yesterday>
</Markets.MarketSnapGroup>
</ArrayOfMarkets.MarketSnapGroup>
https://api.tradingeconomics.com/markets/bond?c={your_api_key}
| Symbol | Ticker | Name | Country | Date | State | Last | Close | CloseDate | Group | URL | Importance | DailyChange | DailyPercentualChange | WeeklyChange | WeeklyPercentualChange | MonthlyChange | MonthlyPercentualChange | YearlyChange | YearlyPercentualChange | YTDChange | YTDPercentualChange | day_high | day_low | yesterday | lastWeek | lastMonth | lastYear | startYear | decimals | unit | frequency | StartDate | LastUpdate |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| GBTPGR15Y:IND | ITA1YBY | Italy 15Y | Italy | 7/12/2023 12:00:00 AM | CLOSED | 4.554 | 4.554 | 7/12/2023 12:00:00 AM | Europe | /italy/15-year-bond-yield | 1000 | -0.039 | -0.0410 | 0.23 | 0.2280 | 0.248 | 0.2460 | 1.234 | 1.2320 | -0.201 | -0.2030 | 4.569 | 4.543 | 4.593 | 4.324 | 4.306 | 3.32 | 4.755 | 4 | percent | Daily | 2/11/2002 12:00:00 AM | 7/12/2023 12:29:00 PM |
| GDBR15:IND | DEU1YBY | Germany 15Y | Germany | 7/12/2023 12:00:00 AM | CLOSED | 2.736 | 2.736 | 7/12/2023 12:00:00 AM | Europe 15Y | /germany/15-year-bond-yield | 1000 | -0.02 | -0.0240 | 0.162 | 0.1580 | 0.128 | 0.1240 | 1.374 | 1.3700 | 0.071 | 0.0670 | 2.759 | 2.718 | 2.756 | 2.574 | 2.608 | 1.362 | 2.665 | 4 | percent | Daily | 11/9/2010 12:00:00 AM | 7/12/2023 11:19:00 AM |
| GSPG15YR:IND | ESP1YBY | Spain 15Y | Spain | 7/12/2023 12:00:00 AM | CLOSED | 3.877 | 3.877 | 7/12/2023 12:00:00 AM | Europe 15Y | /spain/15-year-bond-yield | 1000 | -0.028 | -0.0350 | 0.169 | 0.1620 | 0.169 | 0.1620 | 1.202 | 1.1950 | -0.094 | -0.1010 | 3.881 | 3.859 | 3.905 | 3.708 | 3.708 | 2.675 | 3.971 | 4 | percent | Daily | 2/24/1994 12:00:00 AM | 7/12/2023 12:27:00 PM |
Response fields
| Field | Type | Description | Example |
|---|---|---|---|
| Symbol | string | Unique symbol used by Trading Economics. | “6758:JP” |
| Ticker | string | Unique ticker code used by Trading Economics. | “6758” |
| Name | string | Full name of the company, commodity, or indicator. | “Sony” |
| Country | string | Country or category associated with the instrument. | “Japan” |
| Date | string | Date and time of the latest release in UTC (ISO 8601 format). | “2023-04-13T00:00:00” |
| State | string | Current market state | “CLOSED” |
| Last | number | Most recent trading value or price. | 11900.00 |
| Close | number | Last recorded value before the market closed. | 11900.00 |
| CloseDate | string | Date and time of the last closing price (ISO 8601 format) | “2023-04-13T00:00:00” |
| Group | string | Group or sector classification | “Livestock” |
| URL | string | Trading Economics link to the instrument’s detail page | “/commodity/eggs-ch” |
| Importance | number | Indicator importance score ranging from 0 (lowest) to 1000 (highest) | 1000 |
| DailyChange | number | Absolute difference between previous close and current price | -8.00 |
| DailyPercentualChange | number | Percentage difference between previous close and current price | -0.18 |
| WeeklyChange | number | Absolute difference between last week’s close and current price | 56.00 |
| WeeklyPercentualChange | number | Percentage difference between last week’s close and current price | 1.27 |
| MonthlyChange | number | Absolute difference between last month’s close and current price | -139.00 |
| MonthlyPercentualChange | number | Percentage difference between last month’s close and current price | -3.03 |
| YearlyChange | number | Absolute difference between last year’s close and current price | -15.00 |
| YearlyPercentualChange | number | Percentage difference between last year’s close and current price | -0.33 |
| YTDChange | number | Absolute difference between last year’s final close and current price (YTD) | 525.00 |
| YTDPercentualChange | number | Percentage difference between last year’s final close and current price (YTD) | 13.42 |
| day_high | number | Highest trading value of the current day | 4460.00 |
| day_low | number | Lowest trading value of the current day | 4410.00 |
| Yesterday | number | Previous day’s closing price | 4443.00 |
| LastWeek | number | Closing price from the previous week | 4379.00 |
| LastMonth | number | Closing price from the previous month | 4574.00 |
| LastYear | number | Closing price from the previous year | 4450.00 |
| StartYear | number | Closing price at the start of the current year | 3910.00 |
| Decimals | number | Number of decimal places used in reported values | 2.0 |
| Unit | string | Unit of measurement for the value | “CNY/T” |
| Frequency | string | Reporting frequency of the market data | “Daily” |
| StartDate | string | Date of the first available market entry (ISO 8601 format) | “2013-11-08T00:00:00” |
| LastUpdate | string | Timestamp of the most recent data update (ISO 8601 format) | “2023-04-13T18:24:00” |