# EndpointsXRT Exchange Rates API

> EndpointsXRT Exchange Rates API is a paid API for AI agents from endpointsxrt.vercel.app, paid per call via x402, $0.030458/call, status unknown (last checked 2026-09-14).

Fetches current currency exchange rates for a given base currency via pay-per-call on Base chain

## Facts

- Endpoint: POST https://endpointsxrt.vercel.app/api/exchange-rates
- Price: $0.030458/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/endpointsxrt-exchange-rates-api-21ef0db3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5jBCQdB1m2AnNaPvE8-vP

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 endpointsxrt-exchange-rates-api-21ef0db3 -d '<json body>'
```

Example prompt: What are the current exchange rates for USD as the base currency?

## When to prefer this

Use this endpoint when you need live currency exchange rates and are already operating in a pay-per-call x402 ecosystem on Base chain, or when other sibling endpoints on EndpointsXRT are already being used and consistency matters. Best for lightweight, single-base-currency lookups rather than bulk historical data.

## Known failure modes

- Invalid or unsupported base currency code returns an error
- Network or upstream rate provider unavailability causes failure
- Malformed request body missing the base field may return a 400 error
- Payment failure on Base chain (x402) results in a 402 response before data is returned

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

Returns a JSON object containing exchange rates for various currency pairs relative to the specified base currency, reflecting current market rates.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/endpointsxrt-exchange-rates-api-21ef0db3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from endpointsxrt.vercel.app](https://www.zero.xyz/host/endpointsxrt.vercel.app/llms.txt)
