Datapoint
Get datapoint historic period
AuthorizationBearer <token>
In: header
Query Parameters
idstring
fromstring
to?string | null
Default
"now"bucket_size?HistoryRequestBucketSize | null
Response Body
curl -X GET "https://data.metalradar.com/v3/datapoint/period?id=LME-CU%3AFCSH.Trade&from=last_week&to=now&bucket_size="{
"data": [
{
"timestamp": 0,
"close": 0
}
]
}{
"error": {
"message": "string",
"code": "INVALID_REQUEST"
}
}{
"message": "string",
"errors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}