Home

Get current or historical fiat rates.

GET
https://maticbook.nownodes.io/api/v2/tickers

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Modified between 0.5.0 and 0.6.0: fiat-rate currency selectors are bounded; CoinGecko fetching hardened against 429 throttling with a self-healing pass for missing daily rates - availability of rates improves, response shape is unchanged. 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.

Parameters

currencystringquery

Optional currency code. When omitted, all available rates can be returned.

timestampinteger<int64>query

Unix timestamp for historical rates.

blockstringquery

Block height or hash whose timestamp should be used for historical rates.

tokenstringquery

Optional token symbol or contract/address key for token-specific rates.

Response

200OK

HTTP 200 Polygon Blockbook response for getFiatTicker.

400Bad Request

Domain or validation error. JSON body {"error": "..."}.

401Unauthorized

Unauthorized: missing or invalid api-key header. The NOWNodes gateway returns the plain-text body "Unknown API_key".

405Method Not Allowed

Method Not Allowed: gateway-level response for unknown routes.

500Internal Server Error

Internal Server Error. JSON body {"error":"Internal server error"}.