# JPY Exchange Rates API (ECB Reference)

> JPY Exchange Rates API (ECB Reference) is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Returns current Japanese yen (JPY) exchange rates against 10 major currencies using ECB reference data, including inverse rates

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/fx/jpy
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jpy-exchange-rates-api-ecb-reference-2aa0e962
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5pwsGnZofwTNQXtqD3dH_

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 jpy-exchange-rates-api-ecb-reference-2aa0e962
```

Example prompt: What are the current Japanese yen exchange rates against the US dollar, euro, and other major currencies — I need the ECB reference rates including inverses for pricing a product in JPY.

## When to prefer this

Use this endpoint when you specifically need JPY-base exchange rates against major currencies for Japan market pricing, invoice calculation, or travel budgeting, especially when ECB reference rates (rather than real-time mid-market rates) are acceptable. Prefer over generic forex APIs when you need coverage of Asian currencies like KRW, TWD, SGD, and HKD alongside Western majors, all in a single JPY-base call.

## Known failure modes

- Stale rates if ECB reference data has not been updated (weekends/holidays)
- Service unavailability on Railway hosting platform
- No query parameters supported — cannot request a specific date or subset of currencies
- Rate data may lag real-time market rates as ECB reference rates are published once daily

## How this service works

Japanese yen exchange rates (JPY base, ECB reference): USD, EUR, GBP, CNY, KRW, AUD, CHF, SGD, HKD, TWD with inverse rates. Use for currency conversion, pricing in yen, invoice calculation, travel budgeting, forex context for Japan market analysis.

## Output

A JSON object containing JPY-based exchange rates for USD, EUR, GBP, CNY, KRW, AUD, CHF, SGD, HKD, and TWD, plus inverse rates (e.g. how many yen per dollar), sourced from ECB reference data.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   },
   "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/jpy-exchange-rates-api-ecb-reference-2aa0e962/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-data-api-production.up.railway.app](https://www.zero.xyz/host/jp-data-api-production.up.railway.app/llms.txt)
