Get fiat rates for timestamps
POST
Calls the getFiatRatesForTimestamps method over a WebSocket connection.
Connection URL:
Copied!
wss://btc.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://btc.nownodes.io/wss/YOUR_API_KEY'
> {"id":"13","method":"getFiatRatesForTimestamps","params":{"timestamps":[1575288000,1575550800],"currencies":[""]}}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.