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

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/eurostat?category_group=Poverty&c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

import tradingeconomics as te
te.login('your_api_key')
te.getEurostatData(category_group = 'Poverty')

Using Requests:

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

Or using our package:

const te = require('tradingeconomics');
te.login('your_api_key');
data = te.getEurostatData(category_group = 'Poverty').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/eurostat?category_group=Poverty&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.

/eurostat?category_goup={category_group}

IDCountryCategoryCategoryGroupURLUnitFrequencyLatestValueLatestValueDatePreviousValuePreviousValueDateFirstValueFirstValueDateHighestValueHighestValueDateLowestValueLowestValueDateLastUpdate
15371BulgariaPeople at risk of income poverty after social transfersPoverty/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly20.6012/31/2023 12:00:00 AM22.9012/31/2022 12:00:00 AM14.0012/31/2000 12:00:00 AM23.8012/31/2020 12:00:00 AM14.0012/31/2002 12:00:00 AM3/9/2024 11:38:00 AM
15373Czech RepublicPeople at risk of income poverty after social transfersPoverty/czech-republic/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly9.8012/31/2023 12:00:00 AM10.2012/31/2022 12:00:00 AM8.0012/31/2000 12:00:00 AM10.4012/31/2020 12:00:00 AM8.0012/31/2002 12:00:00 AM3/9/2024 11:38:00 AM
15375DenmarkPeople at risk of income poverty after social transfersPoverty/denmark/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly12.4012/31/2022 12:00:00 AM12.3012/31/2021 12:00:00 AM10.0012/31/2001 12:00:00 AM13.3012/31/2010 12:00:00 AM10.0012/31/2001 12:00:00 AM3/9/2024 11:38:00 AM

/eurostat?category_goup={category_group}&f=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.60,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":22.90,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":14.00,"FirstValueDate":"2000-12-31T00:00:00","HighestValue":23.80,"HighestValueDate":"2020-12-31T00:00:00","LowestValue":14.00,"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.80,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":10.20,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":8.00,"FirstValueDate":"2001-12-31T00:00:00","HighestValue":10.40,"HighestValueDate":"2005-12-31T00:00:00","LowestValue":8.00,"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.40,"LatestValueDate":"2022-12-31T00:00:00","PreviousValue":12.30,"PreviousValueDate":"2021-12-31T00:00:00","FirstValue":10.00,"FirstValueDate":"2001-12-31T00:00:00","HighestValue":13.30,"HighestValueDate":"2010-12-31T00:00:00","LowestValue":10.00,"LowestValueDate":"2001-12-31T00:00:00","LastUpdate":"2024-03-09T11:38:00"}]

/eurostat?category_goup={category_group}&f=csv

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

/eurostat?category_goup={category_group}&f=xml

<ArrayOfEurostat.eurostatitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Bulgaria</Country>
<FirstValue>14.00</FirstValue>
<FirstValueDate>2000-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>23.80</HighestValue>
<HighestValueDate>2020-12-31T00:00:00</HighestValueDate>
<ID>15371</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>20.60</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>14.00</LowestValue>
<LowestValueDate>2002-12-31T00:00:00</LowestValueDate>
<PreviousValue>22.90</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Czech Republic</Country>
<FirstValue>8.00</FirstValue>
<FirstValueDate>2001-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>10.40</HighestValue>
<HighestValueDate>2005-12-31T00:00:00</HighestValueDate>
<ID>15373</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>9.80</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>8.00</LowestValue>
<LowestValueDate>2001-12-31T00:00:00</LowestValueDate>
<PreviousValue>10.20</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/czech-republic/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>10.00</FirstValue>
<FirstValueDate>2001-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>13.30</HighestValue>
<HighestValueDate>2010-12-31T00:00:00</HighestValueDate>
<ID>15375</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>12.40</LatestValue>
<LatestValueDate>2022-12-31T00:00:00</LatestValueDate>
<LowestValue>10.00</LowestValue>
<LowestValueDate>2001-12-31T00:00:00</LowestValueDate>
<PreviousValue>12.30</PreviousValue>
<PreviousValueDate>2021-12-31T00:00:00</PreviousValueDate>
<URL>/denmark/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
</ArrayOfEurostat.eurostatitem>

By category

Using Requests:

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

Or using our package:

te.getEurostatData(category = 'People at risk of income poverty after social transfers')

Using Requests:

