Discontinued Series

It refers to data series or datasets that have been discontinued, meaning that they are no longer being updated or maintained by the official source.

All series

Using Requests:

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

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getDiscontinuedIndicator()

Using Requests:

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

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getDiscontinuedIndicators().then(function(data){
  console.log(data)       
});
using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/country/all/discontinued?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.

/country/all/discontinued

CountryCategoryTitleLatestValueDateLatestValueSourceSourceURLUnitURLCategoryGroupAdjustmentFrequencyHistoricalDataSymbolCreateDateFirstValueDatePreviousValuePreviousValueDate
AfghanistanInternet SpeedAfghanistan Internet Speed3/31/2017 12:00:00 AM1901.54AKAMAIKBps/afghanistan/internet-speedBusinessQuarterlyAFGKBPS10/25/2017 5:12:00 PM9/30/2007 12:00:00 AM1797.4312/31/2016 12:00:00 AM
AfghanistanIP AddressesAfghanistan IP Addresses3/31/2017 12:00:00 AM14505.00AKAMAIIP/afghanistan/ip-addressesBusinessQuarterlyAFGIPS10/25/2017 5:12:00 PM9/30/2007 12:00:00 AM15003.0012/31/2016 12:00:00 AM
AfghanistanInterest RateAfghanistan Interest Rate3/31/2017 12:00:00 AM14.94Afghanistan Bankhttp://www.centralbank.gov.af/percent/afghanistan/interest-rateMoneyMonthlyAFGSTANINTTRATE8/7/2014 5:57:00 PM3/31/2007 12:00:00 AM14.572/28/2017 12:00:00 AM

/country/all/discontinued?f=json

[{"Country":"Afghanistan","Category":"Internet Speed","Title":"Afghanistan Internet Speed","LatestValueDate":"2017-03-31T00:00:00","LatestValue":1901.54,"Source":"AKAMAI","SourceURL":"","Unit":"KBps","URL":"/afghanistan/internet-speed","CategoryGroup":"Business","Adjustment":"","Frequency":"Quarterly","HistoricalDataSymbol":"AFGKBPS","CreateDate":"2017-10-25T17:12:00","FirstValueDate":"2007-09-30T00:00:00","PreviousValue":1797.43,"PreviousValueDate":"2016-12-31T00:00:00"},{"Country":"Afghanistan","Category":"IP Addresses","Title":"Afghanistan IP Addresses","LatestValueDate":"2017-03-31T00:00:00","LatestValue":14505.00,"Source":"AKAMAI","SourceURL":"","Unit":"IP","URL":"/afghanistan/ip-addresses","CategoryGroup":"Business","Adjustment":"","Frequency":"Quarterly","HistoricalDataSymbol":"AFGIPS","CreateDate":"2017-10-25T17:12:00","FirstValueDate":"2007-09-30T00:00:00","PreviousValue":15003.00,"PreviousValueDate":"2016-12-31T00:00:00"},{"Country":"Afghanistan","Category":"Interest Rate","Title":"Afghanistan Interest Rate","LatestValueDate":"2017-03-31T00:00:00","LatestValue":14.94,"Source":"Afghanistan Bank","SourceURL":"http://www.centralbank.gov.af/","Unit":"percent","URL":"/afghanistan/interest-rate","CategoryGroup":"Money","Adjustment":"","Frequency":"Monthly","HistoricalDataSymbol":"AFGSTANINTTRATE","CreateDate":"2014-08-07T17:57:00","FirstValueDate":"2007-03-31T00:00:00","PreviousValue":14.57,"PreviousValueDate":"2017-02-28T00:00:00"}]

/country/all/discontinued?f=csv

Country,Category,Title,LatestValueDate,LatestValue,Source,SourceURL,Unit,URL,CategoryGroup,Adjustment,Frequency,HistoricalDataSymbol,CreateDate,FirstValueDate,PreviousValue,PreviousValueDate
Afghanistan,Internet Speed,Afghanistan Internet Speed,3/31/2017 12:00:00 AM,1901.54,AKAMAI,,KBps,/afghanistan/internet-speed,Business,,Quarterly,AFGKBPS,10/25/2017 5:12:00 PM,9/30/2007 12:00:00 AM,1797.43,12/31/2016 12:00:00 AM
Afghanistan,IP Addresses,Afghanistan IP Addresses,3/31/2017 12:00:00 AM,14505.00,AKAMAI,,IP,/afghanistan/ip-addresses,Business,,Quarterly,AFGIPS,10/25/2017 5:12:00 PM,9/30/2007 12:00:00 AM,15003.00,12/31/2016 12:00:00 AM
Afghanistan,Interest Rate,Afghanistan Interest Rate,3/31/2017 12:00:00 AM,14.94,Afghanistan Bank,http://www.centralbank.gov.af/,percent,/afghanistan/interest-rate,Money,,Monthly,AFGSTANINTTRATE,8/7/2014 5:57:00 PM,3/31/2007 12:00:00 AM,14.57,2/28/2017 12:00:00 AM

