Api Endpoint

macro-indicator

One macroeconomic or development indicator for one or more countries as a cited time-series. Fuses free authoritative sources (World Bank, IMF) and tags every value with its source, source code, year and country ISO3. Accepts a canonical indicator key or a raw World Bank code.

Open interactive test console

Offering

Provider
payai.agentstools.dev
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://payai.agentstools.dev/macro/indicator
MIME type
application/json
First seen
2026-10-16T02:01:31.612Z
Last seen
Tags
Macro, economics, gdp, cpi, inflation, unemployment, Country, world-bank, imf, Indicators, development

Payment pricing

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

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
781 ms
Average latency
1032 ms
HTTP status
402
Last checked
Reachability
100% over 14 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": {
        "indicator": {
          "type": "string",
          "description": "Canonical indicator key or a raw World Bank code such as NY.GDP.MKTP.CD",
          "examples": [
            "gdp_current_usd",
            "gdp_per_capita_usd",
            "gdp_growth",
            "gni_per_capita_atlas",
            "gross_savings_gdp",
            "inflation_cpi",
            "real_interest_rate",
            "broad_money_gdp",
            "unemployment",
            "labor_force",
            "govt_debt_gdp",
            "govt_health_exp_gdp",
            "govt_education_exp_gdp",
            "trade_balance_gdp",
            "current_account_gdp",
            "exports_gdp",
            "imports_gdp",
            "fdi_net_inflows_gdp",
            "population",
            "population_growth",
            "life_expectancy",
            "gini",
            "poverty_headcount_national",
            "urban_population_pct",
            "co2_per_capita",
            "renewable_energy_pct",
            "electricity_access_pct",
            "internet_users_pct",
            "mobile_subscriptions_per_100"
          ]
        },
        "country": {
          "type": "string",
          "description": "One or more countries as ISO-2, ISO-3, name, or a World Bank aggregate code, comma-separated"
        },
        "years": {
          "type": "string",
          "description": "A single year or a Y1:Y2 range, e.g. 2015:2023"
        },
        "range": {
          "type": "integer",
          "minimum": 1,
          "maximum": 65,
          "description": "Most recent N years (ignored when years is set)"
        },
        "source": {
          "type": "string",
          "enum": [
            "auto",
            "worldbank",
            "imf",
            "fred"
          ],
          "description": "Preferred source (default auto = first with data)"
        }
      },
      "required": [
        "indicator",
        "country"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "indicator",
            "country"
          ],
          "properties": {
            "range": {
              "type": "integer",
              "maximum": 65,
              "minimum": 1,
              "description": "Most recent N years (ignored when years is set)"
            },
            "years": {
              "type": "string",
              "description": "A single year or a Y1:Y2 range, e.g. 2015:2023"
            },
            "source": {
              "enum": [
                "auto",
                "worldbank",
                "imf",
                "fred"
              ],
              "type": "string",
              "description": "Preferred source (default auto = first with data)"
            },
            "country": {
              "type": "string",
              "description": "One or more countries as ISO-2, ISO-3, name, or a World Bank aggregate code, comma-separated"
            },
            "indicator": {
              "type": "string",
              "examples": [
                "gdp_current_usd",
                "gdp_per_capita_usd",
                "gdp_growth",
                "gni_per_capita_atlas",
                "gross_savings_gdp",
                "inflation_cpi",
                "real_interest_rate",
                "broad_money_gdp",
                "unemployment",
                "labor_force",
                "govt_debt_gdp",
                "govt_health_exp_gdp",
                "govt_education_exp_gdp",
                "trade_balance_gdp",
                "current_account_gdp",
                "exports_gdp",
                "imports_gdp",
                "fdi_net_inflows_gdp",
                "population",
                "population_growth",
                "life_expectancy",
                "gini",
                "poverty_headcount_national",
                "urban_population_pct",
                "co2_per_capita",
                "renewable_energy_pct",
                "electricity_access_pct",
                "internet_users_pct",
                "mobile_subscriptions_per_100"
              ],
              "description": "Canonical indicator key or a raw World Bank code such as NY.GDP.MKTP.CD"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}