Metal Radar Docs
Widget

Get widgets

Widgets are groups of datapoints and can be managed in the frontend using your developer account.

GET
/v3/widget/{ids}
AuthorizationBearer <token>

In: header

Path Parameters

idsstring

Comma separated list of widget ids.

For example: NdIHRlXfsE2k6mf7K7P6L,ImlvSlOWirkLrgIIc7j0c

Query Parameters

datetime?string | null

Request the 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)

Formatdate-time
map?boolean

Add a map of the contracts and its part to the response

Defaultfalse

Response Body

curl -X GET "https://data.metalradar.com/v3/widget/string?datetime=2025-01-01&map=false"
{
  "status": "success",
  "error": "general.not_found",
  "data": [
    "string"
  ],
  "map": [
    "string"
  ],
  "message": "string",
  "meta": [],
  "errors": []
}
{
  "message": "string"
}
{
  "message": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}