# TwelveX Forex Rate Lookup

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

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

## Facts

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

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-17fbd408
```

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 $0.05 USDC per call via x402. Prefer this over free/public APIs when reliability and Twelve Data's coverage are required, especially for less common currency pairs.

## Known failure modes

- Invalid or unsupported currency pair symbol returns an error
- Missing required 'symbol' parameter returns a 400-level error
- Twelve Data upstream outage causes failure or stale data
- Malformed symbol format (e.g. missing slash) may return an error
- Payment failure via x402 protocol blocks the request

## How this service works

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

## Output

A JSON object containing the current exchange rate data for the requested currency pair, sourced from Twelve Data.

## 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-17fbd408/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twelv1x402.vercel.app](https://www.zero.xyz/host/twelv1x402.vercel.app/llms.txt)
