# TokenGuard Macro Economic Indicators

> TokenGuard Macro Economic Indicators is a paid API for AI agents from eltociear-tokenguard.hf.space, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns macroeconomic indicator data (e.g. inflation CPI) across multiple countries for a given year via the TokenGuard crypto/DeFi intelligence API.

## Facts

- Endpoint: POST https://eltociear-tokenguard.hf.space/macro
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tokenguard-macro-economic-indicators-e471b2d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_i4nso5AfJVdmAH7IoRbBi

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability tokenguard-macro-economic-indicators-e471b2d0 -d '<json body>'
```

Example prompt: Can you pull the inflation CPI percentage for the USA, EU, and Japan for 2024 from the TokenGuard macro endpoint?

## When to prefer this

Choose this endpoint when you need structured macroeconomic indicator data (like CPI/inflation) across multiple countries for a specific year, especially within a crypto or DeFi research workflow where x402 micropayments on Base are acceptable and cost per call ($0.005 USDC) is not a concern.

## Known failure modes

- Invalid or unsupported indicator name returns an error or empty data array
- Unsupported country ISO code returns no matching results
- Payment failure via x402 micropayment blocks access with a 402 Payment Required response
- Year out of available data range returns empty results
- Malformed POST body causes a 400 Bad Request

## How this service works

Macro economic indicators (inflation, GDP growth, unemployment) for major countries via World Bank API — no API key required.

## Output

A JSON object containing an array of country-level data points, each with ISO country code, indicator name (e.g. 'Inflation CPI %'), numeric value, unit, and year, plus a total countries_count field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "countries": {
   "type": "string",
   "default": "US,CN,JP,DE,GB"
  },
  "indicator": {
   "enum": [
    "inflation",
    "gdp_growth",
    "unemployment"
   ],
   "type": "string",
   "default": "inflation"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "iso": "USA",
    "unit": "%",
    "year": "2024",
    "value": 2.95,
    "country": "United States"
   }
  ],
  "indicator": "Inflation CPI %",
  "countries_count": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tokenguard-macro-economic-indicators-e471b2d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-tokenguard.hf.space](https://www.zero.xyz/host/eltociear-tokenguard.hf.space/llms.txt)
