Metal Radar Docs
Datapoint

Get datapoint historic period

GET
/v3/datapoint/period
AuthorizationBearer <token>

In: header

Query Parameters

idstring

The ID of the datapoint

For example: LME-CU:FCSH.Trade

fromstring

Request the from data as it was at a specific datetime

Accepts: ISO 8601 date (2025-01-01), timestamp (1765324800), or natural language (yesterday, last week, 1 hour ago, 3 days ago)

to?string | null
Default"now"

Response Body

curl -X GET "https://data.metalradar.com/v3/datapoint/period?id=LME-CU%3AFCSH.Trade&from=2025-01-01&to=now"
{
  "data": [
    {
      "timestamp": 0,
      "close": 0
    }
  ],
  "errors": []
}
{
  "error": {
    "message": "string",
    "code": "INVALID_REQUEST"
  }
}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}