---
title: "Get Commodity History"
method: GET
path: "/api/market/commodities/history/{commodity}"
tags: ["market"]
---

# Get Commodity History

`GET /api/market/commodities/history/{commodity}`

## Request

- Base URL: `https://api.equity-rank.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.equity-rank.com/api/market/commodities/history/{commodity}`
- Auth: none declared

Daily OHLCV for one commodity (GC=F futures proxy). Used for price chart.
commodity: GOLD | SILVER | WTI | BRENT | COPPER | NATURAL_GAS

## Path parameters

- `commodity` string, required

## Query parameters

- `days` integer

## Response `200`

Successful Response

- object[]

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/equity-rank/apis/equity-rank-api.md) · [All operations](https://skmtc.dev/equity-rank/apis/equity-rank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/equity-rank/apis/equity-rank-api/revisions/c2f2463fee33?raw)