const axios = require('axios');
(async () => {
    const 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=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getEurostatData(category = 'People at risk of income poverty after social transfers').then(function(data){
  console.log(data)       
});

Using Requests:

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

/eurostat?category={category}

IDCountryCategoryCategoryGroupURLUnitFrequencyLatestValueLatestValueDatePreviousValuePreviousValueDateFirstValueFirstValueDateHighestValueHighestValueDateLowestValueLowestValueDateLastUpdate
15407AustriaPeople at risk of income poverty after social transfersPovertyaustria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly4.8012/31/2022 12:00:00 AM14.7012/31/2021 12:00:00 AM12.0012/31/2000 12:00:00 AM15.2012/31/2008 12:00:00 AM12.0012/31/2007 12:00:00 AM3/9/2024 11:38:00 AM
15369BelgiumPeople at risk of income poverty after social transfersPoverty/belgium/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly12.3012/31/2023 12:00:00 AM13.2012/31/2022 12:00:00 AM13.0012/31/2000 12:00:00 AM16.4012/31/2018 12:00:00 AM12.3012/31/2023 12:00:00 AM3/9/2024 11:38:00 AM
15371BulgariaPeople at risk of income poverty after social transfersPoverty/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html%Yearly20.6012/31/2023 12:00:00 AM22.9012/31/2022 12:00:00 AM14.0012/31/2000 12:00:00 AM23.8012/31/2020 12:00:00 AM14.0012/31/2002 12:00:00 AM3/9/2024 11:38:00 AM

/eurostat?category={category}&f=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.80,"LatestValueDate":"2022-12-31T00:00:00","PreviousValue":14.70,"PreviousValueDate":"2021-12-31T00:00:00","FirstValue":12.00,"FirstValueDate":"2000-12-31T00:00:00","HighestValue":15.20,"HighestValueDate":"2008-12-31T00:00:00","LowestValue":12.00,"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.30,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":13.20,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":13.00,"FirstValueDate":"2000-12-31T00:00:00","HighestValue":16.40,"HighestValueDate":"2018-12-31T00:00:00","LowestValue":12.30,"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.60,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":22.90,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":14.00,"FirstValueDate":"2000-12-31T00:00:00","HighestValue":23.80,"HighestValueDate":"2020-12-31T00:00:00","LowestValue":14.00,"LowestValueDate":"2002-12-31T00:00:00","LastUpdate":"2024-03-09T11:38:00"}]

/eurostat?category={category}&f=csv

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

/eurostat?category={category}&f=xml

<ArrayOfEurostat.eurostatitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Austria</Country>
<FirstValue>12.00</FirstValue>
<FirstValueDate>2000-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>15.20</HighestValue>
<HighestValueDate>2008-12-31T00:00:00</HighestValueDate>
<ID>15407</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>14.80</LatestValue>
<LatestValueDate>2022-12-31T00:00:00</LatestValueDate>
<LowestValue>12.00</LowestValue>
<LowestValueDate>2007-12-31T00:00:00</LowestValueDate>
<PreviousValue>14.70</PreviousValue>
<PreviousValueDate>2021-12-31T00:00:00</PreviousValueDate>
<URL>/austria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Belgium</Country>
<FirstValue>13.00</FirstValue>
<FirstValueDate>2000-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>16.40</HighestValue>
<HighestValueDate>2018-12-31T00:00:00</HighestValueDate>
<ID>15369</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>12.30</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>12.30</LowestValue>
<LowestValueDate>2023-12-31T00:00:00</LowestValueDate>
<PreviousValue>13.20</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/belgium/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>People at risk of income poverty after social transfers</Category>
<CategoryGroup>Poverty</CategoryGroup>
<Country>Bulgaria</Country>
<FirstValue>14.00</FirstValue>
<FirstValueDate>2000-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>23.80</HighestValue>
<HighestValueDate>2020-12-31T00:00:00</HighestValueDate>
<ID>15371</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>20.60</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>14.00</LowestValue>
<LowestValueDate>2002-12-31T00:00:00</LowestValueDate>
<PreviousValue>22.90</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
</ArrayOfEurostat.eurostatitem>

By country

Using Requests:

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

Or using our package:

te.getEurostatData(country = 'Denmark')

Using Requests:

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

Or using our package:

data = te.getEurostatData(country = 'Denmark').then(function(data){
  console.log(data)       
});

Using Requests:

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

/eurostat/country/{country}