/country/all/discontinued?f=xml

<ArrayOfCountryIndicator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CountryIndicator>
<Adjustment/>
<Category>Internet Speed</Category>
<CategoryGroup>Business</CategoryGroup>
<Country>Afghanistan</Country>
<CreateDate>2017-10-25T17:12:00</CreateDate>
<FirstValueDate>2007-09-30T00:00:00</FirstValueDate>
<Frequency>Quarterly</Frequency>
<HistoricalDataSymbol>AFGKBPS</HistoricalDataSymbol>
<LatestValue>1901.54</LatestValue>
<LatestValueDate>2017-03-31T00:00:00</LatestValueDate>
<PreviousValue>1797.43</PreviousValue>
<PreviousValueDate>2016-12-31T00:00:00</PreviousValueDate>
<Source>AKAMAI</Source>
<SourceURL/>
<Title>Afghanistan Internet Speed</Title>
<URL>/afghanistan/internet-speed</URL>
<Unit>KBps</Unit>
</CountryIndicator>
<CountryIndicator>
<Adjustment/>
<Category>IP Addresses</Category>
<CategoryGroup>Business</CategoryGroup>
<Country>Afghanistan</Country>
<CreateDate>2017-10-25T17:12:00</CreateDate>
<FirstValueDate>2007-09-30T00:00:00</FirstValueDate>
<Frequency>Quarterly</Frequency>
<HistoricalDataSymbol>AFGIPS</HistoricalDataSymbol>
<LatestValue>14505.00</LatestValue>
<LatestValueDate>2017-03-31T00:00:00</LatestValueDate>
<PreviousValue>15003.00</PreviousValue>
<PreviousValueDate>2016-12-31T00:00:00</PreviousValueDate>
<Source>AKAMAI</Source>
<SourceURL/>
<Title>Afghanistan IP Addresses</Title>
<URL>/afghanistan/ip-addresses</URL>
<Unit>IP</Unit>
</CountryIndicator>
<CountryIndicator>
<Adjustment/>
<Category>Interest Rate</Category>
<CategoryGroup>Money</CategoryGroup>
<Country>Afghanistan</Country>
<CreateDate>2014-08-07T17:57:00</CreateDate>
<FirstValueDate>2007-03-31T00:00:00</FirstValueDate>
<Frequency>Monthly</Frequency>
<HistoricalDataSymbol>AFGSTANINTTRATE</HistoricalDataSymbol>
<LatestValue>14.94</LatestValue>
<LatestValueDate>2017-03-31T00:00:00</LatestValueDate>
<PreviousValue>14.57</PreviousValue>
<PreviousValueDate>2017-02-28T00:00:00</PreviousValueDate>
<Source>Afghanistan Bank</Source>
<SourceURL>http://www.centralbank.gov.af/</SourceURL>
<Title>Afghanistan Interest Rate</Title>
<URL>/afghanistan/interest-rate</URL>
<Unit>percent</Unit>
</CountryIndicator>
</ArrayOfCountryIndicator>

By country

Using Requests:

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

Or using our package:

te.getDiscontinuedIndicator(country = 'united states')

With multi countries

te.getDiscontinuedIndicator(country = ['united states', 'china'] )

Using Requests:

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

Or using our package:

data = te.getDiscontinuedIndicators(country = 'united states').then(function(data){
  console.log(data)       
});

With multi countries

data = te.getDiscontinuedIndicators(country = ['united states', 'china'] ).then(function(data){
  console.log(data)       
});
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/country/united%20states/discontinued?c=your_api_key");

With multi countries

new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/country/united%20states,china/discontinued?c=your_api_key");

/country/{countries}/discontinued

