API reference/Agriculture & Food/Commodity Price History

Commodity Price History

Monthly price history for one food commodity since 1990.

GET/api/v1/food/commodity-price-history

Data source

Query parameters

ParameterDescriptionTry value
commodity
string required
wheat, corn, rice, soybeans, palm-oil, sugar, cocoa, coffee-arabica, beef, …
months
number
Months (default 24)
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.