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

category_idstring

Index code (e.g. CORR, FLEX, RGID)

change_pctnumber nullable

Week-on-week % change

co2_grade'A' | 'B' | 'C' | 'D' | 'null' nullable

Carbon grade A–D relative to all L3 index peers. A=lowest carbon quartile (best), D=highest carbon quartile.

co2_per_dollarnumber nullable

Carbon efficiency: kg CO2e per USD spent. Lower = greener per dollar. Calculated as co2_per_unit / index_value.

co2_per_unitnumber nullable

Carbon footprint in kg CO2e per finished unit. Scope 3 cradle-to-gate material production only. Source: WRAP 2023 / PlasticsEurope LCIA 2023 / Ecoinvent 3.9 / IAI 2023.

index_datestring date
index_valuenumber

Current value in USD

unitstring

Price unit (e.g. $/unit, $/t, $/1000)

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.