# gateway.apiosk.com – exchangerate-host Currency Converter

> gateway.apiosk.com – exchangerate-host Currency Converter is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Converts a specified monetary amount from one currency to another using live exchange rates via exchangerate-host

## Facts

- Endpoint: GET https://gateway.apiosk.com/exchangerate-host/convert
- 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/gateway-apiosk-com-exchangerate-host-currency-converter-91db0b9e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bt2f5B_PIoq_LwxhXGHVP

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 gateway-apiosk-com-exchangerate-host-currency-converter-91db0b9e
```

Example prompt: Can you convert 250 US dollars to Euros for me right now and tell me the exact converted amount and exchange rate?

## When to prefer this

Use this endpoint when you need a quick, single-call currency conversion with a concrete amount — especially when you want both the converted result and the underlying exchange rate quote in one response. Prefer this over raw exchange-rate lookup endpoints when you need the computed converted value rather than just the rate.

## Known failure modes

- Invalid or unsupported currency code returns an error or success:false
- Missing required parameters (amount, from, to) returns a 400-level error
- Amount of zero or negative may return zero or an error
- API upstream (exchangerate-host) unavailable returns a gateway error
- Payment failure (insufficient USDC) blocks the request before reaching the API

## How this service works

Convert an amount from one currency to another at the live rate; returns the computed result plus the quote used.

## Output

Returns a JSON object with: the converted result amount (e.g. 87.479), the exchange rate quote used, the Unix timestamp of the rate, and an echo of the original query (from, to, amount), plus a success flag.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gateway-apiosk-com-exchangerate-host-currency-converter-91db0b9e/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)
