SMR20.com
Data API

Endpoints

All endpoints are versioned under /api/v1 and return JSON. Path parameters are shown in braces.

GEThttps://smr20.com/api/v1/prices/today

Latest published price for every active instrument.

Query parameters

No parameters.

Sample response
{
  "data": [
    {
      "instrument": "smr20",
      "name": "SMR 20",
      "market": "MRB",
      "price": 1741.5,
      "currency": "USD",
      "unit": "ton",
      "change_daily": -0.4,
      "trade_date": "2026-07-16",
      "source": "Malaysian Rubber Board"
    }
  ]
}
GEThttps://smr20.com/api/v1/prices/{instrument}

Latest price for one instrument, with optional history range.

Query parameters

  • historyoptionalSet to true to include a daily series.
  • fromoptionalSeries start (YYYY-MM-DD).
  • tooptionalSeries end (YYYY-MM-DD).
Sample response
{
  "data": {
    "instrument": "smr20",
    "latest": { "price": 1741.5, "currency": "USD", "unit": "ton", ... },
    "history": [ { "date": "2026-07-16", "value": 1741.5 } ]
  }
}
GEThttps://smr20.com/api/v1/grades

All rubber grades with authority and spec parameters.

Query parameters

No parameters.

Sample response
{
  "data": [
    { "slug": "smr20", "family": "smr", "authority": "MRB", "country": "Malaysia", ... }
  ]
}
GEThttps://smr20.com/api/v1/grades/{slug}

One grade: full spec parameters, uses, and linked price instrument.

Query parameters

No parameters.

Sample response
{
  "data": {
    "slug": "smr20",
    "family": "smr",
    "parameters": { "dirtMax": 0.16, "ashMax": 0.8, ... },
    "price_instrument": "smr20"
  }
}