# EconDash World Bank Nominal GDP Top Countries

> EconDash World Bank Nominal GDP Top Countries is a paid API for AI agents from econdash.org, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-28).

Returns a ranked list of top countries by World Bank nominal GDP for a specified year

## Facts

- Endpoint: GET https://econdash.org/api/v1/m2m/timeseries/world_bank__gdp_nominal/top-countries?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/econdash-world-bank-nominal-gdp-top-countries-656335eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IFmXXEACD-OLkVJBQN0iJ

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-world-bank-nominal-gdp-top-countries-656335eb
```

Example prompt: Show me the top 15 countries ranked by World Bank nominal GDP for 2022 using EconDash.

## When to prefer this

Use this endpoint when you need a pre-ranked, ready-to-use list of top countries by World Bank nominal GDP without needing to fetch and sort raw time series data yourself. Ideal for quickly identifying the largest global economies for a specific year without additional data processing.

## Known failure modes

- Invalid or unsupported year returns empty results or error
- Limit exceeds maximum of 50 returns a validation error
- Incorrect indicator code path returns 404 or data-not-found error
- Missing required method or type fields returns schema validation error
- Payment not provided or insufficient USDC balance returns 402 Payment Required

## How this service works

EconDash economic data API (M2M)

## Output

An ordered list of countries ranked by their World Bank nominal GDP for the specified year, including country identifiers, GDP values, and ranking positions, returned as time series data points.

## 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. world_bank__gdp_nominal"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "year": {
       "type": "integer",
       "description": "Rank by the latest observation in this calendar year"
      },
      "limit": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1,
       "description": "Number of top countries to return"
      }
     }
    }
   },
   "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-world-bank-nominal-gdp-top-countries-656335eb/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)
