# TwelveX Forex Rate Lookup

> TwelveX Forex Rate Lookup is a paid API for AI agents from twelvix402.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Returns the current exchange rate for a given currency pair (e.g. EUR/USD) via the Twelve Data API.

## Facts

- Endpoint: GET https://twelvix402.vercel.app/api/forex/rate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-forex-rate-lookup-b5e846a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fDqxhFlWt3Bsa_kUegPs9

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 twelvex-forex-rate-lookup-b5e846a6
```

Example prompt: What's the current exchange rate for EUR/USD right now?

## When to prefer this

Use this endpoint when you need a real-time or near-real-time spot forex exchange rate for a specific currency pair and are comfortable paying per-call in USDC via x402. Prefer this over free tier APIs when reliability and Twelve Data's professional-grade data sourcing matter, or when building an agent that handles live trading signals, currency conversion, or financial dashboards.

## Known failure modes

- Invalid or unsupported currency pair symbol returns an error
- Missing required 'symbol' parameter returns 400-level error
- Payment not processed results in 402 response requiring USDC payment
- Twelve Data upstream outage causes delayed or failed response
- Malformed symbol format (e.g. EURUSD instead of EUR/USD) may return error

## How this service works

Premium financial data API — 25 endpoints for stocks, forex, crypto, and technical analysis. Powered by Twelve Data.

## Output

Returns a JSON object containing the live exchange rate for the specified currency pair, sourced from Twelve Data's forex feed. Typically includes the rate/price value and possibly metadata like the symbol and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "symbol"
 ],
 "properties": {
  "symbol": {
   "type": "string",
   "description": "Currency pair (e.g. EUR/USD)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelvex-forex-rate-lookup-b5e846a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twelvix402.vercel.app](https://www.zero.xyz/host/twelvix402.vercel.app/llms.txt)