CountryCategoryTitleLatestValueDateLatestValueSourceSourceURLUnitURLCategoryGroupAdjustmentFrequencyHistoricalDataSymbolCreateDateFirstValueDatePreviousValuePreviousValueDate
ChinaCompetitiveness IndexChina Competitiveness Index12/31/2019 12:00:00 AM73.90World Economic Forumhttps://www.weforum.orgPoints/china/competitiveness-indexBusinessYearlyChinaComInd6/12/2015 5:19:00 PM12/31/2007 12:00:00 AM72.6112/31/2018 12:00:00 AM
ChinaCompetitiveness RankChina Competitiveness Rank12/31/2019 12:00:00 AM28.00World Economic Forumhttps://www.weforum.org/china/competitiveness-rankBusinessYearlyChinaComRan6/12/2015 5:17:00 PM12/31/2007 12:00:00 AM28.0012/31/2018 12:00:00 AM
ChinaCoronavirus RecoveredChina Coronavirus COVID-19 Recovered12/15/2021 12:00:00 AM86689.00World Health OrganizationPersons/china/coronavirus-recoveredHealthDailyCNCOVIDRT3/11/2020 1:48:00 PM12/31/2019 12:00:00 AM86676.006/29/2021 12:00:00 AM

/country/{countries}/discontinued?f=json

[{"Country":"China","Category":"Competitiveness Index","Title":"China Competitiveness Index","LatestValueDate":"2019-12-31T00:00:00","LatestValue":73.90,"Source":"World Economic Forum","SourceURL":"https://www.weforum.org","Unit":"Points","URL":"/china/competitiveness-index","CategoryGroup":"Business","Adjustment":"","Frequency":"Yearly","HistoricalDataSymbol":"ChinaComInd","CreateDate":"2015-06-12T17:19:00","FirstValueDate":"2007-12-31T00:00:00","PreviousValue":72.61,"PreviousValueDate":"2018-12-31T00:00:00"},{"Country":"China","Category":"Competitiveness Rank","Title":"China Competitiveness Rank","LatestValueDate":"2019-12-31T00:00:00","LatestValue":28.00,"Source":"World Economic Forum","SourceURL":"https://www.weforum.org","Unit":"","URL":"/china/competitiveness-rank","CategoryGroup":"Business","Adjustment":"","Frequency":"Yearly","HistoricalDataSymbol":"ChinaComRan","CreateDate":"2015-06-12T17:17:00","FirstValueDate":"2007-12-31T00:00:00","PreviousValue":28.00,"PreviousValueDate":"2018-12-31T00:00:00"},{"Country":"China","Category":"Consumer Confidence","Title":"China Consumer Confidence","LatestValueDate":"2023-03-31T00:00:00","LatestValue":94.90,"Source":"National Bureau of Statistics of China","SourceURL":"http://www.stats.gov.cn/","Unit":"points","URL":"/china/consumer-confidence","CategoryGroup":"Consumer","Adjustment":"","Frequency":"Monthly","HistoricalDataSymbol":"CHCSCONF","CreateDate":"2013-01-22T17:35:00","FirstValueDate":"1991-01-31T00:00:00","PreviousValue":94.70,"PreviousValueDate":"2023-02-28T00:00:00"}]

/country/{countries}/discontinued?f=csv

Country,Category,Title,LatestValueDate,LatestValue,Source,SourceURL,Unit,URL,CategoryGroup,Adjustment,Frequency,HistoricalDataSymbol,CreateDate,FirstValueDate,PreviousValue,PreviousValueDate
China,Competitiveness Index,China Competitiveness Index,12/31/2019 12:00:00 AM,73.90,World Economic Forum,https://www.weforum.org,Points,/china/competitiveness-index,Business,,Yearly,ChinaComInd,6/12/2015 5:19:00 PM,12/31/2007 12:00:00 AM,72.61,12/31/2018 12:00:00 AM
China,Competitiveness Rank,China Competitiveness Rank,12/31/2019 12:00:00 AM,28.00,World Economic Forum,https://www.weforum.org,,/china/competitiveness-rank,Business,,Yearly,ChinaComRan,6/12/2015 5:17:00 PM,12/31/2007 12:00:00 AM,28.00,12/31/2018 12:00:00 AM
China,Consumer Confidence,China Consumer Confidence,3/31/2023 12:00:00 AM,94.90,National Bureau of Statistics of China,http://www.stats.gov.cn/,points,/china/consumer-confidence,Consumer,,Monthly,CHCSCONF,1/22/2013 5:35:00 PM,1/31/1991 12:00:00 AM,94.70,2/28/2023 12:00:00 AM

