# Eurostat Snapshot of Latest Values

> Use the following API endpoints to obtain Eurostat snapshot data.

Source: https://docs.tradingeconomics.com/eurostat/snapshot/

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.

## By symbol

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat/symbol/51640?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.getEurostatData(symbol = '51640')
```

**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/eurostat/symbol/51640?c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getEurostatData(symbol ='51640').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/eurostat/symbol/51640?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.

**JSON**

```text
https://api.tradingeconomics.com/eurostat/symbol/{symbol}?c={your_api_key}&f=json
```

```json
[
  {
    "ID": 51640,
    "Country": "Denmark",
    "Category": "Real effective exchange rate (42 trading partners, based on HICP/CPI)",
    "CategoryGroup": "Macroeconomic imbalance procedure indicators",
    "URL": "/denmark/real-effective-exchange-rate-42-trading-partners-based-on-hicp-cpi-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": -1.0,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": -1.2,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": -2.1,
    "FirstValueDate": "1997-12-31T00:00:00",
    "HighestValue": 8.4,
    "HighestValueDate": "2003-12-31T00:00:00",
    "LowestValue": -7.8,
    "LowestValueDate": "2012-12-31T00:00:00",
    "LastUpdate": "2025-01-17T12:02:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat/symbol/{symbol}?c={your_api_key}&f=csv
```

```bash
ID	Country	Category	CategoryGroup	URL	Unit	Frequency	LatestValue	LatestValueDate	PreviousValue	PreviousValueDate	FirstValue	FirstValueDate	HighestValue	HighestValueDate	LowestValue	LowestValueDate	LastUpdate
51640	Denmark	Real effective exchange rate (42 trading partners, based on HICP/CPI)	Macroeconomic imbalance procedure indicators	/denmark/real-effective-exchange-rate-42-trading-partners-based-on-hicp-cpi-eurostat-data.html	%	Yearly	-1.00	12/31/2023 12:00:00 AM	-1.20	12/31/2022 12:00:00 AM	-2.10	12/31/1997 12:00:00 AM	8.40	12/31/2003 12:00:00 AM	-7.80	12/31/2012 12:00:00 AM	1/17/2025 12:02:00 PM
```

**HTML**

```text
https://api.tradingeconomics.com/eurostat/symbol/{symbol}?c={your_api_key}
```

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 51640 | Denmark | "Real effective exchange rate (42 trading partners, based on HICP/CPI)" | Macroeconomic imbalance procedure indicators | /denmark/real-effective-exchange-rate-42-trading-partners-based-on-hicp-cpi-eurostat-data.html | % | Yearly | -1.00 | 12/31/2023 12:00:00 AM | -1.20 | 12/31/2022 12:00:00 AM | -2.10 | 12/31/1997 12:00:00 AM	| 8.40 | 12/31/2003 12:00:00 AM | -7.80 | 12/31/2012 12:00:00 AM | 1/17/2025 12:02:00 PM |

## By category group

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat?category_group=Poverty&c={your_api_key}'
data = requests.get(url).json()
print(data)
```

*Or using our package:*
```python
te.getEurostatData(category_group = 'Poverty')
```

**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/eurostat?category_group=Poverty&c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getEurostatData(category_group = 'Poverty').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/eurostat?category_group=Poverty&c=your_api_key"))
```

**JSON**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category_goup={category_group}&f=json
```

```json
[
  {
    "ID": 15371,
    "Country": "Bulgaria",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 20.6,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 22.9,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 14.0,
    "FirstValueDate": "2000-12-31T00:00:00",
    "HighestValue": 23.8,
    "HighestValueDate": "2020-12-31T00:00:00",
    "LowestValue": 14.0,
    "LowestValueDate": "2002-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  },
  {
    "ID": 15373,
    "Country": "Czech Republic",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/czech-republic/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 9.8,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 10.2,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 8.0,
    "FirstValueDate": "2001-12-31T00:00:00",
    "HighestValue": 10.4,
    "HighestValueDate": "2005-12-31T00:00:00",
    "LowestValue": 8.0,
    "LowestValueDate": "2001-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  },
  {
    "ID": 15375,
    "Country": "Denmark",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/denmark/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 12.4,
    "LatestValueDate": "2022-12-31T00:00:00",
    "PreviousValue": 12.3,
    "PreviousValueDate": "2021-12-31T00:00:00",
    "FirstValue": 10.0,
    "FirstValueDate": "2001-12-31T00:00:00",
    "HighestValue": 13.3,
    "HighestValueDate": "2010-12-31T00:00:00",
    "LowestValue": 10.0,
    "LowestValueDate": "2001-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category_goup={category_group}&f=csv
```

```bash
ID,Country,Category,CategoryGroup,URL,Unit,Frequency,LatestValue,LatestValueDate,PreviousValue,PreviousValueDate,FirstValue,FirstValueDate,HighestValue,HighestValueDate,LowestValue,LowestValueDate,LastUpdate
15371,Bulgaria,People at risk of income poverty after social transfers,Poverty,/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,20.60,12/31/2023 12:00:00 AM,22.90,12/31/2022 12:00:00 AM,14.00,12/31/2000 12:00:00 AM,23.80,12/31/2020 12:00:00 AM,14.00,12/31/2002 12:00:00 AM,3/9/2024 11:38:00 AM
15373,Czech Republic,People at risk of income poverty after social transfers,Poverty,/czech-republic/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,9.80,12/31/2023 12:00:00 AM,10.20,12/31/2022 12:00:00 AM,8.00,12/31/2001 12:00:00 AM,10.40,12/31/2005 12:00:00 AM,8.00,12/31/2001 12:00:00 AM,3/9/2024 11:38:00 AM
15375,Denmark,People at risk of income poverty after social transfers,Poverty,/denmark/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,12.40,12/31/2022 12:00:00 AM,12.30,12/31/2021 12:00:00 AM,10.00,12/31/2001 12:00:00 AM,13.30,12/31/2010 12:00:00 AM,10.00,12/31/2001 12:00:00 AM,3/9/2024 11:38:00 AM
```

**HTML**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category_goup={category_group}
```

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 15371 | Bulgaria | People at risk of income poverty after social transfers | Poverty | /bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 20.60 | 12/31/2023 12:00:00 AM | 22.90 | 12/31/2022 12:00:00 AM | 14.00 | 12/31/2000 12:00:00 AM | 23.80 | 12/31/2020 12:00:00 AM | 14.00 | 12/31/2002 12:00:00 AM | 3/9/2024 11:38:00 AM |
| 15373 | Czech Republic | People at risk of income poverty after social transfers | Poverty | /czech-republic/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 9.80 | 12/31/2023 12:00:00 AM | 10.20 | 12/31/2022 12:00:00 AM | 8.00 | 12/31/2000 12:00:00 AM | 10.40 | 12/31/2020 12:00:00 AM | 8.00 | 12/31/2002 12:00:00 AM | 3/9/2024 11:38:00 AM |
| 15375 | Denmark | People at risk of income poverty after social transfers | Poverty | /denmark/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 12.40 | 12/31/2022 12:00:00 AM | 12.30 | 12/31/2021 12:00:00 AM | 10.00 | 12/31/2001 12:00:00 AM | 13.30 | 12/31/2010 12:00:00 AM | 10.00 | 12/31/2001 12:00:00 AM | 3/9/2024 11:38:00 AM |

## By category

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat?category=People%20at%20risk%20of%20income%20poverty%20after%20social%20transfers&c={your_api_key}'
data = requests.get(url).json()
print(data)
```

*Or using our package:*
```python
te.getEurostatData(category = 'People at risk of income poverty after social transfers')
```

**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/eurostat?category=People%20at%20risk%20of%20income%20poverty%20after%20social%20transfers&c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getEurostatData(category = 'People at risk of income poverty after social transfers').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/eurostat?category=People%20at%20risk%20of%20income%20poverty%20after%20social%20transfers&c=your_api_key"))
```

**JSON**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category={category}&f=json
```

```json
[
  {
    "ID": 15407,
    "Country": "Austria",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/austria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 14.8,
    "LatestValueDate": "2022-12-31T00:00:00",
    "PreviousValue": 14.7,
    "PreviousValueDate": "2021-12-31T00:00:00",
    "FirstValue": 12.0,
    "FirstValueDate": "2000-12-31T00:00:00",
    "HighestValue": 15.2,
    "HighestValueDate": "2008-12-31T00:00:00",
    "LowestValue": 12.0,
    "LowestValueDate": "2007-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  },
  {
    "ID": 15369,
    "Country": "Belgium",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/belgium/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 12.3,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 13.2,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 13.0,
    "FirstValueDate": "2000-12-31T00:00:00",
    "HighestValue": 16.4,
    "HighestValueDate": "2018-12-31T00:00:00",
    "LowestValue": 12.3,
    "LowestValueDate": "2023-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  },
  {
    "ID": 15371,
    "Country": "Bulgaria",
    "Category": "People at risk of income poverty after social transfers",
    "CategoryGroup": "Poverty",
    "URL": "/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 20.6,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 22.9,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 14.0,
    "FirstValueDate": "2000-12-31T00:00:00",
    "HighestValue": 23.8,
    "HighestValueDate": "2020-12-31T00:00:00",
    "LowestValue": 14.0,
    "LowestValueDate": "2002-12-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category={category}&f=csv
```

```bash
ID,Country,Category,CategoryGroup,URL,Unit,Frequency,LatestValue,LatestValueDate,PreviousValue,PreviousValueDate,FirstValue,FirstValueDate,HighestValue,HighestValueDate,LowestValue,LowestValueDate,LastUpdate
15407,Austria,People at risk of income poverty after social transfers,Poverty,/austria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,14.80,12/31/2022 12:00:00 AM,14.70,12/31/2021 12:00:00 AM,12.00,12/31/2000 12:00:00 AM,15.20,12/31/2008 12:00:00 AM,12.00,12/31/2007 12:00:00 AM,3/9/2024 11:38:00 AM
15369,Belgium,People at risk of income poverty after social transfers,Poverty,/belgium/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,12.30,12/31/2023 12:00:00 AM,13.20,12/31/2022 12:00:00 AM,13.00,12/31/2000 12:00:00 AM,16.40,12/31/2018 12:00:00 AM,12.30,12/31/2023 12:00:00 AM,3/9/2024 11:38:00 AM
15371,Bulgaria,People at risk of income poverty after social transfers,Poverty,/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html,%,Yearly,20.60,12/31/2023 12:00:00 AM,22.90,12/31/2022 12:00:00 AM,14.00,12/31/2000 12:00:00 AM,23.80,12/31/2020 12:00:00 AM,14.00,12/31/2002 12:00:00 AM,3/9/2024 11:38:00 AM
```

**HTML**

```text
https://api.tradingeconomics.com/eurostat?c={your_api_key}&category={category}
```

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 15407 | Austria | People at risk of income poverty after social transfers | Poverty | austria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 4.80 | 12/31/2022 12:00:00 AM | 14.70 | 12/31/2021 12:00:00 AM | 12.00 | 12/31/2000 12:00:00 AM | 15.20 | 12/31/2008 12:00:00 AM | 12.00 | 12/31/2007 12:00:00 AM | 3/9/2024 11:38:00 AM |
| 15369 | Belgium | People at risk of income poverty after social transfers | Poverty | /belgium/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 12.30 | 12/31/2023 12:00:00 AM | 13.20 | 12/31/2022 12:00:00 AM | 13.00 | 12/31/2000 12:00:00 AM | 16.40 | 12/31/2018 12:00:00 AM | 12.30 | 12/31/2023 12:00:00 AM | 3/9/2024 11:38:00 AM |
| 15371 | Bulgaria | People at risk of income poverty after social transfers | Poverty | /bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html | % | Yearly | 20.60 | 12/31/2023 12:00:00 AM | 22.90 | 12/31/2022 12:00:00 AM | 14.00 | 12/31/2000 12:00:00 AM | 23.80 | 12/31/2020 12:00:00 AM | 14.00 | 12/31/2002 12:00:00 AM | 3/9/2024 11:38:00 AM |

## By country

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat/country/Denmark?c={your_api_key}'
data = requests.get(url).json()
print(data)
```

*Or using our package:*
```python
te.getEurostatData(country = 'Denmark')
```

**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/eurostat/country/Denmark?c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getEurostatData(country = 'Denmark').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/eurostat/country/Denmark?c=your_api_key"))
```

**JSON**

```text
https://api.tradingeconomics.com/eurostat/country/{country}&f=json?c={your_api_key}
```

```json
[
  {
    "ID": 622,
    "Country": "Denmark",
    "Category": "Wheat and spelt: Area (cultivation/harvested/production)",
    "CategoryGroup": "Agriculture",
    "URL": "/denmark/wheat-spelt-area-cultivation-harvested-production-eurostat-data.html",
    "Unit": "thousand ha",
    "Frequency": "Yearly",
    "LatestValue": 489.0,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 497.3,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 747.0,
    "FirstValueDate": "2011-12-31T00:00:00",
    "HighestValue": 747.0,
    "HighestValueDate": "2011-12-31T00:00:00",
    "LowestValue": 425.8,
    "LowestValueDate": "2018-12-31T00:00:00",
    "LastUpdate": "2024-03-14T11:27:00"
  },
  {
    "ID": 751,
    "Country": "Denmark",
    "Category": "Rye and winter cereal mixtures: Area (cultivation/harvested/production)",
    "CategoryGroup": "Agriculture",
    "URL": "/denmark/rye-winter-cereal-mixtures-area-cultivation-harvested-production-eurostat-data.html",
    "Unit": "thousand ha",
    "Frequency": "Yearly",
    "LatestValue": 106.0,
    "LatestValueDate": "2024-12-31T00:00:00",
    "PreviousValue": 108.6,
    "PreviousValueDate": "2023-12-31T00:00:00",
    "FirstValue": 57.6,
    "FirstValueDate": "2011-12-31T00:00:00",
    "HighestValue": 146.6,
    "HighestValueDate": "2019-12-31T00:00:00",
    "LowestValue": 57.6,
    "LowestValueDate": "2011-12-31T00:00:00",
    "LastUpdate": "2024-03-14T11:27:00"
  },
  {
    "ID": 880,
    "Country": "Denmark",
    "Category": "Barley: Area (cultivation/harvested/production)",
    "CategoryGroup": "Agriculture",
    "URL": "/denmark/barley-area-cultivation-harvested-production-eurostat-data.html",
    "Unit": "thousand ha",
    "Frequency": "Yearly",
    "LatestValue": 561.0,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 614.5,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 602.8,
    "FirstValueDate": "2011-12-31T00:00:00",
    "HighestValue": 795.3,
    "HighestValueDate": "2018-12-31T00:00:00",
    "LowestValue": 561.0,
    "LowestValueDate": "2023-12-31T00:00:00",
    "LastUpdate": "2024-03-14T11:27:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat/country/{country}&f=csv?c={your_api_key}
```

```bash
ID,Country,Category,CategoryGroup,URL,Unit,Frequency,LatestValue,LatestValueDate,PreviousValue,PreviousValueDate,FirstValue,FirstValueDate,HighestValue,HighestValueDate,LowestValue,LowestValueDate,LastUpdate
622,Denmark,Wheat and spelt: Area (cultivation/harvested/production),Agriculture,/denmark/wheat-spelt-area-cultivation-harvested-production-eurostat-data.html,thousand ha,Yearly,489.00,12/31/2023 12:00:00 AM,497.30,12/31/2022 12:00:00 AM,747.00,12/31/2011 12:00:00 AM,747.00,12/31/2011 12:00:00 AM,425.80,12/31/2018 12:00:00 AM,3/14/2024 11:27:00 AM
751,Denmark,Rye and winter cereal mixtures: Area (cultivation/harvested/production),Agriculture,/denmark/rye-winter-cereal-mixtures-area-cultivation-harvested-production-eurostat-data.html,thousand ha,Yearly,106.00,12/31/2024 12:00:00 AM,108.60,12/31/2023 12:00:00 AM,57.60,12/31/2011 12:00:00 AM,146.60,12/31/2019 12:00:00 AM,57.60,12/31/2011 12:00:00 AM,3/14/2024 11:27:00 AM
880,Denmark,Barley: Area (cultivation/harvested/production),Agriculture,/denmark/barley-area-cultivation-harvested-production-eurostat-data.html,thousand ha,Yearly,561.00,12/31/2023 12:00:00 AM,614.50,12/31/2022 12:00:00 AM,602.80,12/31/2011 12:00:00 AM,795.30,12/31/2018 12:00:00 AM,561.00,12/31/2023 12:00:00 AM,3/14/2024 11:27:00 AM
```

**HTML**

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

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 622 | Denmark | Wheat and spelt: Area (cultivation/harvested/production) | Agriculture | /denmark/wheat-spelt-area-cultivation-harvested-production-eurostat-data.html | thousand ha | Yearly | 489.00 | 12/31/2023 12:00:00 AM | 497.30 | 12/31/2022 12:00:00 AM | 747.00 | 12/31/2000 12:00:00 AM | 747.00 | 12/31/2011 12:00:00 AM | 425.80 | 12/31/2018 12:00:00 AM | 3/14/2024 11:27:00 AM |
| 751 | Denmark | Rye and winter cereal mixtures: Area (cultivation/harvested/production) | Agriculture | denmark/rye-winter-cereal-mixtures-area-cultivation-harvested-production-eurostat-data.html | thousand ha | Yearly | 106.00 | 12/31/2024 12:00:00 AM | 108.60 | 12/31/2023 12:00:00 AM | 57.60 | 12/31/2011 12:00:00 AM | 146.60 | 12/31/2019 12:00:00 AM | 57.60 | 12/31/2011 12:00:00 AM | 3/14/2024 11:27:00 AM |
| 880 | Denmark | Barley: Area (cultivation/harvested/production) | Agriculture | /denmark/barley-area-cultivation-harvested-production-eurostat-data.html | thousand ha | Yearly | 561.00 | 12/31/2023 12:00:00 AM | 614.50 | 12/31/2022 12:00:00 AM | 602.80 | 12/31/2011 12:00:00 AM | 795.30 | 12/31/2018 12:00:00 AM | 561.00 | 12/31/2023 12:00:00 AM | 3/14/2024 11:27:00 AM |

## By country and category group

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat/country/Denmark?category_group=Interest%20rates&c={your_api_key}'
data = requests.get(url).json()
print(data)
```

*Or using our package:*
```python
te.getEurostatData(country = 'Denmark', category_group = 'Interest rates')  
```

**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/eurostat/country/Denmark?category_group=Interest%20rates&c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getEurostatData(country = 'Denmark',
 category_group = 'Interest rates').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/eurostat/country/Denmark?category_group=Interest%20rates&c=your_api_key"))
```

**JSON**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category_group={category_group}&f=json
```

```json
[
  {
    "ID": 7513,
    "Country": "Denmark",
    "Category": "3 Month Interest Rate",
    "CategoryGroup": "Interest rates",
    "URL": "/denmark/3-month-interest-rate-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Monthly",
    "LatestValue": 3.88,
    "LatestValueDate": "2024-02-29T00:00:00",
    "PreviousValue": 3.89,
    "PreviousValueDate": "2024-01-31T00:00:00",
    "FirstValue": -0.21,
    "FirstValueDate": "2021-08-31T00:00:00",
    "HighestValue": 3.97,
    "HighestValueDate": "2023-10-31T00:00:00",
    "LowestValue": -0.29,
    "LowestValueDate": "2022-01-31T00:00:00",
    "LastUpdate": "2024-03-14T11:27:00"
  },
  {
    "ID": 12618,
    "Country": "Denmark",
    "Category": "EMU convergence criterion series",
    "CategoryGroup": "Interest rates",
    "URL": "/denmark/emu-convergence-criterion-series-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Yearly",
    "LatestValue": 2.64,
    "LatestValueDate": "2023-12-31T00:00:00",
    "PreviousValue": 1.48,
    "PreviousValueDate": "2022-12-31T00:00:00",
    "FirstValue": 2.93,
    "FirstValueDate": "2010-12-31T00:00:00",
    "HighestValue": 2.93,
    "HighestValueDate": "2010-12-31T00:00:00",
    "LowestValue": -0.36,
    "LowestValueDate": "2020-12-31T00:00:00",
    "LastUpdate": "2024-03-14T11:27:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category_group={category_group}&f=csv
```

```bash
ID,Country,Category,CategoryGroup,URL,Unit,Frequency,LatestValue,LatestValueDate,PreviousValue,PreviousValueDate,FirstValue,FirstValueDate,HighestValue,HighestValueDate,LowestValue,LowestValueDate,LastUpdate
7513,Denmark,3 Month Interest Rate,Interest rates,/denmark/3-month-interest-rate-eurostat-data.html,%,Monthly,3.88,2/29/2024 12:00:00 AM,3.89,1/31/2024 12:00:00 AM,-0.21,8/31/2021 12:00:00 AM,3.97,10/31/2023 12:00:00 AM,-0.29,1/31/2022 12:00:00 AM,3/14/2024 11:27:00 AM
12618,Denmark,EMU convergence criterion series,Interest rates,/denmark/emu-convergence-criterion-series-eurostat-data.html,%,Yearly,2.64,12/31/2023 12:00:00 AM,1.48,12/31/2022 12:00:00 AM,2.93,12/31/2010 12:00:00 AM,2.93,12/31/2010 12:00:00 AM,-0.36,12/31/2020 12:00:00 AM,3/14/2024 11:27:00 AM
```

**HTML**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category_group={category_group}
```

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 7513 | Denmark | 3 Month Interest Rate | Interest rates | /denmark/3-month-interest-rate-eurostat-data.html | % | Monthly | 3.88 | 2/29/2024 12:00:00 AM | 3.89 | 1/31/2024 12:00:00 AM | -0.21 | 8/31/2021 12:00:00 AM | 3.97 | 10/31/2023 12:00:00 AM | -0.29 | 1/31/2022 12:00:00 AM | 3/14/2024 11:27:00 AM |
| 7513 | Denmark | EMU convergence criterion series | Interest rates | /denmark/emu-convergence-criterion-series-eurostat-data.html | % | Yearly | 2.64 | 12/31/2023 12:00:00 AM | 1.48 | 12/31/2022 12:00:00 AM | 2.93 | 12/31/2010 12:00:00 AM | 2.93 | 12/31/2010 12:00:00 AM | -0.36 | 12/31/2020 12:00:00 AM | 3/14/2024 11:27:00 AM |

## By country and category

**PYTHON**
*Using Requests:*
```python
import requests
your_api_key = 'your_api_key'
url = f'https://api.tradingeconomics.com/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c={your_api_key}'
data = requests.get(url).json()
print(data)
```

*Or using our package:*
```python
te.getEurostatData(country = 'European Union',
 category = 'Harmonised unemployment rate: Females')
```

**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/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c=${your_api_key}`)
    console.log(response.data)
})()
```
*Or using our package:*
```javascript
data = te.getEurostatData(country = 'European Union',
 category = 'Harmonised unemployment rate: Females').then(function(data){
  console.log(data)       
});
```

**C#**
*Using Requests:*
```c#
using (var request = new HttpRequestMessage(new HttpMethod("GET"), "https://api.tradingeconomics.com/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c=your_api_key"))
```

**JSON**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category={category}&f=json
```

```json
[
  {
    "ID": 7173,
    "Country": "European Union",
    "Category": "Harmonised unemployment rate: Females",
    "CategoryGroup": "Labour",
    "URL": "/european-union/harmonised-unemployment-rate-females-eurostat-data.html",
    "Unit": "%",
    "Frequency": "Monthly",
    "LatestValue": 6.3,
    "LatestValueDate": "2024-01-31T00:00:00",
    "PreviousValue": 6.3,
    "PreviousValueDate": "2023-12-31T00:00:00",
    "FirstValue": 7.2,
    "FirstValueDate": "2021-08-31T00:00:00",
    "HighestValue": 7.2,
    "HighestValueDate": "2021-08-31T00:00:00",
    "LowestValue": 6.3,
    "LowestValueDate": "2024-01-31T00:00:00",
    "LastUpdate": "2024-03-09T11:38:00"
  }
]
```

**CSV**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category={category}&f=csv
```

```bash
ID,Country,Category,CategoryGroup,URL,Unit,Frequency,LatestValue,LatestValueDate,PreviousValue,PreviousValueDate,FirstValue,FirstValueDate,HighestValue,HighestValueDate,LowestValue,LowestValueDate,LastUpdate
7173,European Union,Harmonised unemployment rate: Females,Labour,/european-union/harmonised-unemployment-rate-females-eurostat-data.html,%,Monthly,6.30,1/31/2024 12:00:00 AM,6.30,12/31/2023 12:00:00 AM,7.20,8/31/2021 12:00:00 AM,7.20,8/31/2021 12:00:00 AM,6.30,1/31/2024 12:00:00 AM,3/9/2024 11:38:00 AM
```

**HTML**

```text
https://api.tradingeconomics.com/eurostat/country/{country}?c={your_api_key}&category={category}
```

| ID | Country | Category | CategoryGroup | URL | Unit | Frequency | LatestValue | LatestValueDate | PreviousValue | PreviousValueDate | FirstValue | FirstValueDate | HighestValue | HighestValueDate | LowestValue | LowestValueDate | LastUpdate |
|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|-------|
| 7173 | Denmark | Harmonised unemployment rate: Females | Labour | /european-union/harmonised-unemployment-rate-females-eurostat-data.html | % | Monthly | 6.30 | 1/31/2024 12:00:00 AM | 6.30 | 12/31/2023 12:00:00 AM | 7.20 | 8/31/2021 12:00:00 AM | 7.20 | 8/31/2021 12:00:00 AM | 6.30 | 1/31/2024 12:00:00 AM | 3/9/2024 11:38:00 AM |

## Response fields

| Field             | Type   | Description                                 | Example                                                   |
| ------------------| -------|---------------------------------------------|-----------------------------------------------------------|
| ID                | number | Trading Economics unique identifier                                         | 15371                                                                   |
| Country           | string | Name of the country                                                         | "Bulgaria"                                                              |
| Category          | string | Name of the indicator or measure                                           | "People at risk of income poverty after social transfers"               |
| CategoryGroup     | string | Broader group to which the category belongs                                | "Poverty"                                                               |
| URL               | string | Hyperlink to the indicator page on Trading Economics                       | "/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html" |
| Unit              | string | Unit of measurement                                                        | "%"                                                                      |
| Frequency         | string | Frequency of the indicator                                                 | "Yearly"                                                                |
| LatestValue       | number | Most recent reported value                                                 | 22.10                                                                   |
| LatestValueDate   | string | Date of the most recent reported value                                     | "2021-12-31T00:00:00"                                                  |
| PreviousValue     | number | Value reported in the previous period                                      | 23.80                                                                   |
| PreviousValueDate | string | Date of the previous reported value                                        | "2020-12-31T00:00:00"                                                  |
| FirstValue        | number | Earliest historical value available                                        | 14.00                                                                   |
| FirstValueDate    | string | Date of the earliest historical value                                      | "2000-12-31T00:00:00"                                                  |
| HighestValue      | number | Highest recorded value                                                     | 23.80                                                                   |
| HighestValueDate  | string | Date of the highest recorded value                                         | "2020-12-31T00:00:00"                                                  |
| LowestValue       | number | Lowest recorded value                                                      | 14.00                                                                   |
| LowestValueDate   | string | Date of the lowest recorded value                                          | "2002-12-31T00:00:00"                                                  |
| LastUpdate        | string | Timestamp when the data was last inserted or updated                       | "2022-09-09T17:56:00"                                                  |

