# DataVault Exchange Rate Lookup

> DataVault Exchange Rate Lookup is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Converts a specified amount from one currency to another and returns the current exchange rate

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/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/datavault-exchange-rate-lookup-e7afcd78
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Oet3-HA6q82U12di0Edu

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 datavault-exchange-rate-lookup-e7afcd78 -d '<json body>'
```

Example prompt: What is 500 US dollars worth in Japanese yen right now — give me the converted amount using the live exchange rate?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call currency conversion or exchange rate lookup without committing to a subscription-based forex API. Ideal for agents that only occasionally need currency data and want to avoid over-fetching.

## Known failure modes

- Unsupported or invalid currency code returns an error or empty data
- Missing required fields (from, to, amount) may result in a validation error
- Network or upstream data provider outage causing lookup failure
- Amount of zero or negative value may produce unexpected results

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success flag and a data object containing the exchange rate and converted amount for the specified currency pair and input amount.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string"
  },
  "from": {
   "type": "string"
  },
  "amount": {
   "type": "number"
  }
 }
}
```

## 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/datavault-exchange-rate-lookup-e7afcd78/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
