# TwelveX Forex Currency Converter

> TwelveX Forex Currency Converter is a paid API for AI agents from twelv1x402.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Converts a specified amount between two currencies (forex pair) using real-time exchange rate data powered by Twelve Data.

## Facts

- Endpoint: GET https://twelv1x402.vercel.app/api/forex/convert
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelvex-forex-currency-converter-4993e41a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YdqhPTt3TGuAqbGXLsEx8

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-currency-converter-4993e41a
```

Example prompt: What's 500 USD worth in EUR right now? Use the TwelveX forex converter to get me the live conversion for the USD/EUR pair.

## When to prefer this

Use this endpoint when you need real-time, on-demand forex currency conversion between a specific pair and want financial-grade data backed by Twelve Data. Prefer it over generic exchange rate APIs when precision, reliability, and access to a broader financial data ecosystem (stocks, crypto, technical analysis) matters to your agent.

## Known failure modes

- Invalid or unsupported currency pair symbol returns an error
- Missing required 'symbol' parameter causes a 400-level error
- Twelve Data upstream outage may result in stale or unavailable data
- Malformed amount string may cause a parsing error
- Payment failure (x402) blocks the request before execution

## 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 with the converted currency value and exchange rate details for the specified forex pair and amount, sourced from Twelve Data's real-time feed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "symbol"
 ],
 "properties": {
  "amount": {
   "type": "string",
   "description": "Amount to convert (default: 1)"
  },
  "symbol": {
   "type": "string",
   "description": "Pair (e.g. USD/EUR)"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelvex-forex-currency-converter-4993e41a/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)
