timeframes
curl --request GET \
--url https://api.alphractal.com/spot/timeframes \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/spot/timeframes"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/spot/timeframes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"timeframe": "<string>",
"last_time": "2023-11-07T05:31:56Z",
"is_recent": true
}
]OHLCV Metadata
timeframes
Retrieve OHLCV Metadata data for /spot/timeframes.
GET
/
spot
/
timeframes
timeframes
curl --request GET \
--url https://api.alphractal.com/spot/timeframes \
--header 'X-Api-Key: <api-key>'import requests
url = "https://api.alphractal.com/spot/timeframes"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.alphractal.com/spot/timeframes', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));[
{
"timeframe": "<string>",
"last_time": "2023-11-07T05:31:56Z",
"is_recent": true
}
]Authorizations
API Key authentication. Include your API key in the X-Api-Key header for all requests.
Query Parameters
Cryptocurrency asset identifier (e.g. btc, eth, ada). Use lowercase ticker symbol.
Optional exchange pin. Omit to probe the spot fallback-chain universe (any exchange, stablecoin/fiat quotes).
Quote asset filter (default: USDT). Only applied with an explicit exchange.