# OECD Composite Leading Indicators API

> OECD Composite Leading Indicators API is a paid API for AI agents from x402-datashop-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns amplitude-adjusted OECD Composite Leading Indicator (CLI) monthly time series with business-cycle phase signals for a given country or region

## Facts

- Endpoint: GET https://x402-datashop-production.up.railway.app/v1/global/leading-indicators
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/oecd-composite-leading-indicators-api-efb38776
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_77qgFC1XNit03BQpsgspI

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-composite-leading-indicators-api-efb38776
```

Example prompt: What's the OECD composite leading indicator signal for the USA right now — fetch the last 6 monthly observations and tell me whether it's showing expansion, slowdown, downturn, or recovery.

## When to prefer this

Use this endpoint when you need official OECD amplitude-adjusted CLI data with a precomputed business-cycle phase label (expansion/slowdown/downturn/recovery) rather than raw statistical data. Ideal for macroeconomic dashboards, investment cycle analysis, or early-warning systems that need a single authoritative signal across major economies (USA, DEU, FRA, GBR, JPN, G20, etc.) without building your own OECD data pipeline.

## Known failure modes

- Invalid area code returns an error (e.g. unsupported or misspelled country code)
- n out of range (must be 1-36) returns a validation error
- OECD data not yet published for the current month returns most recent available data
- Payment failure (insufficient USDC) returns 402 Payment Required
- Upstream OECD data source unavailable causes 503 or cached stale response

## How this service works

OECD Composite Leading Indicator (amplitude-adjusted, long-term trend = 100), the reference early signal of business-cycle turning points. Query: ?area=USA&n=6 (area codes: USA, DEU, FRA, GBR, JPN, G20...; n = last N monthly values, 1-36). Returns monthly observations plus a computed cycle_signal (expansion/downturn/slowdown/recovery). Published ~mid-month by OECD; 24h cache.

## Output

An array of up to 36 monthly CLI observations (amplitude-adjusted, long-term trend = 100) for the requested OECD area, each tagged with a computed cycle_signal value indicating the current business-cycle phase (expansion, downturn, slowdown, or recovery). Data is sourced from OECD's official release (~mid-month) and cached for 24 hours.

## 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": {
      "n": {
       "type": "integer",
       "default": 6,
       "description": "Last N monthly observations (1-36)"
      },
      "area": {
       "type": "string",
       "default": "USA",
       "description": "OECD area code (e.g. USA, DEU, G20)"
      }
     }
    }
   },
   "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-composite-leading-indicators-api-efb38776/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-datashop-production.up.railway.app](https://www.zero.xyz/host/x402-datashop-production.up.railway.app/llms.txt)
