# claw402 Twelve Data Indices Quote

> claw402 Twelve Data Indices Quote 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).

Fetches a real-time or latest quote for a financial index (e.g. S&P 500, NASDAQ) via the Twelve Data API, paid per-call with USDC using the x402 protocol.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/twelvedata/indices/quote
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 4
- Tags: x402
- Canonical page: https://www.zero.xyz/c/claw402-twelve-data-indices-quote-5efb219a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k9eBvF21vz-2-lTg5uDmh

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-indices-quote-5efb219a
```

Example prompt: What's the current quote for the S&P 500 index — just fetch the latest price using the symbol SPX on a 1-day interval.

## When to prefer this

Choose this endpoint when you need financial index quotes (not individual stocks) without registering for an API key, and you are able to pay per-call in USDC via the x402 protocol. Ideal for agents operating with crypto wallets that need anonymous, frictionless access to market index data.

## Known failure modes

- Payment not received — returns HTTP 402 if USDC payment via x402 is not completed
- Invalid or unsupported symbol — returns error code in JSON body
- Invalid interval parameter — returns error if interval enum value is unsupported
- Rate limit or upstream Twelve Data outage — may return empty data array or upstream error code
- Malformed request — missing required query params returns error

## 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 index quote data (OHLC, price, timestamp, etc.) sourced from Twelve Data, with a code field indicating success and a data array containing the quote details.

## 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"
      },
      "interval": {
       "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-indices-quote-5efb219a/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)
