Market Radar API
API referenceRadars

A price radar's prices

Each commodity's latest price in its unit, with its publisher; its change over a week and three months when priced daily, over a month and a year when priced monthly; and the year's low and high, in the radar's order. Metals are market data, Brent and Henry Hub the EIA's (about a week late), French power Energy-Charts' day-ahead, TTF gas and chromium INSEE's monthly (a month late). Send since for each price from that date on. Another type of radar's list is empty.

GET
/radars/{id}/prices

Authorization

key
AuthorizationBearer <token>

A key created in the app under Settings, API and MCP. Read keys read; Read and write keys also add, edit and delete companies, custom sources, groups and radars, and create, rename and delete folders.

In: header

Path Parameters

id*integer
Range0 < value <= 9007199254740991

Query Parameters

since?string

Include each commodity's prices from this date on; a year and a few weeks are held

Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/radars/1/prices"
{  "data": [    {      "code": "string",      "name": "string",      "unit": "string",      "cadence": "daily",      "publisher": "string",      "latest": {        "day": "2019-08-24",        "price": 0      },      "change": {        "week": 0,        "three_months": 0,        "month": 0,        "year": 0      },      "range": {        "low": {          "day": "2019-08-24",          "price": 0        },        "high": {          "day": "2019-08-24",          "price": 0        }      },      "history": [        {          "day": "2019-08-24",          "price": 0        }      ]    }  ]}