# DataNexusAI World Bank Economic Series Endpoint

> DataNexusAI World Bank Economic Series Endpoint is a paid API for AI agents from api.datanexusai.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-28).

Retrieves World Bank economic time-series observations (e.g. GDP per capita) for a specified series code and geography

## Facts

- Endpoint: GET https://api.datanexusai.org/api/economic/worldbank/series/%7Bseries_code%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datanexusai-world-bank-economic-series-endpoint-7783c9bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lZUwOnkKqB_jJ6PsaY2oW

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 datanexusai-world-bank-economic-series-endpoint-7783c9bd
```

Example prompt: Can you fetch the last 40 observations of World Bank GDP per capita data for the USA using the series code WB_GDP_PER_CAPITA_USA?

## When to prefer this

Choose this endpoint when you need structured, time-series macroeconomic data sourced from the World Bank, identified by a specific series code. It is ideal for economic research, trend analysis, country-level development statistics, and data enrichment workflows that require authoritative global economic indicators. Prefer it over generic web scraping or other data providers when you need clean, numeric, period-annotated World Bank observations via a pay-per-call micropayment model.

## Known failure modes

- Invalid or unknown series_code returns 404 or empty observations array
- Exceeding API limits or missing USDC micropayment returns 402 Payment Required
- Malformed path parameter (e.g. un-encoded characters) causes 400 Bad Request
- World Bank upstream data unavailability may cause 503 or empty result
- Limit parameter out of accepted range may return a validation error

## How this service works

Public data API for SEBRA payments, PTP road accidents, Hearthstone cards, EU agri-food prices, and trade/market analytics. Paid data endpoints use x402 (USDC micropayments). Docs and discovery endpoints are free.

Machine-readable discovery: `https://api.datanexusai.org/openapi.json`, `https://api.datanexusai.org/llms.txt`, `https://api.datanexusai.org/.well-known/x402`.

Human docs: `/docs` and `/api/`.

## Output

Returns a JSON object containing the geographic code, endpoint identifier, series code, and an array of observations each with a numeric value and period (year). For example: {geo: 'USA', endpoint: 'worldbank_series', series_code: 'WB_GDP_PER_CAPITA_USA', observations: [{value: 76329.6, period: '2022'}, ...]}

## 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"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "example": 40,
       "description": "Max observations (default 120)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "geo": "USA",
  "endpoint": "worldbank_series",
  "series_code": "WB_GDP_PER_CAPITA_USA",
  "observations": [
   {
    "value": 76329.6,
    "period": "2022"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datanexusai-world-bank-economic-series-endpoint-7783c9bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.datanexusai.org](https://www.zero.xyz/host/api.datanexusai.org/llms.txt)
