Commodities API

Unlock Real-Time Financial Market Data for Cocoa, Coffee, Corn, Cotton, Gasoline, Lumber, Natural Gas, Oats, Oil, Orange Juice, Soybean, Sugar and Wheat in over 160 currencies

Need something else? -
1{
2  "status": "success",
3  "data": {
4    "base_currency": "GBP", // 160+ currencies to select from
5    "symbols": "COCOA,COFFEE", // 12+ Commodities to select from
6    "rates": {
7      "COCOA": {
8        "open": 5381.24343,
9        "high": 5410.89006,
10        "low": 5362.23918,
11        "prev": 5443.57737,
12        "current": 5369.84088
13      },
14      "COFFEE": {
15        "open": 191.73008,
16        "high": 193.13639,
17        "low": 191.31198,
18        "prev": 193.06037,
19        "current": 192.07215
20      }
21    }
22  }
23}

Join the 3000+ developers and businesses accross 70+ countries that trust us to deliver


Interactive Documentation

Use our interactive documentation and code generation to get going in seconds


GET/v1/latest

This endpoint makes an HTTP GET request to retrieve the latest commodity rates for various symbols in the specified currency. The request includes the symbols of the commodities and the base currency. The response contains the success status, any errors, the base currency, and the rates for each commodity symbol in the specified base currency.

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

symbolsoptional
Comma seperate values from supported symbols list.
base_currencyoptional
desired currency for pricing information

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...

GET/v1/market-data

This endpoint makes an HTTP GET request to retrieve market data for various commodities. The request includes a list of symbols and the base currency. The response contains the success status, any errors, the base currency, and the market data for each symbol including open, high, low, previous, and current values.

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

symbolsoptional
Comma seperate values from supported symbols list.
base_currencyoptional
desired currency for pricing information

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...

GET/v1/supported-currencies

This endpoint retrieves the list of supported currencies

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

searchoptional
Search avaliable currencies that are supported using codes or names

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...

GET/v1/supported-commodities

This endpoint retrieves the list of supported commodities

Header(s)

x-api-key required
Value should be your API Key- get one here

Query Parameter(s)

searchoptional
Search avaliable commodities that are supported using codes or names

Example Request

  • Axios
  • Native
  • Request
  • Unirest
Loading...