Commodities API 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
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- 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
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- 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
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- 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
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- Axios
- Native
- Request
- Unirest
Loading...