# OECD SDMX Data API

> OECD SDMX Data API is a paid API for AI agents from opendata402.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Fetches any OECD dataset time series via the SDMX API using a dataflow identifier and series key, returning the latest observations with dimension labels.

## Facts

- Endpoint: GET https://opendata402.com/v1/oecd?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oecd-sdmx-data-api-f198f337
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jnoyi2Amdnx5yNgPWHsZZ

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 oecd-sdmx-data-api-f198f337
```

Example prompt: Can you pull the latest 12 observations of the composite leading indicator for the Netherlands from the OECD SDMX API? The dataflow is OECD.SDD.STES,DSD_STES@DF_CLI and the series key is NLD........

## When to prefer this

Choose this endpoint when you need authoritative international macroeconomic or social statistics from the OECD across member countries, especially when you know the SDMX dataflow and series key. Prefer it over ECB data endpoints for non-monetary indicators, and over national statistics APIs when you need cross-country OECD comparisons.

## Known failure modes

- Invalid or malformed dataflow identifier returns an error or empty result
- Series key that matches no data returns empty observations
- Requesting more than 500 observations may be truncated
- Non-OECD or unsupported datasets return no data
- Malformed series key pattern causes a validation error

## How this service works

Any OECD dataset via the OECD SDMX API: give the dataflow (e.g. OECD.SDD.STES,DSD_STES@DF_CLI for leading indicators) and a series key with country codes (e.g. NLD........), and get the latest observations with dimension labels (max 500). Use it for international macro and social indicators across OECD countries. OECD data, CC BY 4.0 (third-party data excluded).

## Output

Returns up to 500 observations per request including time-stamped data points and human-readable dimension labels (country, measure, frequency, etc.) for the requested OECD SDMX series.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "flow"
     ],
     "properties": {
      "key": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_.+]{0,120}$",
       "description": "SDMX series key with dots; empty parts = all."
      },
      "flow": {
       "type": "string",
       "pattern": "^[A-Za-z0-9_.@,]{5,80}$",
       "description": "AGENCY,DATAFLOW[,VERSION]."
      },
      "last": {
       "type": "string",
       "pattern": "^([1-9]|[1-9][0-9])$",
       "description": "Latest observations per series (default 12)."
      }
     }
    }
   },
   "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/oecd-sdmx-data-api-f198f337/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from opendata402.com](https://www.zero.xyz/host/opendata402.com/llms.txt)
