# Reference Data API – ISO 4217 Currency Lookup

> Reference Data API – ISO 4217 Currency Lookup is a paid API for AI agents from reference-data-api.onrender.com, paid per call via x402, $0.0345/call, status unknown (last checked 2026-11-21).

Looks up ISO 4217 currency details by alpha-3 code, numeric code, or name, returning the currency name, numeric code, minor units (decimal places), and countries that officially use it.

## Facts

- Endpoint: GET https://reference-data-api.onrender.com/v1/currency?utm_source=zero.xyz
- Price: $0.0345/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reference-data-api-iso-4217-currency-lookup-bd7d0eca
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_66btle65rcroZFndRXH2K

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 reference-data-api-iso-4217-currency-lookup-bd7d0eca
```

Example prompt: Can you look up the ISO 4217 details for CHF — I need to know its numeric code, how many decimal places it uses, and which countries officially use it?

## When to prefer this

Use this endpoint when you need authoritative ISO 4217 currency metadata — especially minor units (decimal places) for amount formatting, numeric codes for financial file formats, or the list of countries officially using a given currency. Prefer this over general-purpose search when you need structured, standards-compliant currency reference data rather than market rates or exchange rates.

## Known failure modes

- Unknown or invalid currency code returns a 404 or error response
- Misspelled currency name may not match — requires exact or close match
- Numeric codes must be provided as strings matching the ISO 4217 format
- Ambiguous name strings may return no match or unexpected result

## How this service works

ISO 4217 currency lookup by code, numeric code or name: name, numeric code, minor units (decimal places for amounts) and the countries that use it officially.

## Output

Returns a JSON object containing the currency's official name, ISO 4217 alpha-3 code, numeric code, minor units (number of decimal places used in amounts), and a list of countries that officially use the currency.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Alpha-3 code, numeric code or currency name"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reference-data-api-iso-4217-currency-lookup-bd7d0eca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reference-data-api.onrender.com](https://www.zero.xyz/host/reference-data-api.onrender.com/llms.txt)
