{"id":2022,"date":"2020-11-24T16:02:26","date_gmt":"2020-11-24T16:02:26","guid":{"rendered":"https:\/\/eodhd.com\/financial-apis\/?p=2022"},"modified":"2025-06-02T14:24:44","modified_gmt":"2025-06-02T12:24:44","slug":"macroeconomics-data-and-macro-indicators-api","status":"publish","type":"post","link":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api","title":{"rendered":"Macro Indicators API"},"content":{"rendered":"\n<p>Macroeconomics is a part of&nbsp;economics&nbsp;dealing with the performance, structure, behavior, and decision-making of an&nbsp;economy&nbsp;as a whole. Our&nbsp;<strong>Macroeconomics Indicators Data API<\/strong>&nbsp;includes regional, national, and&nbsp;global economies<strong>.<\/strong>&nbsp;We provide the data for <strong>more than 30 macro indicators<\/strong> such as&nbsp;GDP,&nbsp;unemployment rates,&nbsp;national income, price indices,&nbsp;inflation rates, consumption, international trades, and many other significant indicators. Most data is provided from <strong>December 1960<\/strong>.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Sign up &amp; Get Data<\/span><\/a><\/p>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-quick-start\">Quick Start<\/h2>\n\n\n\n<p>The Macroeconomics Data API is a part of Fundamental API and is accessible under Fundamental subscription. Each Macroeconomics API request consumes 1 API call. To get macroeconomics indicators use the following URL:<\/p>\n\n\n\n\n    <div class=\"api_url_box\" data-feed=\"Fundamental Data\">\n                    <div class=\"tabs\">\n                                    <div class=\"selected\">URL<\/div>\n                                    <div class=\"\">cURL<\/div>\n                                    <div class=\"\">PHP<\/div>\n                                    <div class=\"\">Python<\/div>\n                                    <div class=\"\">R<\/div>\n                                <div>Chat GPT<\/div>\n            <\/div>\n                <div class=\"tab_content\">\n                                            <div class=\"item selected\">\n                    <div class=\"buttons\">\n                                                    <button\n                                class=\"view\"\n                                title=\"View request in new tab\"\n                                onclick=\"gtag('event', 'ViewApiRequest', {'event_category':'TrialApiData'});\"\n                            >\n                                <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                    <use xlink:href=\"\/img\/icons\/openLink.svg#openLink\"><\/use>\n                                <\/svg>\n                            <\/button>\n                                                <button\n                            onclick=\"gtag('event', 'CopyApiUrl', {'event_category':'TrialApiData'});\"\n                            class=\"copy\"\n                            title=\"Copy url\"\n                        >\n                            <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                <use xlink:href=\"\/img\/icons\/copy.svg#copy\"><\/use>\n                            <\/svg>\n                        <\/button>\n                    <\/div>\n                    <pre class=\"api_url_text bold\">https:\/\/eodhd.com\/api\/macro-indicator\/COUNTRY?indicator=<span class='orange bold indicator'>inflation_consumer_prices_annual<\/span>&api_token=<span class='orange bold api_token'>{YOUR_API_TOKEN}<\/span>&fmt=json<\/pre>\n                    <div class=\"register_link\">\n                        (<a href=\"\/register\">Sign up<\/a> for free to get an API token)\n                    <\/div>\n                <\/div>\n                                            <div class=\"item \">\n                    <div class=\"buttons\">\n                                                <button\n                            onclick=\"gtag('event', 'CopyApiUrl', {'event_category':'TrialApiData'});\"\n                            class=\"copy\"\n                            title=\"Copy url\"\n                        >\n                            <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                <use xlink:href=\"\/img\/icons\/copy.svg#copy\"><\/use>\n                            <\/svg>\n                        <\/button>\n                    <\/div>\n                    <pre class=\"api_url_text bold\">curl --location \"https:\/\/eodhd.com\/api\/macro-indicator\/COUNTRY?indicator=<span class='orange bold indicator'>inflation_consumer_prices_annual<\/span>&api_token=<span class='orange bold api_token'>{YOUR_API_TOKEN}<\/span>&fmt=json\"<\/pre>\n                    <div class=\"register_link\">\n                        (<a href=\"\/register\">Sign up<\/a> for free to get an API token)\n                    <\/div>\n                <\/div>\n                                            <div class=\"item \">\n                    <div class=\"buttons\">\n                                                <button\n                            onclick=\"gtag('event', 'CopyApiUrl', {'event_category':'TrialApiData'});\"\n                            class=\"copy\"\n                            title=\"Copy url\"\n                        >\n                            <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                <use xlink:href=\"\/img\/icons\/copy.svg#copy\"><\/use>\n                            <\/svg>\n                        <\/button>\n                    <\/div>\n                    <pre class=\"api_url_text bold\">\n$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n    CURLOPT_URL => 'https:\/\/eodhd.com\/api\/macro-indicator\/COUNTRY?indicator=<span class='orange bold indicator'>inflation_consumer_prices_annual<\/span>&api_token=<span class='orange bold api_token'>{YOUR_API_TOKEN}<\/span>&fmt=json',\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_ENCODING => '',\n    CURLOPT_MAXREDIRS => 10,\n    CURLOPT_TIMEOUT => 0,\n    CURLOPT_FOLLOWLOCATION => true,\n    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n    CURLOPT_CUSTOMREQUEST => 'GET',\n));\n\n$data = curl_exec($curl);\ncurl_close($curl);\n\ntry {\n    $data = json_decode($data, true, 512, JSON_THROW_ON_ERROR);\n    var_dump($data);\n} catch (Exception $e) {\n    echo 'Error. '.$e->getMessage();\n}<\/pre>\n                    <div class=\"register_link\">\n                        (<a href=\"\/register\">Sign up<\/a> for free to get an API token)\n                    <\/div>\n                <\/div>\n                                            <div class=\"item \">\n                    <div class=\"buttons\">\n                                                <button\n                            onclick=\"gtag('event', 'CopyApiUrl', {'event_category':'TrialApiData'});\"\n                            class=\"copy\"\n                            title=\"Copy url\"\n                        >\n                            <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                <use xlink:href=\"\/img\/icons\/copy.svg#copy\"><\/use>\n                            <\/svg>\n                        <\/button>\n                    <\/div>\n                    <pre class=\"api_url_text bold\">\nimport requests\n\nurl = f'https:\/\/eodhd.com\/api\/macro-indicator\/COUNTRY?indicator=<span class='orange bold indicator'>inflation_consumer_prices_annual<\/span>&api_token=<span class='orange bold api_token'>{YOUR_API_TOKEN}<\/span>&fmt=json'\ndata = requests.get(url).json()\n\nprint(data)<\/pre>\n                    <div class=\"register_link\">\n                        (<a href=\"\/register\">Sign up<\/a> for free to get an API token)\n                    <\/div>\n                <\/div>\n                                            <div class=\"item \">\n                    <div class=\"buttons\">\n                                                <button\n                            onclick=\"gtag('event', 'CopyApiUrl', {'event_category':'TrialApiData'});\"\n                            class=\"copy\"\n                            title=\"Copy url\"\n                        >\n                            <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                                <use xlink:href=\"\/img\/icons\/copy.svg#copy\"><\/use>\n                            <\/svg>\n                        <\/button>\n                    <\/div>\n                    <pre class=\"api_url_text bold\">\nlibrary(httr)\nlibrary(jsonlite)\n\nurl <- 'https:\/\/eodhd.com\/api\/macro-indicator\/COUNTRY?indicator=<span class='orange bold indicator'>inflation_consumer_prices_annual<\/span>&api_token=<span class='orange bold api_token'>{YOUR_API_TOKEN}<\/span>&fmt=json'\nresponse <- GET(url)\n\nif (http_type(response) == \"application\/json\") {\n    content <- content(response, \"text\", encoding = \"UTF-8\")\n    cat(content)\n} else {\n    cat(\"Error while receiving data\\n\")\n}<\/pre>\n                    <div class=\"register_link\">\n                        (<a href=\"\/register\">Sign up<\/a> for free to get an API token)\n                    <\/div>\n                <\/div>\n                        <div class=\"item replace-deny\">\n                <div class=\"buttons\">\n                    <a\n                        class=\"view\"\n                        title=\"View request in new tab\"\n                        href=\"\/lp\/eodhd-chatgpt\"\n                        target=\"_blank\"\n                    >\n                        <svg class=\"tryFreeBtn__svg\" viewBox=\"0 0 20 20\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n                            <use xlink:href=\"\/img\/icons\/openLink.svg#openLink\"><\/use>\n                        <\/svg>\n                    <\/a>\n                <\/div>\n                <div class=\"api_url_text bold\" style=\"word-break: normal;white-space: normal;\">\n                    New to coding? Our ChatGPT assistant can generate code in any language tailored to our API.\n                    Simply describe how you want to use our data, and get a working piece of code.\n                    Don\u2019t forget to replace the API token with your own.<br><br>\n                    <a href=\"\/lp\/eodhd-chatgpt\" target=\"_blank\">Try it now (it's free)!<\/a><br><br>\n                    <a href=\"https:\/\/www.youtube.com\/watch?v=QVWiLukag7o\" rel=\"nofollow\" target=\"_blank\">\n                        How to use it (YouTube)\n                    <\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n    <\/div>\n\n    \n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>COUNTRY<\/strong>: String. REQUIRED. Defines the country for which the indicator will be shown. The country should be defined in the <a rel=\"noreferrer noopener\" href=\"https:\/\/en.wikipedia.org\/wiki\/ISO_3166-1_alpha-3\" target=\"_blank\">Alpha-3 ISO format<\/a>. Possible values: USA, FRA, DEU&#8230;<\/li>\n\n\n\n<li><strong>api_token<\/strong>: String. REQUIRED. Your api_token to access the API. You will get&nbsp;it after registration.<\/li>\n\n\n\n<li><strong>indicator<\/strong>: String. OPTIONAL. Defines which macroeconomics data indicator will be shown. See the list of possible indicators below. The default value is &#8216;<strong>gdp_current_usd<\/strong>&#8216;.<\/li>\n\n\n\n<li><strong>fmt<\/strong>: String. OPTIONAL.&nbsp;The output format could be \u2018json\u2019 for JSON and \u2018csv\u2019 for CSV output. The default value is \u2018json\u2019.<\/li>\n<\/ul>\n\n\n\n<p>Here you can see the annual inflation for France in percents, the indicator is &#8216;inflation_consumer_prices_annual&#8217;. The full list of macroeconomic data indicators you can find below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1728\" height=\"967\" src=\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\" alt=\"Inflation Consumer Prices Annual for France\" class=\"wp-image-2076\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-list-of-available-macroeconomics-indicators\">List of Available Macroeconomics Indicators<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8216;<strong>real_interest_rate<\/strong>&#8216; &#8211; Real interest rate (%).<\/li>\n\n\n\n<li>&#8216;<strong>population_total<\/strong>&#8216; &#8211; Population, total.<\/li>\n\n\n\n<li>&#8216;<strong>population_growth_annual<\/strong>&#8216; &#8211; Population growth (annual %).<\/li>\n\n\n\n<li>&#8216;<strong>inflation_consumer_prices_annual<\/strong>&#8216; &#8211; Inflation, consumer prices (annual %).<\/li>\n\n\n\n<li>&#8216;<strong>consumer_price_index<\/strong>&#8216; &#8211; Consumer Price Index (2010 = 100).<\/li>\n\n\n\n<li>&#8216;<strong>gdp_current_usd<\/strong>&#8216; &#8211; GDP (current US$).<\/li>\n\n\n\n<li>&#8216;<strong>gdp_per_capita_usd<\/strong>&#8216; &#8211; GDP per capita (current US$).<\/li>\n\n\n\n<li>&#8216;<strong>gdp_growth_annual<\/strong>&#8216; &#8211; GDP growth (annual %).<\/li>\n\n\n\n<li>&#8216;<strong>debt_percent_gdp<\/strong>&#8216; &#8211; Debt in percent of GDP (annual %).<\/li>\n\n\n\n<li>&#8216;<strong>net_trades_goods_services<\/strong>&#8216; &#8211; Net trades in goods and services (current US$).<\/li>\n\n\n\n<li>&#8216;<strong>inflation_gdp_deflator_annual<\/strong>&#8216; &#8211; Inflation, GDP deflator (annual %).<\/li>\n\n\n\n<li>&#8216;<strong>agriculture_value_added_percent_gdp<\/strong>&#8216; &#8211; Agriculture, value added (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>industry_value_added_percent_gdp<\/strong>&#8216; &#8211; Industry, value added (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>services_value_added_percent_gdp<\/strong>&#8216; &#8211; Services, etc., value added (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>exports_of_goods_services_percent_gdp<\/strong>&#8216; &#8211; Exports of goods and services (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>imports_of_goods_services_percent_gdp<\/strong>&#8216; &#8211; Imports of goods and services (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>gross_capital_formation_percent_gdp<\/strong>&#8216; &#8211; Gross capital formation (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>net_migration<\/strong>&#8216; &#8211; Net migration (absolute value).<\/li>\n\n\n\n<li>&#8216;<strong>gni_usd<\/strong>&#8216; &#8211; GNI, Atlas method (current US$).<\/li>\n\n\n\n<li>&#8216;<strong>gni_per_capita_usd<\/strong>&#8216; &#8211; GNI per capita, Atlas method (current US$).<\/li>\n\n\n\n<li>&#8216;<strong>gni_ppp_usd<\/strong>&#8216; &#8211; GNI, PPP (current international $).<\/li>\n\n\n\n<li>&#8216;<strong>gni_per_capita_ppp_usd<\/strong>&#8216; &#8211; GNI per capita, PPP (current international $).<\/li>\n\n\n\n<li>&#8216;<strong>income_share_lowest_twenty<\/strong>&#8216; &#8211; Income share held by lowest 20% (in %).<\/li>\n\n\n\n<li>&#8216;<strong>life_expectancy<\/strong>&#8216; &#8211; Life expectancy at birth, total (years).<\/li>\n\n\n\n<li>&#8216;<strong>fertility_rate<\/strong>&#8216; &#8211; Fertility rate, total (births per woman).<\/li>\n\n\n\n<li>&#8216;<strong>prevalence_hiv_total<\/strong>&#8216; &#8211; Prevalence of HIV, total (% of population ages 15-49).<\/li>\n\n\n\n<li>&#8216;<strong>co2_emissions_tons_per_capita<\/strong>&#8216; &#8211; CO2 emissions (metric tons per capita).<\/li>\n\n\n\n<li>&#8216;<strong>surface_area_km<\/strong>&#8216; &#8211; Surface area (sq. km).<\/li>\n\n\n\n<li>&#8216;<strong>poverty_poverty_lines_percent_population<\/strong>&#8216; &#8211; Poverty headcount ratio at national poverty lines (% of population).<\/li>\n\n\n\n<li>&#8216;<strong>revenue_excluding_grants_percent_gdp<\/strong>&#8216; &#8211; Revenue, excluding grants (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>cash_surplus_deficit_percent_gdp<\/strong>&#8216; &#8211; Cash surplus\/deficit (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>startup_procedures_register<\/strong>&#8216; &#8211; Start-up procedures to register a business (number).<\/li>\n\n\n\n<li>&#8216;<strong>market_cap_domestic_companies_percent_gdp<\/strong>&#8216; &#8211; Market capitalization of listed domestic companies (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>mobile_subscriptions_per_hundred<\/strong>&#8216; &#8211; Mobile cellular subscriptions (per 100 people).<\/li>\n\n\n\n<li>&#8216;<strong>internet_users_per_hundred<\/strong>&#8216; &#8211; Internet users (per 100 people).<\/li>\n\n\n\n<li>&#8216;<strong>high_technology_exports_percent_total<\/strong>&#8216; &#8211; High-technology exports (% of manufactured exports).<\/li>\n\n\n\n<li>&#8216;<strong>merchandise_trade_percent_gdp<\/strong>&#8216; &#8211; Merchandise trade (% of GDP).<\/li>\n\n\n\n<li>&#8216;<strong>total_debt_service_percent_gni<\/strong>&#8216; &#8211; Total debt service (% of GNI).<\/li>\n\n\n\n<li><strong>&#8216;unemployment_total_percent&#8217;<\/strong> &#8211;  Unemployment total (% of labor force).<\/li>\n<\/ul>\n\n\n\n<p>We also happy to add more Macro Indicators by request in case you miss any.<\/p>\n\n\n\n<p class=\"has-text-align-center\"><a class=\"maxbutton-1 maxbutton maxbutton-subscribe-to-api external-css btn\" href=\"https:\/\/eodhd.com\/register\"><span class='mb-text'>Sign up &amp; Get Data<\/span><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Macroeconomics is a part of&nbsp;economics&nbsp;dealing with the performance, structure, behavior, and decision-making of an&nbsp;economy&nbsp;as a whole. Our&nbsp;Macroeconomics Indicators Data API&nbsp;includes regional, national, and&nbsp;global economies.&nbsp;We provide the data for more than 30 macro indicators such as&nbsp;GDP,&nbsp;unemployment rates,&nbsp;national income, price indices,&nbsp;inflation rates, consumption, international trades, and many other significant indicators. Most data is provided from December 1960. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[119],"tags":[],"coding-language":[],"ready-to-go-solution":[],"qualification":[],"financial-apis-category":[],"financial-apis-manuals":[],"class_list":["post-2022","post","type-post","status-publish","format-standard","hentry","category-alternative-data-financial-api"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.6 (Yoast SEO v26.7) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Macro Indicators API | EODHD APIs Documentation<\/title>\n<meta name=\"description\" content=\"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Macro Indicators API\" \/>\n<meta property=\"og:description\" content=\"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other\" \/>\n<meta property=\"og:url\" content=\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\" \/>\n<meta property=\"og:site_name\" content=\"Stock Price Data, Financial and Stock Market API\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/eodhistoricaldata\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-24T16:02:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-02T12:24:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1728\" \/>\n\t<meta property=\"og:image:height\" content=\"967\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"EOD Historical Data Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:site\" content=\"@EOD_data\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"EOD Historical Data Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#article\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\"},\"author\":{\"name\":\"EOD Historical Data Support\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\"},\"headline\":\"Macro Indicators API\",\"datePublished\":\"2020-11-24T16:02:26+00:00\",\"dateModified\":\"2025-06-02T12:24:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\"},\"wordCount\":680,\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\",\"articleSection\":[\"4. Alternative &amp; Derived Data\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\",\"name\":\"Macro Indicators API | EODHD APIs Documentation\",\"isPartOf\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage\"},\"thumbnailUrl\":\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\",\"datePublished\":\"2020-11-24T16:02:26+00:00\",\"dateModified\":\"2025-06-02T12:24:44+00:00\",\"description\":\"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other\",\"breadcrumb\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage\",\"url\":\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\",\"contentUrl\":\"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/eodhd.com\/financial-apis\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Macro Indicators API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#website\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"name\":\"Historical Stock Prices and Fundamental Financial Data APIs | EODHD\",\"description\":\"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API\",\"publisher\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#organization\",\"name\":\"EODHD (EOD Historical Data)\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"contentUrl\":\"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png\",\"width\":159,\"height\":82,\"caption\":\"EODHD (EOD Historical Data)\"},\"image\":{\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/eodhistoricaldata\",\"https:\/\/x.com\/EOD_data\",\"https:\/\/www.reddit.com\/r\/EODHistoricalData\/\",\"https:\/\/eod-historical-data.medium.com\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415\",\"name\":\"EOD Historical Data Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g\",\"caption\":\"EOD Historical Data Support\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Macro Indicators API | EODHD APIs Documentation","description":"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api","og_locale":"en_US","og_type":"article","og_title":"Macro Indicators API","og_description":"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other","og_url":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api","og_site_name":"Stock Price Data, Financial and Stock Market API","article_publisher":"https:\/\/www.facebook.com\/eodhistoricaldata","article_published_time":"2020-11-24T16:02:26+00:00","article_modified_time":"2025-06-02T12:24:44+00:00","og_image":[{"width":1728,"height":967,"url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png","type":"image\/png"}],"author":"EOD Historical Data Support","twitter_card":"summary_large_image","twitter_creator":"@EOD_data","twitter_site":"@EOD_data","twitter_misc":{"Written by":"EOD Historical Data Support","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#article","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api"},"author":{"name":"EOD Historical Data Support","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415"},"headline":"Macro Indicators API","datePublished":"2020-11-24T16:02:26+00:00","dateModified":"2025-06-02T12:24:44+00:00","mainEntityOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api"},"wordCount":680,"publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage"},"thumbnailUrl":"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png","articleSection":["4. Alternative &amp; Derived Data"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api","url":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api","name":"Macro Indicators API | EODHD APIs Documentation","isPartOf":{"@id":"https:\/\/eodhd.com\/financial-apis\/#website"},"primaryImageOfPage":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage"},"thumbnailUrl":"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png","datePublished":"2020-11-24T16:02:26+00:00","dateModified":"2025-06-02T12:24:44+00:00","description":"Our Macroeconomics Data API includes national and global economies. The data for values such as GDP, unemployment rates, intflation and other","breadcrumb":{"@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#primaryimage","url":"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png","contentUrl":"https:\/\/eodhistoricaldata.com\/financial-apis\/wp-content\/uploads\/2020\/11\/image-2.png"},{"@type":"BreadcrumbList","@id":"https:\/\/eodhd.com\/financial-apis\/macroeconomics-data-and-macro-indicators-api#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/eodhd.com\/financial-apis"},{"@type":"ListItem","position":2,"name":"Macro Indicators API"}]},{"@type":"WebSite","@id":"https:\/\/eodhd.com\/financial-apis\/#website","url":"https:\/\/eodhd.com\/financial-apis\/","name":"Historical Stock Prices and Fundamental Financial Data APIs | EODHD","description":"End Of Day (EOD), Fundamental and Real-time\/Live Data Market API","publisher":{"@id":"https:\/\/eodhd.com\/financial-apis\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/eodhd.com\/financial-apis\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/eodhd.com\/financial-apis\/#organization","name":"EODHD (EOD Historical Data)","url":"https:\/\/eodhd.com\/financial-apis\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/","url":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","contentUrl":"https:\/\/eodhd.com\/financial-apis\/wp-content\/uploads\/2023\/12\/EODHD-Logo.png","width":159,"height":82,"caption":"EODHD (EOD Historical Data)"},"image":{"@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/eodhistoricaldata","https:\/\/x.com\/EOD_data","https:\/\/www.reddit.com\/r\/EODHistoricalData\/","https:\/\/eod-historical-data.medium.com\/"]},{"@type":"Person","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/fa5be3606e0cd967a175978cebe97415","name":"EOD Historical Data Support","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/eodhd.com\/financial-apis\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3599a531133e7fc83654b72e3103c05b1bbeb91168cf4786cbad64afa9b82413?s=96&d=mm&r=g","caption":"EOD Historical Data Support"}}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p8NjB1-wC","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/comments?post=2022"}],"version-history":[{"count":22,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2022\/revisions"}],"predecessor-version":[{"id":7383,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/posts\/2022\/revisions\/7383"}],"wp:attachment":[{"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/media?parent=2022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/categories?post=2022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/tags?post=2022"},{"taxonomy":"coding-language","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/coding-language?post=2022"},{"taxonomy":"ready-to-go-solution","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/ready-to-go-solution?post=2022"},{"taxonomy":"qualification","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/qualification?post=2022"},{"taxonomy":"financial-apis-category","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/financial-apis-category?post=2022"},{"taxonomy":"financial-apis-manuals","embeddable":true,"href":"https:\/\/eodhd.com\/financial-apis\/wp-json\/wp\/v2\/financial-apis-manuals?post=2022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}