Browse all documentation

Physical price history API

Read the price history of one physical series with periods, published units and revisions.

Endpoint and request

REST endpoint
GET /v1/commodities/physical/series/{series_id}/observations
Contract request
curl --request GET \
  --url "https://api.narwhalapi.com/v1/commodities/physical/series/worldbank-cmo-copper/observations?start=2026-07-01&end=2026-10-01&limit=100" \
  --header "Authorization: Bearer $NARWHAL_API_KEY"

MCP uses commodities_get_physical_observations. REST and MCP share the same schema, credit, rights check, and problem shape.

Parameters

NameRequiredTypeMeaning
series_idYespath · stringUse a stable ID returned by discovery, such as fuel-eia-usa-regular-gasoline or worldbank-cmo-copper.
startNoquery · YYYY-MM-DDInclusive start date. Supply start and end together, or omit both.
endNoquery · YYYY-MM-DDExclusive end date, later than start. Observations overlapping the date window are returned.
limitNoquery · integer, 1–500Maximum items per page. Defaults to 100.
cursorNoquery · stringUse next_cursor from the previous page with the same filters and limit. Null means there are no more pages.

Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0

Response

Contract example
{
  "series_id": "worldbank-cmo-copper",
  "currency": "USD",
  "unit": "metric_ton",
  "unit_key": "tonne",
  "unit_quantity": "1",
  "attribution": "The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0",
  "observations": [
    {
      "period_start": "2026-07-01",
      "period_end": "2026-07-31",
      "price": "13543",
      "revision": 1
    },
    {
      "period_start": "2026-08-01",
      "period_end": "2026-08-31",
      "price": "14326",
      "revision": 1
    },
    {
      "period_start": "2026-09-01",
      "period_end": "2026-09-30",
      "price": "14474",
      "revision": 1
    }
  ],
  "next_cursor": null
}
FieldTypeRequiredMeaning
series_idstringYesStable ID returned by series discovery.
currencystringYesQuote currency. US fuel, World Bank and most web-read series use USD. National Egg Coordination Committee (NECC) egg prices use INR.
unit / unit_quantitystringsYesPublished unit and the quantity priced. Fuel uses us_gallon. Monthly benchmarks use metric_ton, kilogram, barrel, cubic_meter, troy_ounce, mmbtu, dry_metric_ton_unit or sheet. Web-read series use tonne, dry_tonne, kilogram, mtu, pound, troy_ounce or egg. The quantity is 1 except for plywood, which uses USD per 100 sheets, CEPEA sugar, which uses a 50 kg bag, and NECC eggs, which use 100 eggs. Values are not converted.
unit_keystringNounit_key is the unit in one standard spelling; unit keeps the source's wording. Mass keys are gram, kilogram, tonne, dry_tonne, wet_tonne, short_ton, pound, troy_ounce, carat, mtu and dry_metric_ton_unit. Volume keys are barrel, gallon, bushel, cubic_meter, standard_cubic_meter and board_foot. Energy keys are mmbtu and terajoule. Count keys are sheet and count. When a price is quoted in cents, price_scale is 0.01: multiply the price by it to get the amount in currency.
attributionstringYesKeep the response attribution with the data. Source: U.S. Energy Information Administration. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0. Web-read series carry the publisher's name.
observationsarrayYesObservations ordered oldest first. Each contains period_start, period_end, a decimal-string price and revision. published_on is optional.
observations[].period_start / observations[].period_enddatesYesInclusive observation dates. Fuel uses the Monday survey date for both. A monthly observation spans the whole month, such as 2026-09-01 to 2026-09-30.
observations[].pricedecimal stringYesPublished price in the series currency per unit_quantity units. Read it with the series price type and basis.
observations[].published_ondateNoPublication date. Omitted when the source gives none.
observations[].revisionintegerYesStarts at 1 and increases when a later publication changes the value for that period.
next_cursorstring or nullYesOpaque continuation token. Null marks the final page.

Errors and credits

  • 400 invalid_query, a code, area, date range, limit, or selector is invalid.
  • 400 invalid_cursor, the cursor is invalid or does not match the request filters.
  • 401 invalid_api_key, the Bearer key is missing or rejected.
  • 404 physical_series_not_found, no complete approved data matches the request.
  • 409 cursor_expired, the publication changed. Restart pagination without a cursor.
  • 429 rate_limit_exceeded or 402 insufficient_credits, the per-minute limit is reached, or your balance does not cover the call.
  • 503 physical_reference_unavailable, a complete publication is unavailable.

Rejected requests and server errors cost nothing.

Coverage

20 weekly US retail fuel series: regular gasoline and No. 2 on-highway diesel, each for the US average and nine regions. Prices use USD per US gallon. US average history starts in August 1990 for gasoline and March 1994 for diesel. Regional series start later. History grows each week after the Monday survey. Source: U.S. Energy Information Administration. Three daily EIA spot series cover WTI crude oil at Cushing, Brent crude oil and Henry Hub natural gas, in USD per barrel or per million Btu. Monthly coverage includes 70 World Bank series across softs, oils and oilseeds, metals, grains, energy, fertilizers, forestry, and livestock and dairy. History reaches back to 1960, with later starts for some series. A new month is added after each monthly publication, but individual series can lag or have ended. Barley and sorghum end in August 2020; Mexican shrimp ends in October 2023. Check coverage_end for each series. All World Bank prices use USD and units as published. Source: The World Bank: World Bank Commodity Price Data (The Pink Sheet), CC BY 4.0. Since 14 November 2026 the physical price routes also carry 51 series read from publishers' own public pages: 37 from Shanghai Metals Market (SMM), and 14 from Cameco (uranium spot), Umicore (rhodium), CEPEA (Brazil crystal sugar), the International Pepper Community (pepper), the National Egg Coordination Committee (NECC, India eggs), Methanex (methanol posted prices), the Thai Rice Exporters Association (white rice 5%), the Thai Tapioca Trade Association (tapioca), Ship & Bunker (Singapore bunker fuel) and ChemPortal (China fluorspar). Each price is read from the publisher's page once a day, with the job starting at 11:00 UTC, and checked by plain code against the page before it is stored. A series keeps its last published price until the page shows a new one. 43 of these series are daily, 5 are weekly and 3 are monthly. They sit in the metals, energy, softs, grains and livestock-dairy categories. Each carries the publisher's name as attribution. This reference calls the series read from publishers' pages web-read series.

Available with a Narwhal API key.

Was this page helpful?