data

FX cross rate from ECB fixings — $0.003

Cross rate between two ISO currencies derived from the daily ECB euro reference fixing (e.g. USD/JPY = EURJPY / EURUSD). Same fixing time as /v1/data/fx/ecb. Source: European Central Bank (free reuse with attribution (ECB)). Cadence: daily; observed_at in the response is the upstream timestamp.

get/v1/data/fx/pair/{base}/{quote}

Request

  • Base URL: https://x402.asterpay.io
  • URL: https://x402.asterpay.io/v1/data/fx/pair/{base}/{quote}
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • HTTP payment

Path parameters

basestring required
Example:USD

ISO 4217 code

quotestring required
Example:JPY

ISO 4217 code

Response

FX cross rate from ECB fixings

successboolean required
dataobject required

Door-specific payload; see the door description and GET /v1/data for an example URL

observed_atstring nullable required

Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time.

fetched_atstring required

When AsterPay last fetched from the upstream

cadence'live' | '5m' | '15m' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' required
next_expectedstring nullable

Earliest time a newer upstream value is expected

cache_expires_atstring
staleboolean required

true when the upstream failed and a cached copy under 24h old was served

timestampstring required

Changes

No recorded changes to this operation across all 1 revision of this API.