# claw402 Twelve Data Time Series via x402

> claw402 Twelve Data Time Series via x402 is a paid API for AI agents from claw402.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Fetches historical OHLCV time-series data for a financial instrument using Twelve Data, paid per-call with USDC via the x402 protocol — no API key required.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/twelvedata/time-series
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-twelve-data-time-series-via-x402-998443aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wrCdmDNlZhOIVe-lNM9p2

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 claw402-twelve-data-time-series-via-x402-998443aa
```

Example prompt: Pull the daily OHLCV price history for AAPL from January 1 2024 to March 31 2024, with 90 candles, using the Twelve Data time series endpoint — pay with USDC.

## When to prefer this

Use this endpoint when you need historical OHLCV financial time series data and want to pay per-call with USDC without registering for a Twelve Data API key. Prefer it in automated agent workflows where wallet-based micropayments are preferable to managing API credentials.

## Known failure modes

- Invalid or unsupported symbol returns empty data array
- Unsupported interval string causes malformed response
- Missing required symbol parameter causes request failure
- Insufficient USDC balance or failed x402 payment results in 402 Payment Required
- Date range outside available data returns empty data array
- Network timeout from upstream Twelve Data service

## How this service works

Backed by vergex.trade. Pay for any API with USDC. No API keys. No registration. Just a wallet.

## Output

Returns a JSON object with a code field and a data array containing OHLCV (open, high, low, close, volume) candlestick records for the requested symbol, interval, and date range as served through the claw402 x402 payment gateway.

## 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",
     "properties": {
      "symbol": {
       "type": "string"
      },
      "end_date": {
       "type": "string"
      },
      "interval": {
       "type": "string"
      },
      "outputsize": {
       "type": "string"
      },
      "start_date": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "code": 0,
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/claw402-twelve-data-time-series-via-x402-998443aa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from claw402.ai](https://www.zero.xyz/host/claw402.ai/llms.txt)
