Home

Get fiat rates for timestamps

POST
wss://bsc-blockbook.nownodes.io/wss/{api_key}

Returns rate tickers for the requested Unix timestamps. When no exact rate exists for a timestamp, the closest available one is returned (live: a request for 1676591569 returned the rate stamped 1748908800).

Connection URL:

Copied!
wss://bsc-blockbook.nownodes.io/wss/{{api_key}}

Open the connection, then send the message below as a text frame.

Example:

Copied!
wscat -c 'wss://bsc-blockbook.nownodes.io/wss/YOUR_API_KEY'
> {"id":"13","method":"getFiatRatesForTimestamps","params":{"timestamps":[1575288000],"currencies":["usd"]}}

Body

application/json
object

Parameters

api_keystringrequiredpath

Your NOWNodes API key.

Response

200OK

A successful response.