Skip to content
Fourohtwo

Macro indicators by country and year from the World Bank

agents.crowdspark.me/v1/data/macro

Macro indicators by country and year from the World Bank: GDP, GDP growth, GDP per capita, inflation, unemployment, population, debt to GDP, real interest rate, exports, imports, current account, FDI, or any World Bank indicator code. Up to 10 countries per call (ISO2 or ISO3, joined with ;), newest year first. Pairs with fx_rates.

BaseUnchecked
GEThttps://agents.crowdspark.me/v1/data/macro

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agents.crowdspark.me/v1/data/macro?country=US%3BDE&indicator=inflation&limit=3");
console.log(await res.json());

Example input

{
  "country": "US;DE",
  "indicator": "inflation",
  "limit": "3"
}

More from Agent Tools