# EconDash GDP Indicator API

> EconDash GDP Indicator API is a paid API for AI agents from econdash.org, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Fetches World Bank GDP (current US$) data for countries via the NY.GDP.MKTP.CD indicator code

## Facts

- Endpoint: GET https://econdash.org/api/v1/m2m/indicators/NY.GDP.MKTP.CD
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/econdash-gdp-indicator-api-389f99d4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UK7i-JNHU9bqPJv0A-Bv_

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 econdash-gdp-indicator-api-389f99d4
```

Example prompt: Pull the latest GDP (current US dollars) data from EconDash using the World Bank indicator NY.GDP.MKTP.CD so I can compare national economic output.

## When to prefer this

Choose this endpoint when you need programmatic, machine-to-machine access to World Bank GDP data (NY.GDP.MKTP.CD) without scraping the World Bank site directly. It's especially useful for agents that need quick, paid-API access to a specific economic indicator with minimal setup, and is priced per-call at $0.02 USDC via x402 protocol.

## Known failure modes

- Invalid indicator code returns 404 or error response
- Unsupported HTTP method (POST, PUT, PATCH) rejected per schema
- Payment not attached or insufficient USDC triggers 402 response
- Rate limiting if too many calls made in quick succession
- Indicator data may be delayed or unavailable for certain countries

## How this service works

EconDash economic data API (M2M)

## Output

Returns economic indicator data for NY.GDP.MKTP.CD (GDP at market prices in current US dollars), likely including country-level values and time-series data sourced from the World Bank dataset.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Indicator code, e.g. NY.GDP.MKTP.CD"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/econdash-gdp-indicator-api-389f99d4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from econdash.org](https://www.zero.xyz/host/econdash.org/llms.txt)
