Indices
Single index — current value
Fetch the current value and WoW change for any PackIndex code (L1 raw material, L2 semi-finished, or L3 finished unit). Works for all 385 indices: CORR, FLEX, PVC, LME_AL, OCC, BOPP, BOPET, PX, PE, etc. Include Authorization: Bearer opn_<key> to access your plan's full index set. For price history (sparklines, trend charts, prediction inputs) use GET /api/indices/{code}/history?months=24 instead.
get/indices/{code}
Request
- Base URL: https://opnplatform.com/api
- URL: https://opnplatform.com/api/indices/{code}
- Auth: one of:
- HTTP bearer
- none
Path parameters
codestring required
PackIndex code — any L1/L2/L3 code. E.g. CORR, FLEX, PVC, LME_AL, OCC, BOPP, FBB, HDPE_BOT
Query parameters
currency'USD' | 'GBP' | 'EUR' | 'CAD'
Response
Current index value
Example response
{
"category_id": "CORR",
"change_pct": 2.14,
"co2_grade": "A",
"co2_per_dollar": 0.37,
"co2_per_unit": 0.18,
"index_date": "2026-04-17",
"index_value": 0.486,
"unit": "$/unit"
}Changes
No recorded changes to this operation across all 1 revision of this API.