Chart
Get historical chart data
Get historical chart data
get/v1/chart
Request
- Base URLhttps://lpad-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
tokenNamestring required
Token name to get chart data for
fromnumber required
Example:1737500000
Start timestamp (Unix seconds)
tonumber required
Example:1737600000
End timestamp (Unix seconds)
resolutionnumber required
Example:5
Data point interval in minutes (1, 5, 10, 15, 30, 60, 240, 1440)
Response
Candle values and history metadata in the standard success envelope.
Example response
{
"message": "Success",
"status": 200,
"data": {
"data": [
{
"closePrice": 0.026,
"highPrice": 0.027,
"lowPrice": 0.024,
"openPrice": 0.025
}
],
"isPreviousData": true,
"nextTime": 1737499940
}
}Changes
No recorded changes to this operation across all 1 revision of this API.