Get current or historical fiat rates.
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Modified in 0.6.0: fiat-rate currency selectors are bounded and rate fetching is hardened against throttling - the response shape is unchanged. Live on KMD fiat rates are unavailable: current rates answer 400 "No tickers found!", historical timestamps answer 200 with rates -1. Documented as it exists in 0.6.0.
Returns currency rates for the requested currency and date. If a rate is unavailable for the exact timestamp, the closest available rate can be returned. Responses include the actual rate timestamp. Without a currency parameter, all available currencies can be returned. A rate of -1 marks an unavailable or invalid currency for that timestamp.
Load estimate: Low to medium; specific currency lookups are cheap, while omitted currency and token lookups increase response size.
live-verified behavior:
- Live: fiat rates are unavailable on the KMD instance - current rates answer HTTP 400 {"error":"No tickers found!"}, historical timestamps answer 200 with rates -1.
Parameters
currencystringqueryOptional currency code. When omitted, all available rates can be returned.
timestampinteger<int64>queryUnix timestamp for historical rates.
blockstringqueryBlock height or hash whose timestamp should be used for historical rates.
tokenstringqueryOptional token symbol or contract/address key for token-specific rates.
Response
HTTP 200 Komodo Blockbook response for getFiatTicker.
Domain or validation error. live-verified: JSON body {"error": "..."} (unknown block/transaction, invalid address, malformed broadcast hex, missing filter parameters).
Unauthorized: missing or invalid api-key header. The NOWNodes gateway returns the plain-text body "Unknown API_key".
Method Not Allowed: gateway-level response for unknown routes (and for the v1 GET broadcast route on this instance).
Internal Server Error. live-verified on the deployed instance: JSON body {"error":"Internal server error"} (observed on /api/rawtx and invalid XPUB lookups).