# claw402 Twelve Data Forex Pairs Lookup

> claw402 Twelve Data Forex Pairs Lookup 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).

Retrieves available forex currency pairs from Twelve Data via the claw402 x402 payment gateway, payable in USDC with no API key required.

## Facts

- Endpoint: GET https://claw402.ai/api/v1/twelvedata/forex-pairs
- 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-forex-pairs-lookup-50977808
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g0Hn6hDIsniaShFk_sGUC

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-forex-pairs-lookup-50977808
```

Example prompt: Can you look up what forex currency pairs are available with USD as the base currency and EUR as the quote currency?

## When to prefer this

Use this endpoint when you need to discover available forex currency pairs from Twelve Data without holding a Twelve Data API key, and you prefer paying per-call in USDC via x402 protocol. Ideal for agents with a crypto wallet that need ad-hoc forex pair discovery without subscription overhead.

## Known failure modes

- Payment not received or insufficient USDC balance — 402 response with payment instructions
- Invalid currency_base or currency_quote values — empty data array or error code returned
- Twelve Data upstream outage — proxy returns error or empty result
- Malformed query parameters — schema validation error
- No matching pairs found for given currency combination — empty data array

## 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 code field and a data array containing the list of matching forex currency pairs available on Twelve Data, filtered by the provided base and quote currency parameters.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "currency_base": "USD",
   "currency_quote": "EUR"
  }
 }
}
```

## 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": {
      "currency_base": {
       "type": "string"
      },
      "currency_quote": {
       "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-forex-pairs-lookup-50977808/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)
