# Cerawal Currency Rate Lookup

> Cerawal Currency Rate Lookup is a paid API for AI agents from cerawal.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Looks up the exchange rate between two currencies, payable per request in USDC via x402.

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/rate
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerawal-currency-rate-lookup-7d383706
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nKQyDavqG9R0D8NCM2GqM

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 cerawal-currency-rate-lookup-7d383706 -d '<json body>'
```

Example prompt: What is the current exchange rate from USD to EUR?

## When to prefer this

Use this endpoint when you need a quick, pay-per-use currency rate lookup without requiring API keys or subscriptions, especially in autonomous agent workflows using x402 micropayments in USDC.

## Known failure modes

- Invalid or unsupported currency codes return an error or empty data
- Payment failure via x402 prevents the request from being fulfilled
- Network timeout from the Vercel deployment returns no data
- Malformed request body (missing 'to' or 'from' fields) may return an error response

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a 'data' field containing the exchange rate information between the specified currency pair, and a 'success' boolean indicating whether the lookup succeeded.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "To currency"
  },
  "from": {
   "type": "string",
   "description": "From currency"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerawal-currency-rate-lookup-7d383706/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
