Indices

Monthly price history for any index

Returns monthly price history for any PackIndex code (L1, L2, or L3). Covers all 385 indices — corrugated, flexible, rigid, polymers, metals, aromatics, fibre, energy, glass, closures, pharma, and more. History depth is gated by plan:

PlanHistory depthAPI param
Free / unauthenticated3 months—
Essential12 months?months=12
Professional24 months?months=24
Intelligence24 months?months=24

Include Authorization: Bearer opn_<key> to unlock your plan depth. Useful for sparklines, trend charts, year-on-year analysis, and feeding the prediction / simulation engine.

get/indices/{code}/history

Request

  • Base URL: https://opnplatform.com/api
  • URL: https://opnplatform.com/api/indices/{code}/history
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

codestring required

PackIndex code — any L1/L2/L3 code. E.g. CORR, PVC, LME_AL, BOPP, FBB

Query parameters

monthsinteger

Months of history to return. Capped by plan (free=3, essential=12, professional=24, intelligence=24).

Response

Monthly price history

category_idstring

PackIndex code (e.g. CORR, PVC, LME_AL)

monthsinteger

Number of months returned (may be less than requested if data not yet available)

Example response

{
  "category_id": "CORR",
  "history": [
    {
      "change_pct": 1.2,
      "index_date": "2025-06-01",
      "index_value": 0.472,
      "unit": "$/unit"
    },
    {
      "change_pct": 1.48,
      "index_date": "2025-07-01",
      "index_value": 0.479,
      "unit": "$/unit"
    },
    {
      "change_pct": 0.62,
      "index_date": "2026-05-01",
      "index_value": 0.486,
      "unit": "$/unit"
    }
  ],
  "months": 12
}

Changes

No recorded changes to this operation across all 1 revision of this API.