IDCountryCategoryCategoryGroupURLUnitFrequencyLatestValueLatestValueDatePreviousValuePreviousValueDateFirstValueFirstValueDateHighestValueHighestValueDateLowestValueLowestValueDateLastUpdate
622DenmarkWheat and spelt: Area (cultivation/harvested/production)Agriculture/denmark/wheat-spelt-area-cultivation-harvested-production-eurostat-data.htmlthousand haYearly489.0012/31/2023 12:00:00 AM497.3012/31/2022 12:00:00 AM747.0012/31/2000 12:00:00 AM747.0012/31/2011 12:00:00 AM425.8012/31/2018 12:00:00 AM3/14/2024 11:27:00 AM
751DenmarkRye and winter cereal mixtures: Area (cultivation/harvested/production)Agriculturedenmark/rye-winter-cereal-mixtures-area-cultivation-harvested-production-eurostat-data.htmlthousand haYearly106.0012/31/2024 12:00:00 AM108.6012/31/2023 12:00:00 AM57.6012/31/2011 12:00:00 AM146.6012/31/2019 12:00:00 AM57.6012/31/2011 12:00:00 AM3/14/2024 11:27:00 AM
880DenmarkBarley: Area (cultivation/harvested/production)Agriculture/denmark/barley-area-cultivation-harvested-production-eurostat-data.htmlthousand haYearly561.0012/31/2023 12:00:00 AM614.5012/31/2022 12:00:00 AM602.8012/31/2011 12:00:00 AM795.3012/31/2018 12:00:00 AM561.0012/31/2023 12:00:00 AM3/14/2024 11:27:00 AM

/eurostat/country/{country}&f=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.00,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":497.30,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":747.00,"FirstValueDate":"2011-12-31T00:00:00","HighestValue":747.00,"HighestValueDate":"2011-12-31T00:00:00","LowestValue":425.80,"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.00,"LatestValueDate":"2024-12-31T00:00:00","PreviousValue":108.60,"PreviousValueDate":"2023-12-31T00:00:00","FirstValue":57.60,"FirstValueDate":"2011-12-31T00:00:00","HighestValue":146.60,"HighestValueDate":"2019-12-31T00:00:00","LowestValue":57.60,"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.00,"LatestValueDate":"2023-12-31T00:00:00","PreviousValue":614.50,"PreviousValueDate":"2022-12-31T00:00:00","FirstValue":602.80,"FirstValueDate":"2011-12-31T00:00:00","HighestValue":795.30,"HighestValueDate":"2018-12-31T00:00:00","LowestValue":561.00,"LowestValueDate":"2023-12-31T00:00:00","LastUpdate":"2024-03-14T11:27:00"}]

/eurostat/country/{country}&f=csv

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

/eurostat/country/{country}&f=xml

<ArrayOfEurostat.eurostatitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Eurostat.eurostatitem>
<Category>Wheat and spelt: Area (cultivation/harvested/production)</Category>
<CategoryGroup>Agriculture</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>747.00</FirstValue>
<FirstValueDate>2011-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>747.00</HighestValue>
<HighestValueDate>2011-12-31T00:00:00</HighestValueDate>
<ID>622</ID>
<LastUpdate>2024-03-14T11:27:00</LastUpdate>
<LatestValue>489.00</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>425.80</LowestValue>
<LowestValueDate>2018-12-31T00:00:00</LowestValueDate>
<PreviousValue>497.30</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/denmark/wheat-spelt-area-cultivation-harvested-production-eurostat-data.html</URL>
<Unit>thousand ha</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>Rye and winter cereal mixtures: Area (cultivation/harvested/production)</Category>
<CategoryGroup>Agriculture</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>57.60</FirstValue>
<FirstValueDate>2011-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>146.60</HighestValue>
<HighestValueDate>2019-12-31T00:00:00</HighestValueDate>
<ID>751</ID>
<LastUpdate>2024-03-14T11:27:00</LastUpdate>
<LatestValue>106.00</LatestValue>
<LatestValueDate>2024-12-31T00:00:00</LatestValueDate>
<LowestValue>57.60</LowestValue>
<LowestValueDate>2011-12-31T00:00:00</LowestValueDate>
<PreviousValue>108.60</PreviousValue>
<PreviousValueDate>2023-12-31T00:00:00</PreviousValueDate>
<URL>/denmark/rye-winter-cereal-mixtures-area-cultivation-harvested-production-eurostat-data.html</URL>
<Unit>thousand ha</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>Barley: Area (cultivation/harvested/production)</Category>
<CategoryGroup>Agriculture</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>602.80</FirstValue>
<FirstValueDate>2011-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>795.30</HighestValue>
<HighestValueDate>2018-12-31T00:00:00</HighestValueDate>
<ID>880</ID>
<LastUpdate>2024-03-14T11:27:00</LastUpdate>
<LatestValue>561.00</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>561.00</LowestValue>
<LowestValueDate>2023-12-31T00:00:00</LowestValueDate>
<PreviousValue>614.50</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/denmark/barley-area-cultivation-harvested-production-eurostat-data.html</URL>
<Unit>thousand ha</Unit>
</Eurostat.eurostatitem>
</ArrayOfEurostat.eurostatitem>

