E

eu-verify · Global Macro

by eu-verify

GETBase

$0.005

per call · USD Coin on Base

Annual macroeconomic series from the World Bank Indicators API, normalized JSON. Query: ?country=USA&indicator=FP.CPI.TOTL.ZG&years=5 (ISO3 country code; common indicators: FP.CPI.TOTL.ZG inflation %, NY.GDP.MKTP.CD GDP current US$, GC.DOD.TOTL.GD.ZS gov debt %GDP, SL.UEM.TOTL.ZS unemployment %). Returns the last N years with values, newest first. 200+ countries; 24h cache.

Endpoint

GET https://data.greeneris.io/v1/global/macro

1

Calls / 30d

1

Unique payers / 30d

Aug 27

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://data.greeneris.io/v1/global/macro", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://data.greeneris.io/v1/global/macro?country=USA&indicator=FP.CPI.TOTL.ZG&years=3" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "country": "USA",
  "country_name": "United States",
  "indicator": "FP.CPI.TOTL.ZG",
  "indicator_name": "Inflation, consumer prices (annual %)",
  "last_updated": "2026-07-01",
  "observations": [
    {
      "value": 2.9495,
      "year": "2024"
    },
    {
      "value": 4.1163,
      "year": "2023"
    }
  ],
  "source": "World Bank Open Data (CC BY 4.0), annual series"
}

Payment details

Pay to0x6ab8efe305cce67daa48c97bde29c04402822dff
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from eu-verify & similar services