---
title: "Get demo prices (No authentication required)"
method: GET
path: "/v1/demo/prices"
tags: ["Demo (No Auth)"]
---

# Get demo prices (No authentication required)

`GET /v1/demo/prices`

**Start here - no API key needed!**

Returns the latest prices for free-tier commodities. Perfect for testing the API
before signing up or for embedding in documentation examples.

**Available commodities:**
- Brent Crude Oil (BRENT_CRUDE_USD)
- WTI Crude Oil (WTI_USD)
- Natural Gas Henry Hub (NATURAL_GAS_USD)
- Gold (GOLD_USD)
- Gold AM/PM Fix (GOLD_AM_USD, GOLD_AM_GBP, GOLD_AM_EUR, GOLD_PM_USD, GOLD_PM_GBP, GOLD_PM_EUR)
- Silver (SILVER_USD)
- Silver Fix (SILVER_FIX_USD, SILVER_FIX_GBP, SILVER_FIX_EUR)
- EUR/USD (EUR_USD)
- USD/NOK (USD_NOK)
- EUR/NOK (EUR_NOK)
- GBP/USD (GBP_USD)
- Heating Oil (HEATING_OIL_USD)
- Gasoline RBOB (GASOLINE_USD)
- Diesel (DIESEL_USD)

**Rate limit:** 20 requests per hour per IP

**Need more?** [Get a free API key](https://www.oilpriceapi.com/signup) for full access.

## Response `200`

Demo price data with code examples

- DemoPricesResponse — Response from demo API endpoint (no authentication required)
  - `status` string
  - `data` object
    - `prices` DemoPrice[]
      - `code` string — Commodity code
      - `name` string — Human-readable commodity name
      - `price` number, float — Current price
      - `currency` string — Price currency
      - `updated_at` string, date-time — When the price was last updated
      - `source` string — Data source
    - `meta` object
      - `demo_mode` boolean
      - `rate_limit` string
      - `signup_url` string
      - `documentation_url` string
    - `examples` object
      - `curl` string
      - `python` string
      - `javascript` string

## Other responses

- `429` — Rate limit exceeded
- `500` — Unexpected server error. Retry transient failures with bounded backoff and retain the request ID when contacting support.

---

[API](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1.md) · [All operations](https://skmtc.net/oilpriceapi/apis/oil-price-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oilpriceapi/oil-price-api-v1/revisions/5a5ce424cacc/schema)