By country and category group

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/eurostat/country/Denmark?category_group=Interest%20rates&c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getEurostatData(country = 'Denmark', category_group = 'Interest rates')  

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/eurostat/country/Denmark?category_group=Interest%20rates&c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getEurostatData(country = 'Denmark',
 category_group = 'Interest rates').then(function(data){
  console.log(data)       
});

Using Requests:

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

/eurostat/country/{country}?category_group={category_group}

IDCountryCategoryCategoryGroupURLUnitFrequencyLatestValueLatestValueDatePreviousValuePreviousValueDateFirstValueFirstValueDateHighestValueHighestValueDateLowestValueLowestValueDateLastUpdate
7513Denmark3 Month Interest RateInterest rates/denmark/3-month-interest-rate-eurostat-data.html%Monthly3.882/29/2024 12:00:00 AM3.891/31/2024 12:00:00 AM-0.218/31/2021 12:00:00 AM3.9710/31/2023 12:00:00 AM-0.291/31/2022 12:00:00 AM3/14/2024 11:27:00 AM
7513DenmarkEMU convergence criterion seriesInterest rates/denmark/emu-convergence-criterion-series-eurostat-data.html%Yearly2.6412/31/2023 12:00:00 AM1.4812/31/2022 12:00:00 AM2.9312/31/2010 12:00:00 AM2.9312/31/2010 12:00:00 AM-0.3612/31/2020 12:00:00 AM3/14/2024 11:27:00 AM

/eurostat/country/{country}?category_group={category_group}&f=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"}]

/eurostat/country/{country}?category_group={category_group}&f=csv

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

/eurostat/country/{country}?category_group={category_group}&f=xml

<ArrayOfEurostat.eurostatitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Eurostat.eurostatitem>
<Category>3 Month Interest Rate</Category>
<CategoryGroup>Interest rates</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>-0.21</FirstValue>
<FirstValueDate>2021-08-31T00:00:00</FirstValueDate>
<Frequency>Monthly</Frequency>
<HighestValue>3.97</HighestValue>
<HighestValueDate>2023-10-31T00:00:00</HighestValueDate>
<ID>7513</ID>
<LastUpdate>2024-03-14T11:27:00</LastUpdate>
<LatestValue>3.88</LatestValue>
<LatestValueDate>2024-02-29T00:00:00</LatestValueDate>
<LowestValue>-0.29</LowestValue>
<LowestValueDate>2022-01-31T00:00:00</LowestValueDate>
<PreviousValue>3.89</PreviousValue>
<PreviousValueDate>2024-01-31T00:00:00</PreviousValueDate>
<URL>/denmark/3-month-interest-rate-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
<Eurostat.eurostatitem>
<Category>EMU convergence criterion series</Category>
<CategoryGroup>Interest rates</CategoryGroup>
<Country>Denmark</Country>
<FirstValue>2.93</FirstValue>
<FirstValueDate>2010-12-31T00:00:00</FirstValueDate>
<Frequency>Yearly</Frequency>
<HighestValue>2.93</HighestValue>
<HighestValueDate>2010-12-31T00:00:00</HighestValueDate>
<ID>12618</ID>
<LastUpdate>2024-03-14T11:27:00</LastUpdate>
<LatestValue>2.64</LatestValue>
<LatestValueDate>2023-12-31T00:00:00</LatestValueDate>
<LowestValue>-0.36</LowestValue>
<LowestValueDate>2020-12-31T00:00:00</LowestValueDate>
<PreviousValue>1.48</PreviousValue>
<PreviousValueDate>2022-12-31T00:00:00</PreviousValueDate>
<URL>/denmark/emu-convergence-criterion-series-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
</ArrayOfEurostat.eurostatitem>

By country and category

Using Requests:

