# Datakoot FX Convert

> Datakoot FX Convert is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Converts a monetary amount from one currency to another using ECB reference rates via Frankfurter

## Facts

- Endpoint: POST https://x402.datakoot.com/api/fx_convert?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-fx-convert-4f323d62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xuj_lGlkrUdEj-ZkyiSW6

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 datakoot-fx-convert-4f323d62 -d '<json body>'
```

Example prompt: Convert 250 GBP to USD using today's ECB reference rates and tell me the result and the rate used.

## When to prefer this

Use this endpoint when you need a quick, reliable ECB-sourced foreign exchange rate conversion for informational purposes, especially in agentic workflows that already use x402 micropayments on Base. It covers a broad range of global currencies and charges only $0.002 USDC per successful call, making it cost-effective for frequent conversions.

## Known failure modes

- Invalid or unsupported currency code returns an error
- Amount sent as a string instead of a number may cause a validation error
- ECB does not publish rates on weekends or holidays so the latest available rate is used
- Network or upstream Frankfurter API unavailability may cause a 5xx error
- Payment failure on Base via x402 results in no charge and no response

## How this service works

48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.

## Output

Returns the converted amount, the exchange rate used, the conversion date, the source and target currency codes, and a note that the rate is from ECB reference rates via Frankfurter for informational purposes only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target 3-letter currency"
  },
  "from": {
   "type": "string",
   "description": "Source 3-letter currency"
  },
  "amount": {
   "type": "number",
   "description": "Amount in the 'from' currency to convert. Send it as a number, not a string."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "USD",
  "date": "2026-10-02",
  "from": "GBP",
  "rate": 1.3201,
  "amount": 250,
  "result": 330.025,
  "source": "ECB reference rates via Frankfurter (information only; not a transaction benchmark)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-fx-convert-4f323d62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