/country/{countries}/discontinued?f=xml

<ArrayOfCountryIndicator xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
<CountryIndicator>
<Adjustment/>
<Category>Competitiveness Index</Category>
<CategoryGroup>Business</CategoryGroup>
<Country>China</Country>
<CreateDate>2015-06-12T17:19:00</CreateDate>
<FirstValueDate>2007-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HistoricalDataSymbol>ChinaComInd</HistoricalDataSymbol>
<LatestValue>73.90</LatestValue>
<LatestValueDate>2019-12-31T00:00:00</LatestValueDate>
<PreviousValue>72.61</PreviousValue>
<PreviousValueDate>2018-12-31T00:00:00</PreviousValueDate>
<Source>World Economic Forum</Source>
<SourceURL>https://www.weforum.org</SourceURL>
<Title>China Competitiveness Index</Title>
<URL>/china/competitiveness-index</URL>
<Unit>Points</Unit>
</CountryIndicator>
<CountryIndicator>
<Adjustment/>
<Category>Competitiveness Rank</Category>
<CategoryGroup>Business</CategoryGroup>
<Country>China</Country>
<CreateDate>2015-06-12T17:17:00</CreateDate>
<FirstValueDate>2007-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HistoricalDataSymbol>ChinaComRan</HistoricalDataSymbol>
<LatestValue>28.00</LatestValue>
<LatestValueDate>2019-12-31T00:00:00</LatestValueDate>
<PreviousValue>28.00</PreviousValue>
<PreviousValueDate>2018-12-31T00:00:00</PreviousValueDate>
<Source>World Economic Forum</Source>
<SourceURL>https://www.weforum.org</SourceURL>
<Title>China Competitiveness Rank</Title>
<URL>/china/competitiveness-rank</URL>
<Unit/>
</CountryIndicator>
<CountryIndicator>
<Adjustment/>
<Category>Consumer Confidence</Category>
<CategoryGroup>Consumer</CategoryGroup>
<Country>China</Country>
<CreateDate>2013-01-22T17:35:00</CreateDate>
<FirstValueDate>1991-01-31T00:00:00</FirstValueDate>
<Frequency>Monthly</Frequency>
<HistoricalDataSymbol>CHCSCONF</HistoricalDataSymbol>
<LatestValue>94.90</LatestValue>
<LatestValueDate>2023-03-31T00:00:00</LatestValueDate>
<PreviousValue>94.70</PreviousValue>
<PreviousValueDate>2023-02-28T00:00:00</PreviousValueDate>
<Source>National Bureau of Statistics of China</Source>
<SourceURL>http://www.stats.gov.cn/</SourceURL>
<Title>China Consumer Confidence</Title>
<URL>/china/consumer-confidence</URL>
<Unit>points</Unit>
</CountryIndicator>
</ArrayOfCountryIndicator>

Response fields

FieldTypeDescriptionExample
CountrystringName of the country associated with the indicator.“Algeria”
CategorystringName of the economic indicator or data category.“Auto Exports”,
TitlestringCombined label of country and category.“Mexico Auto Exports”
LatestValueDatestringDate of the most recently released value, in UTC.“2023-03-31T00:00:00”
LatestValuenumberMost recent published value for the indicator.272.69
SourcestringName of the organization or authority that provided the data.“Instituto Nacional de Estadística y Geografía (INEGI)”
SourceURLstringDirect URL link to the original data source (if available).“https://www.inegi.org.mx/”
UnitstringUnit of measurement for the value.“Thousand Units”
URLstringHyperlink to the indicator page on Trading Economics.“/mexico/auto-exports”
CategoryGroupstringBroad classification group for the indicator.“Trade”
AdjustmentstringDescription of any adjustments.“Current USD
FrequencystringFrequency of data release.“Monthly”
HistoricalDataSymbolstringUnique identifier used by Trading Economics for the data series.“MEXICOAUTEXP”
CreateDatestringDate and time when the indicator was added to the database“2019-07-23T12:20:00”
FirstValueDatestringDate of the earliest available historical value.“1988-01-31T00:00:00”
PreviousValuenumberValue released prior to the latest one.230.48
PreviousValueDatestringRelease date of the previous value.“2023-02-28T00:00:00”