NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Commodity Prices API

GET

Price copper, wheat, coffee and 55 more commodities off World Bank monthly benchmarks.

Commodity Prices returns the World Bank Pink Sheet's monthly average price for 58 agricultural, fertilizer and base metal commodities: copper, aluminum, nickel, zinc, tin, iron ore, wheat, maize, rice, soybeans, coffee, cocoa, sugar, cotton, palm oil, urea and more. Each price comes with the previous month, the monthly change, the year-over-year change and the 12-month range, with monthly history back to 1960.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/commodityprices?commodity=copper
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "count": 1,
    "month": "2026-10",
    "prices": [
      {
        "commodity": "copper",
        "name": "Copper",
        "group": "base_metals",
        "month": "2026-10",
        "price": 14508,
        "currency": "USD",
        "unit": "metric_ton",
        "publishedUnit": "metric_ton",
        "previousMonth": "2026-09",
        "previousPrice": 14474,
        "change": 34,
        "changePercent": 0.23,
        "changeDirection": "up",
        "yearAgoPrice": 10740,
        "yearOverYearPercent": 35.08,
        "high12m": 14508,
        "high12mMonth": "2026-10",
        "low12m": 10812,
        "low12mMonth": "2025-11"
      }
    ]
  }
}

About the Commodity Prices API

A commodity price API built on the World Bank's Commodity Price Data, known as the Pink Sheet: monthly average prices in nominal US dollars for base metals (aluminum, copper, lead, nickel, tin, zinc, iron ore), grains (wheat, maize, rice, barley, sorghum), oils and meals (soybeans, soybean oil and meal, palm oil, rapeseed and sunflower oil), beverages (Arabica and Robusta coffee, cocoa, tea), other food (sugar, bananas, oranges, beef, chicken, lamb, shrimp), raw materials (cotton, rubber, tobacco, logs, sawnwood, plywood) and fertilizers (urea, DAP, TSP, phosphate rock, potash).

Every plan gets the latest month's price for one commodity with the previous month and the monthly change, in its published unit or converted between metric tons, kilograms, pounds and short or long tons. Paid plans add the year-over-year change and 12-month high and low, several commodities or a whole group in one call, any past month back to 1960 and up to 20 years of monthly history. Crude oil, natural gas and coal are in the Energy Prices API; gold, silver and platinum have their own APIs.

How it works

A scheduled collector reads the World Bank's monthly commodity price workbook (CMO Historical Data, Monthly) on the 4th and 8th of each month and stores every monthly price since January 1960. Requests are served from that store, never from the World Bank live. Source: World Bank, Commodity Price Data (The Pink Sheet), licensed under Creative Commons Attribution 4.0 (CC BY 4.0).

price is the monthly average in nominal US dollars for month; previousPrice is the month before it and change the difference, with changePercent the same as a percent. yearAgoPrice and yearOverYearPercent compare with the same month a year earlier, and high12m and low12m are the highest and lowest prices in the 12 months to month. Series the World Bank no longer updates keep their last published month.

Metals, grains, oils, sugar, rubber and fertilizers are published per metric ton or per kilogram; unit converts between metric_ton, kg, lb (0.45359237 kg), short_ton (907.18474 kg) and long_ton (1016.0469088 kg). Timber is published per cubic meter, iron ore per dry metric ton unit and plywood in US cents per sheet; those keep their published unit.

What people use it for

Procurement and Cost Models
Manufacturers index supplier contracts and bill-of-materials costs to the monthly copper, aluminum, nickel or cotton benchmark and its year-over-year change.
Food and Agriculture Dashboards
Agritech and food companies chart wheat, maize, rice, soybeans, sugar and fertilizer prices side by side with a whole group in one call.
Research and Teaching
Analysts and students pull decades of monthly history for any commodity to study cycles, shocks and long-run trends.
Fintech and Market Content
Finance apps add a commodities panel showing the latest monthly price, change and 12-month range for the metals and softs their users follow.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Commodity Prices

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Commodity Prices API.

Read the docs →
Which commodities are covered?
58 World Bank Pink Sheet series: base metals (aluminum, copper, lead, nickel, tin, zinc, iron ore), grains, oilseeds and vegetable oils, coffee, cocoa and tea, sugar, meat, fruit and shrimp, cotton, rubber, tobacco and timber, and five fertilizers. Crude oil, natural gas and coal are in the Energy Prices API, and gold, silver and platinum in their own price APIs.
Are these live or daily prices?
No. They are monthly average prices in nominal US dollars, published by the World Bank early each month for the month before. The API checks for a new edition on the 4th and 8th of each month. The World Bank sometimes revises recent months, and the API picks those revisions up. Source: World Bank Commodity Price Data (The Pink Sheet), licensed CC BY 4.0.
What does the Free plan include?
The Free plan returns one commodity per call with the latest monthly price, the previous month's price and the monthly change, in any supported unit. Paid plans add the year-over-year change and the 12-month high and low, several commodities or a whole group per call, any past month back to 1960 and monthly history.
Which plan fits 10,000 price lookups a month?
Starter covers it. At 2 credits per call, 10,000 lookups use 20,000 credits, or a tenth of the 200,000 credits on Starter. That works out to about $0.30 per 1,000 calls. A whole group in one call still costs one call. The Free plan includes 100 calls per month.
Why is one commodity's month older than the others?
The World Bank stopped updating a few series (barley and sorghum among them), and some lag a month behind the rest. Each entry carries its own month, so you always know which month a price is for.

Ready to build with Commodity Prices? Start with 200 free credits — one key unlocks all 417+ APIs.

Explore the catalog

417+ APIs on the same key and the same response shape.

Browse all APIs