v2

latestOpenAPI 3.0.4Commercial License2026-08-0718678294.5 KB
Prices
Premium

Get all commodity prices in one call

Retrieve the commodity values available to the account in a single API call. Responses include timestamps and metadata for evaluating freshness. Catalog access varies by dataset, plan, and entitlement.

get/v1/prices/all

Query parameters

categoriesstring
Example:oil,gas

Comma-separated list of categories to filter (oil,gas,metals,forex,marine_fuels)

codesstring
Example:WTI_USD,BRENT_CRUDE_USD,GOLD_USD

Comma-separated list of specific commodity codes

currency'USD' | 'EUR' | 'GBP'
Example:USD

Convert prices to specific currency (Premium only)

include_metadataboolean
Example:true

Include additional metadata

Response

All commodity prices

statusstring

Example response

{
  "status": "success",
  "data": {
    "prices": {
      "BRENT_CRUDE_USD": {
        "code": "BRENT_CRUDE_USD",
        "price": 59.76,
        "currency": "USD",
        "updated_at": "2025-12-17T16:03:13Z",
        "change_24h": 0.74,
        "change_24h_percent": 1.25
      },
      "WTI_USD": {
        "code": "WTI_USD",
        "price": 56.04,
        "currency": "USD",
        "updated_at": "2025-12-17T16:07:01Z",
        "change_24h": 0.59,
        "change_24h_percent": 1.06
      }
    },
    "count": 42
  },
  "metadata": {
    "categories": [
      "oil",
      "gas",
      "metals",
      "forex"
    ],
    "data_sources": 12
  }
}