# Twelve Data Exchange Rate via gateway.apiosk.com

> Twelve Data Exchange Rate via gateway.apiosk.com is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Returns the current foreign exchange rate for a given currency pair symbol using the Twelve Data financial data API.

## Facts

- Endpoint: GET https://gateway.apiosk.com/twelve-data/exchange_rate
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/twelve-data-exchange-rate-via-gateway-apiosk-com-67beb82c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tZiFiyUPxYqQDgaVpGTcD

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 twelve-data-exchange-rate-via-gateway-apiosk-com-67beb82c
```

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 foreign exchange rate for a specific currency pair and are routing through the gateway.apiosk.com x402-payable API gateway backed by Twelve Data. Prefer this over generic currency converters when you need reliable financial-grade FX data integrated into an agent workflow that handles micropayments per call.

## Known failure modes

- Invalid or unrecognized currency pair symbol returns an error response
- Missing required 'symbol' parameter returns a 400-level error
- Twelve Data upstream API unavailable causes a 5xx or timeout error
- Unsupported symbol format (e.g. missing slash or incorrect ticker) causes lookup failure
- Payment not processed correctly results in 402 response before data is returned

## How this service works

FX rate for a currency pair, e.g. USD/JPY.

## Output

The agent receives the current exchange rate value for the requested currency pair symbol, sourced from Twelve Data's FX data feed, including the rate and relevant metadata such as the currency symbols involved.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/twelve-data-exchange-rate-via-gateway-apiosk-com-67beb82c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
