Metal Radar Docs
Datapoint

Get datapoint historic period

GET
/v3/datapoint/period

Authorization

AuthorizationRequiredBearer <token>

In: header

Query Parameters

idRequiredstring
fromRequiredstring
tostring | null | null
Default: "now"
bucket_sizestring | null | null
Value in: "1m" | "10m" | "1h" | "1d"

Response Body

TypeScript Definitions

Use the response body type in TypeScript.

dataRequiredarray<PeriodItemDataOut>
curl -X GET "https://api.metalradar.com/v3/datapoint/period?id=LME-CU%3AFCSH.Trade&from=last_week&to=now&bucket_size=1m" \
  -H "Authorization: Bearer <token>"
{
  "data": [
    {
      "timestamp": 0,
      "close": 0
    }
  ]
}