import requests
api_key = 'YOUR_API_KEY'
url = f'https://api.tradingeconomics.com/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c={api_key}'
data = requests.get(url).json()
print(data)

Or using our package:

te.getEurostatData(country = 'European Union',
 category = 'Harmonised unemployment rate: Females')

Using Requests:

const axios = require('axios');
(async () => {
    const api_key = 'YOUR_API_KEY'
    const response = await axios.get(`https://api.tradingeconomics.com/eurostat/country/European%20Union?category=Harmonised%20unemployment%20rate:%20Females&c=${api_key}`)
    console.log(response.data)
})()

Or using our package:

data = te.getEurostatData(country = 'European Union',
 category = 'Harmonised unemployment rate: Females').then(function(data){
  console.log(data)       
});

Using Requests:

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

/eurostat/country/{country}?category={category}

IDCountryCategoryCategoryGroupURLUnitFrequencyLatestValueLatestValueDatePreviousValuePreviousValueDateFirstValueFirstValueDateHighestValueHighestValueDateLowestValueLowestValueDateLastUpdate
7173DenmarkHarmonised unemployment rate: FemalesLabour/european-union/harmonised-unemployment-rate-females-eurostat-data.html%Monthly6.301/31/2024 12:00:00 AM6.3012/31/2023 12:00:00 AM7.208/31/2021 12:00:00 AM7.208/31/2021 12:00:00 AM6.301/31/2024 12:00:00 AM3/9/2024 11:38:00 AM

/eurostat/country/{country}?category={category}&f=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.30,"LatestValueDate":"2024-01-31T00:00:00","PreviousValue":6.30,"PreviousValueDate":"2023-12-31T00:00:00","FirstValue":7.20,"FirstValueDate":"2021-08-31T00:00:00","HighestValue":7.20,"HighestValueDate":"2021-08-31T00:00:00","LowestValue":6.30,"LowestValueDate":"2024-01-31T00:00:00","LastUpdate":"2024-03-09T11:38:00"}]

/eurostat/country/{country}?category={category}&f=csv

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

/eurostat/country/{country}?category={category}&f=xml

<ArrayOfEurostat.eurostatitem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APILib.DB">
<Eurostat.eurostatitem>
<Category>Harmonised unemployment rate: Females</Category>
<CategoryGroup>Labour</CategoryGroup>
<Country>European Union</Country>
<FirstValue>7.20</FirstValue>
<FirstValueDate>2021-08-31T00:00:00</FirstValueDate>
<Frequency>Monthly</Frequency>
<HighestValue>7.20</HighestValue>
<HighestValueDate>2021-08-31T00:00:00</HighestValueDate>
<ID>7173</ID>
<LastUpdate>2024-03-09T11:38:00</LastUpdate>
<LatestValue>6.30</LatestValue>
<LatestValueDate>2024-01-31T00:00:00</LatestValueDate>
<LowestValue>6.30</LowestValue>
<LowestValueDate>2024-01-31T00:00:00</LowestValueDate>
<PreviousValue>6.30</PreviousValue>
<PreviousValueDate>2023-12-31T00:00:00</PreviousValueDate>
<URL>/european-union/harmonised-unemployment-rate-females-eurostat-data.html</URL>
<Unit>%</Unit>
</Eurostat.eurostatitem>
</ArrayOfEurostat.eurostatitem>

Response fields

FieldTypeDescriptionExample
IDnumberTrading Economics unique identifier15371
CountrystringCountry name“Bulgaria”
CategorystringCategory name“People at risk of income poverty after social transfers”
Category GroupstringCategory Group name“Poverty”
URLstringHyperlink at Trading Economics“/bulgaria/people-at-risk-of-income-poverty-after-social-transfers-eurostat-data.html”
UnitstringUnit of the value“%”
FrequencystringFrequency of the indicator“Yearly”
LatestValuenumberLatest value22.10
LatestValueDatestringLatest value date“2021-12-31T00:00:00”
PreviousValuenumberPrevious value23.80
PreviousValueDatestringPrevious value date“2020-12-31T00:00:00”
FirstValuenumberFirst historical value14.00
FirstValueDatestringFirst historical value date2000-12-31T00:00:00"
HighestValuenumberHighest value23.80
HighestValueDatestringHighest value date2020-12-31T00:00:00"
LowestValuenumberLowest value14.00
LowestValueDatestringLowest value date“2002-12-31T00:00:00”
LastUpdatestringTime when new data was inserted or changed“2022-09-09T17:56:00”