# claw402 Metals Time Series (via Twelve Data)

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

Returns historical OHLCV time-series price data for precious metals (e.g. gold, silver) via Twelve Data, paid per-call with USDC using the x402 protocol — no API key required.

## Facts

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

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-metals-time-series-via-twelve-data-0c76f04b
```

Example prompt: Can you pull the daily gold (XAU) price history from January 1 to June 30 2024, using a 1-day interval and 180 data points?

## When to prefer this

Use this endpoint when you need historical precious metals price data (gold, silver, platinum, etc.) and want to avoid API key registration — ideal for autonomous AI agents that pay per-call with USDC via the x402 protocol. Prefer this over direct Twelve Data access when keyless, wallet-based micropayments are needed.

## Known failure modes

- Invalid or unsupported metal symbol returns empty data array
- Missing required query parameters (symbol, interval) returns error
- Insufficient USDC balance or failed x402 payment returns 402 Payment Required
- Date range produces no data (e.g. weekends/holidays) returns empty array
- Malformed date format (start_date/end_date) may return an error or empty result

## How this service works

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

## Output

A JSON object with a status code and an array of time-series entries containing OHLCV (open, high, low, close, volume) data points for the requested metal symbol over the specified date range and interval.

## 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-metals-time-series-via-twelve-data-0c76f04b/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)
