api/v2/multi-tickers - Bitcoin Cash
Example code for the api/v2/multi-tickers REST method. Complete guide on how to use the api/v2/multi-tickers REST method in the GetBlock Web3 documentation.
Parameters
Parameter
Type
Location
Required
Description
Request
curl --location --request GET 'https://go.getblock.io/<ACCESS-TOKEN>/api/v2/multi-tickers/?timestamp=1617180599,1617184199¤cy=usd'const response = await fetch(
'https://go.getblock.io/<ACCESS-TOKEN>/api/v2/multi-tickers/?timestamp=1617180599,1617184199¤cy=usd'
);
console.log(await response.json());import requests
response = requests.get('https://go.getblock.io/<ACCESS-TOKEN>/api/v2/multi-tickers/?timestamp=1617180599,1617184199¤cy=usd')
print(response.json())Response
[
{
"ts": 1617180599,
"rates": {
"usd": 512.34
}
},
{
"ts": 1617184199,
"rates": {
"usd": 514.1
}
}
]Response Parameters
Field
Type
Description
Use Cases
Error Handling
HTTP Status
Message
Description
Was this helpful?