api/v2/tickers-list - Bitcoin Cash
Example code for the api/v2/tickers-list REST method. Complete guide on how to use the api/v2/tickers-list 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/tickers-list/?timestamp=1617180599'const response = await fetch(
'https://go.getblock.io/<ACCESS-TOKEN>/api/v2/tickers-list/?timestamp=1617180599'
);
console.log(await response.json());import requests
response = requests.get('https://go.getblock.io/<ACCESS-TOKEN>/api/v2/tickers-list/?timestamp=1617180599')
print(response.json())Response
{
"ts": 1617180599,
"available_currencies": [
"usd",
"eur",
"gbp",
"jpy",
"btc"
]
}Response Parameters
Field
Type
Description
Use Cases
Error Handling
HTTP Status
Message
Description
Was this helpful?