Api Endpoint

Global Macro Data

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.

Open interactive test console

Offering

Provider
data.greeneris.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://data.greeneris.io/v1/global/macro
MIME type
application/json
First seen
2026-10-16T01:51:20.002Z
Last seen
Tags
Macro, worldbank, inflation, gdp, economics, country-risk

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff"
  }
]

Observed health

Status
Healthy
Latest latency
96 ms
Average latency
714 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "description": "ISO3 country code",
          "default": "USA"
        },
        "indicator": {
          "type": "string",
          "description": "World Bank indicator id",
          "default": "FP.CPI.TOTL.ZG"
        },
        "years": {
          "type": "integer",
          "description": "Last N years (1-20)",
          "default": 5
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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