Monthly world prices since 1960 for the commodities Ghana exports and imports — cocoa, gold, crude oil, aluminium, logs and sawnwood among 50-odd others — in nominal US dollars. Sourced from the World Bank Pink Sheet, CC BY 4.0. 49827 records.
Every column this dataset returns, with its type. This is the shape of the API response.
| Field | Type |
|---|---|
| commodity | TEXT NOT NULL |
| unit | TEXT |
| year | INTEGER NOT NULL |
| month | INTEGER NOT NULL |
| price_usd | DECIMAL(16,4) |
| source | TEXT |
| commodityTEXT NOT NULL | unitTEXT | yearINTEGER NOT NULL | monthINTEGER NOT NULL | price usdDECIMAL(16,4) | sourceTEXT |
|---|---|---|---|---|---|
| Aluminum | $/mt | 1960 | 1 | 511.4718 | World Bank Commodity Markets, the Pink Sheet (CC BY 4.0) |
| Aluminum | $/mt | 1960 | 2 | 511.4718 | World Bank Commodity Markets, the Pink Sheet (CC BY 4.0) |
| Aluminum | $/mt | 1960 | 3 | 511.4718 | World Bank Commodity Markets, the Pink Sheet (CC BY 4.0) |
| Aluminum | $/mt | 1960 | 4 | 511.4718 | World Bank Commodity Markets, the Pink Sheet (CC BY 4.0) |
| Aluminum | $/mt | 1960 | 5 | 511.4718 | World Bank Commodity Markets, the Pink Sheet (CC BY 4.0) |
49,822 more rows — see the plans
See the plansGET connect.apighana.com/api/data/commodity_prices
Cite this dataset and the organisation its records come from (World Bank Commodity Price Data). Datasets are updated, so keep the date you accessed it in the citation. These records cover 1960 to 2025; say which period your figures come from. Last updated from the source on Sep 18, 2026.
API Ghana. (2026). Commodity prices (Version 1.0) [Data set, compiled from World Bank Commodity Price Data]. Retrieved October 1, 2026, from https://apighana.com/datasets/commodity-prices
curl "https://connect.apighana.com/api/data/commodity_prices?page=1&limit=20" \ -H "X-API-Key: $APIGHANA_KEY"
const response = await fetch(
"https://connect.apighana.com/api/data/commodity_prices?page=1&limit=20",
{ headers: { "X-API-Key": process.env.APIGHANA_KEY } },
);
const { data, meta } = await response.json();import os, requests
response = requests.get(
"https://connect.apighana.com/api/data/commodity_prices",
headers={"X-API-Key": os.environ["APIGHANA_KEY"]},
params={"page": 1, "limit": 20},
)
rows = response.json()["data"]