# Synapse Economic Indicators API

> Synapse Economic Indicators API is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns historical and current economic indicator data (e.g. GDP) for a given country, paid per call via x402 on Base in USDC

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/economic-indicators?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/synapse-economic-indicators-api-db965b94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XaMxaULmeE9OsfJTPHCNh

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 synapse-economic-indicators-api-db965b94
```

Example prompt: Can you pull the latest GDP data for the USA from the Synapse economic indicators endpoint — no API key needed, just pay per call?

## When to prefer this

Choose this endpoint when you need macroeconomic indicator data (like GDP) for a specific country without account registration or API keys, and you can pay micro-amounts in USDC on Base via x402. Ideal for AI agents operating in a pay-per-call model needing one-off economic lookups.

## Known failure modes

- Invalid or unsupported country code returns an error or empty rows array
- Unsupported indicator type returns no data
- Payment failure via x402 results in 402 response before data is delivered
- Network timeout on the duckdns.org dynamic host if server is offline
- Empty rows if data is not available for the requested period

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

Returns a JSON object containing the country name, indicator name (e.g. 'GDP (current US$)'), and an array of rows each with a date and numeric value — representing a time series of the requested economic indicator.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "rows": [
   {
    "date": "2025",
    "value": 30769700000000
   }
  ],
  "country": "USA",
  "indicator": "GDP (current US$)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/synapse-economic-indicators-api-db965b94/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
