# Indicators Data Series Changes

> The following API endpoints list all indicator data series that have undergone changes.

Source: https://docs.tradingeconomics.com/indicators/changes/

This section's endpoints provide a list of the latest Economic Indicators that have undergone changes in their data series, along with the reason for the modification.

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/changes?c={your_api_key}'
data = requests.get(url).json()
print(data)
```
*Or using our package:*
```python
import tradingeconomics as te
te.login('your_api_key')
te.getIndicatorChanges()
```

**JS**
*Using Requests:*
```js
const axios = require('axios');
(async () => {
    const your_api_key = 'your_api_key'
    const response = await axios.get(`https://api.tradingeconomics.com/changes?c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getIndicatorChanges().then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/changes?client=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.

**JSON**
```text
https://api.tradingeconomics.com/changes?c={your_api_key}&f=json
```
```json
[
  {
    "Country": "Serbia",
    "Category": "Labour Costs",
    "Ticker": "SERBIALABCOS",
    "Reason": "Frequency",
    "Date": "2024-10-29T03:47:29.33"
  },
  {
    "Country": "Saudi Arabia",
    "Category": "Housing Index",
    "Ticker": "SAUDIARABHOUIND",
    "Reason": "Base year",
    "Date": "2024-10-28T15:19:33.473"
  },
  {
    "Country": "India",
    "Category": "Wages",
    "Ticker": "INDIAWAG",
    "Reason": "Replacement",
    "Date": "2024-10-28T11:42:54.78"
  }
]
```

**CSV**
```text
https://api.tradingeconomics.com/changes?c={your_api_key}&f=csv
```
```bash
Country,Category,Ticker,Reason,Date
Serbia,Labour Costs,SERBIALABCOS,Frequency,10/29/2024 3:47:29 AM
Saudi Arabia,Housing Index,SAUDIARABHOUIND,Base year,10/28/2024 3:19:33 PM
India,Wages,INDIAWAG,Replacement,10/28/2024 11:42:54 AM

```

**HTML**
```text
https://api.tradingeconomics.com/changes?c={your_api_key}
```

| Country	| Category | Ticker | Reason | Date |
|-------|-------|-------|-------|-------|
| Serbia        | Labour Costs	| SERBIALABCOS | Frequency	| 10/29/2024 3:47:29 AM |
| Saudi Arabia	| Housing Index	| SAUDIARABHOUIND | Base year	| 10/28/2024 3:19:33 PM |
| India	        | Wages	        | INDIAWAG | Replacement | 10/28/2024 11:42:54 AM |

## By date

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/changes/2024-10-01?c={your_api_key}'
data = requests.get(url).json()
print(data)
```
*Or using our package:*
```python
te.getIndicatorChanges(start_date = '2024-10-01')
```

**JS**
*Using Requests:*
```js
const axios = require('axios');
(async () => {
    const your_api_key = 'your_api_key'
    const response = await axios.get(`https://api.tradingeconomics.com/changes/2024-10-01?c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getIndicatorChanges(start_date = '2024-10-01').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var httpClient = new HttpClient())
{
    using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/changes/2024-10-01?client=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);
        }
    }
}
```

**JSON**
```text
https://api.tradingeconomics.com/changes/{date}?c={your_api_key}&f=json
```
```json
[
  {
    "Country": "Serbia",
    "Category": "Labour Costs",
    "Ticker": "SERBIALABCOS",
    "Reason": "Frequency",
    "Date": "2024-10-29T03:47:29.33"
  },
  {
    "Country": "Saudi Arabia",
    "Category": "Housing Index",
    "Ticker": "SAUDIARABHOUIND",
    "Reason": "Base year",
    "Date": "2024-10-28T15:19:33.473"
  },
  {
    "Country": "India",
    "Category": "Wages",
    "Ticker": "INDIAWAG",
    "Reason": "Replacement",
    "Date": "2024-10-28T11:42:54.78"
  }
]
```

**CSV**
```text
https://api.tradingeconomics.com/changes/{date}?c={your_api_key}&f=csv
```
```bash
Country,Category,Ticker,Reason,Date
Serbia,Labour Costs,SERBIALABCOS,Frequency,10/29/2024 3:47:29 AM
Saudi Arabia,Housing Index,SAUDIARABHOUIND,Base year,10/28/2024 3:19:33 PM
India,Wages,INDIAWAG,Replacement,10/28/2024 11:42:54 AM

```

**HTML**
```text
https://api.tradingeconomics.com/changes/{date}?c={your_api_key}
```

| Country	| Category | Ticker | Reason | Date |
|-------|-------|-------|-------|-------|
| Serbia        | Labour Costs	| SERBIALABCOS    | Frequency	  | 10/29/2024 3:47:29 AM   |
| Saudi Arabia	| Housing Index	| SAUDIARABHOUIND | Base year   |	10/28/2024 3:19:33 PM   |
| India	        | Wages	        | INDIAWAG        | Replacement | 10/28/2024 11:42:54 AM  |

## Discontinued series

Data series that have been discontinued and are no longer updated by the official source. For more details, see the dedicated [Discontinued Series](https://docs.tradingeconomics.com/indicators/discontinued_series) page.

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/country/all/discontinued?c={your_api_key}'
data = requests.get(url).json()
print(data)
```
*Or using our package:*
```python
import tradingeconomics as te
te.login('your_api_key')
te.getDiscontinuedIndicator()
```

*By country*
```python
te.getDiscontinuedIndicator(country = 'united states')
```

*With multi countries*
```python
te.getDiscontinuedIndicator(country = ['united states', 'china'] )
```

**JS**
*Using Requests:*
```js
const axios = require('axios');
(async () => {
    const your_api_key = 'your_api_key'
    const response = await axios.get(`https://api.tradingeconomics.com/country/all/discontinued?c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getDiscontinuedIndicators().then(function(data){
  console.log(data)       
});
```

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

**C#**
```c#
new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/country/all/discontinued?c=your_api_key");
```

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

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

**JSON**
```text
https://api.tradingeconomics.com/country/all/discontinued?c={your_api_key}&f=json
```
```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.0,
    "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.0,
    "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"
  }
]
```

**CSV**
```text
https://api.tradingeconomics.com/country/all/discontinued?c={your_api_key}&f=csv
```
```bash
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
```

**HTML**
```text
https://api.tradingeconomics.com/country/all/discontinued?c={your_api_key}
```

```text
https://api.tradingeconomics.com/country/{countries}/discontinued?c={your_api_key}
```

| 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 |

## Response fields

| Field    | Type   | Description                             | Example                 |
| ---------| -------|-----------------------------------------|-------------------------|
| Country  | string | Name of the country associated with the indicator.          | "Serbia"                |
| Category | string | Name of the economic indicator or data category.       | "Labour Costs"          |
| Ticker   | string | Unique ticker code usded by Trading Economics to identifying the indicator.  | "SERBIALABCOS"          |
| Reason   | string | Explanation of why a change occurred.                    | "Frequency"             |
| Date     | string | Release date and time of the data in UTC.                      | "10/29/2024 3:47:29 AM" |

