Index Values
List the index series catalog and stored values, fetch published values on demand into the shared store, and enter values by hand with a quote and a source.
Index values are the external half of a price: the public numbers a contract's formulas read. Four routes manage them. GET /v1/price-baseline/indices is the series catalog with stored ranges, GET /v1/price-baseline/indices/values reads stored values, POST /v1/price-baseline/indices/refresh fetches published values from their publishers, and POST /v1/price-baseline/indices/manual stores hand-entered values with their source. A series is identified by a key; a key of the form manual:<name> names a series entered by hand.
Every stored value has a source: a publisher family (behg, bundesbank, destatis, eex, dwd, eurostat, bafa, the, bls, eia, singstat, law), library, manual, or invoice. Published values are shared by every workspace. Values entered by hand, printed on the biller's invoice, or read from a workspace library are workspace-scoped, and so is eex_web_rnd, a research feed read from the EEX website. An invoice value is usable but never independent.
/v1/price-baseline/indicesResponse fields
/v1/price-baseline/indices/valuesQuery parameters
Response fields
cURL: Read stored values for two series
curl "https://api.talonic.com/v1/price-baseline/indices/values?series=destatis.erdgas.boerse,eex.eua.month" \
-H "Authorization: Bearer $TALONIC_API_KEY"/v1/price-baseline/indices/refreshBody fields
Response fields (201)
cURL: Fetch two years of one series
curl -X POST "https://api.talonic.com/v1/price-baseline/indices/refresh" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"series": ["destatis.erdgas.boerse"], "from_year": 2024, "to_year": 2025}'indices/refresh writes shared data. The fetched values are stored as published values that every workspace reads, so a refresh by one workspace changes the index tables of all. The fetch runs inside the request, and a long range of a slow publisher can approach the HTTP timeout. Fetch in smaller year ranges when a publisher is slow./v1/price-baseline/indices/manualBody fields
cURL: Enter a value from a publisher page
curl -X POST "https://api.talonic.com/v1/price-baseline/indices/manual" \
-H "Authorization: Bearer $TALONIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"values": [
{
"series": "manual:fernwaerme-index",
"period": "2025-03",
"value": 118.4,
"unit": "Index",
"source_url": "https://example.org/index/2025-03",
"quote": "Maerz 2025: 118,4"
}
]
}'The response is { "stored": <count> } with status 201. Because validation is all or nothing, a single invalid value (for example a quote that does not occur in the named document) rejects the whole call with a 422 and stores nothing, which keeps the workspace's index tables free of half-applied entries.