{"uid":"cap_sbKvWS9zyQWqco7pyCFf4","slug":"hubvibe-macro-economic-indicators-a8ff8b89","name":"HubVibe Macro Economic Indicators","description":"Economic data / macro indicators for any country, live: GDP, growth, GDP per capita, inflation (CPI), unemployment, population, interest rates, exchange rate, debt, trade, FDI or any World Bank indicator code. Annual for 200+ economies from the World Bank; monthly EU inflation and unemployment from Eurostat. Returns the series, latest and previous values, the change and the source's update stamp. Input: indicator, country; optional last, frequency.","url":"https://hubvibe-io.com/work/data/macro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"last":{"type":"integer","maximum":60,"minimum":1},"country":{"type":"string","maxLength":9,"minLength":2},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$","maxLength":35},"frequency":{"enum":["auto","annual","monthly"],"type":"string"},"indicator":{"type":"string","maxLength":40,"minLength":3}}},"responseSchema":{"type":"json","example":{"result":{"as_of":"2026-07-13","notes":[],"change":{"pct":15.69,"absolute":0.43},"latest":{"value":3.17,"period":"2025"},"source":"world-bank","country":{"code":"JP","name":"Japan"},"previous":{"value":2.74,"period":"2024"},"frequency":"annual","indicator":{"code":"FP.CPI.TOTL.ZG","name":"Inflation, consumer prices (annual %)","unit":"% change on a year earlier (HICP)","alias":"inflation"},"checked_at":"2026-09-26T18:00:00Z","source_url":"https://api.worldbank.org/v2/country/JP/indicator/FP.CPI.TOTL.ZG?format=json","observations":[{"value":3.17,"period":"2025"}],"observation_count":5},"status":"ok","worker":"data.macro","price_usd":0.1,"provenance":{"steps":[{"ms":312,"ok":true,"step":"quote","reason":"provider_timeout","provider":"coinbase-advanced-trade-public"}],"attempts":1,"elapsed_ms":340,"providers_used":["coinbase-advanced-trade-public"]},"receipt_id":"rcpt_9f1c2b3a4d5e6f70","attribution":[{"url":"https://translate.google.com","text":"Translated by Google"}],"receipt_url":"/work/receipts/rcpt_9f1c2b3a4d5e6f70"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lzE1nZ2e-ad74nGI0aOKw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches live macroeconomic indicators (GDP, inflation, unemployment, interest rates, etc.) for any country from World Bank and Eurostat sources","exampleAgentPrompt":"Can you pull the annual GDP growth rate for Germany for the last 10 years, including the latest and previous values and how much it changed?","exampleUseCases":[{"title":"Inflation trend for investment research","prompt":"Get me the monthly CPI inflation data for the Eurozone for the last 24 months — I want to see the latest value, the previous one, and how much it changed."},{"title":"Country economic dashboard for a report","prompt":"I'm building a report on Brazil — can you fetch the GDP per capita, unemployment rate, and interest rate for the last 5 years using annual frequency?"},{"title":"FDI comparison for emerging markets","prompt":"Look up the foreign direct investment inflows for India using the World Bank indicator code BX.KLT.DINV.CD.WD for the last 10 years so I can see the trend."}],"resultDescription":"Returns a time series array of values for the requested indicator and country, including the latest value, the previous value, the absolute and relative change, and a timestamp from the source (World Bank or Eurostat) indicating when the data was last updated. Also includes metadata such as the indicator name and country.","failureModes":["Invalid or unsupported country code returns an error","Unknown or malformed World Bank indicator code returns no data","Requesting monthly frequency for indicators only available annually returns an error or empty series","Exceeding the maximum of 60 periods in the 'last' parameter returns a validation error","Network or upstream World Bank/Eurostat API outage may cause timeouts"],"whenToPreferThis":"Choose this endpoint when you need structured, sourced macroeconomic time-series data for any of 200+ countries, especially when you want the latest and previous values plus the change in a single call. Prefer this over general web search when you need machine-readable, consistently formatted economic data with source timestamps. It covers a wide range of World Bank indicators beyond the common ones, making it more flexible than narrowly scoped economic APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:30:02.526Z","isFirstParty":false,"canonicalSlug":"hubvibe-macro-economic-indicators-a8ff8b89"}