C

commodities.sh · Price CL

by commodities.sh

GETBase

$0.01

per call · USD Coin on Base

commodities.sh price

Endpoint

GET https://api.commodities.sh/v1/price/CL

14

Calls / 30d

7

Unique payers / 30d

Sep 9

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.commodities.sh/v1/price/CL", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.commodities.sh/v1/price/CL" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-07-20",
  "derived": false,
  "freshness_class": "eod",
  "instrument": "CL",
  "license_tag": "us_gov_public",
  "observed_at": "2026-07-24T12:00:00.000Z",
  "quality": "official",
  "source": {
    "name": "EIA",
    "series_id": "PET.RWTC.D",
    "url": "https://api.eia.gov/v2/seriesid/PET.RWTC.D"
  },
  "unit": "USD/bbl",
  "value": 70.12
}

Payment details

Pay to0x0d4ee4e945601865e3a5bc5a188e4a9cf23c00d5
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from commodities.sh & similar services