datapoint.market_ ALPHA v0.0.1

World Bank Macro Snapshot

API

Sold by Data 37

Key macroeconomic indicators for any country: GDP, GDP growth, GDP per capita, GNI, inflation, unemployment, trade, and FDI. Latest available values with year and source. Powered by World Bank Open Data (CC BY 4.0).

3 free calls
Price per call $0.01 in USDC
Method GET
Networks Base mainnet
Free trial 3 calls no payment

The paid URL

Send a GET request (parameters in the query string). Without payment the relay answers 402 Payment Required and tells you exactly what to pay; with a valid X-PAYMENT header it settles on-chain and returns the origin's JSON response.

https://api.datapoint.market/r/data37/worldbank-macro-snapshot

Example request

{
  "iso3": "USA"
}

Response shape

Fields

  • object
    • data object
      • iso3 string
      • name string
      • indicators object
        • NY.GDP.MKTP.CD object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • NY.GDP.MKTP.KD.ZG object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • NY.GDP.PCAP.CD object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • NY.GNP.PCAP.CD object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • FP.CPI.TOTL.ZG object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • SL.UEM.TOTL.ZS object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • SP.POP.TOTL object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • NE.TRD.GNFS.ZS object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
        • BX.KLT.DINV.WD.GD.ZS object
          • value number
          • unit any
          • year integer
          • indicator_code string
          • indicator_name string
          • source string
    • meta object
      • vertical string
      • source string
      • dataset string
      • license string
      • attribution string
      • notes array of
        • any
      • retrieved_at string · date-time
      • cache_status string
Example response (JSON)
{
  "data": {
    "iso3": "string",
    "name": "stringxxxxxxx",
    "indicators": {
      "NY.GDP.MKTP.CD": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "NY.GDP.MKTP.KD.ZG": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "NY.GDP.PCAP.CD": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "NY.GNP.PCAP.CD": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "FP.CPI.TOTL.ZG": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "SL.UEM.TOTL.ZS": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "SP.POP.TOTL": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxx",
        "indicator_name": "stringxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "NE.TRD.GNFS.ZS": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      },
      "BX.KLT.DINV.WD.GD.ZS": {
        "value": 12.34,
        "unit": null,
        "year": 12,
        "indicator_code": "stringxxxxxxxxxxxxxx",
        "indicator_name": "stringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "source": "stringxxxxxxxxxxxxxx"
      }
    }
  },
  "meta": {
    "vertical": "stringxxx",
    "source": "stringxxxxxxxxxxxxxx",
    "dataset": "stringxxxxxxxxxxxxxxxxxxxxxx",
    "license": "stringxxx",
    "attribution": "stringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "notes": [
      "string",
      "example"
    ],
    "retrieved_at": "2024-01-15T09:30:00Z",
    "cache_status": "string"
  }
}
livefresh

⚗︎ Generated example data — the structure is real, the values are fabricated. The real data is available on payment (or via 3 free trial calls).

Call it from the shell

curl 'https://api.datapoint.market/r/data37/worldbank-macro-snapshot?iso3=USA' \
  -H 'X-PAYMENT: <base64 payment payload>'

Call it from an agent

Connected in Claude (or any agent on the connector)? Buy it in one call — no API key, no signup. Call it once with no payment to take a free trial (real data) or get a price quote before you pay.

call_endpoint("data37", "worldbank-macro-snapshot", params={"iso3":"USA"})
How payment works

No account, no API key — buyers pay per call over x402. An immutable on-chain splitter pays the provider and a datapoint.market fee in one transaction; datapoint.market never holds provider revenue.

Buyer guide →

Provider: Data 37