Skip to main content

Asset Prices API

The Asset Prices API returns the reference prices that crypto, gold and silver price markets settle on, as OHLC candles. Use it to chart the price next to an Up/Down or ladder market, to seed a live price display, or to check a market’s priceToBeat and settlementPrice against the source.

Endpoints

No authentication is required.

Query Parameters

The 3600-candle cap is the only size limit, so the widest window scales with the bucket: an hour at 1S, 60 hours at 1M, 150 days at 1H. The effective from and to after alignment are echoed on each series.

Example

Gold and silver use the same request with commodity:gold or commodity:silver. Their candles carry the raw Chainlink spot price, one value per second, so a 1S candle usually has tickCount: 1. 0 marks a second with no publication:

Response Fields

Candles are dense and ascending, one per bucket in the effective window. An unknown symbol, or an asset whose markets are not available yet, fails the whole request with HTTP 404 (asset price history is not available). An available asset with no prices yet returns an empty series.

Relationship to Markets

  • assetPriceTerms.asset on a crypto, gold or silver market is the assets value to chart against.
  • A crypto Up/Down market’s priceToBeat is the simple average of the 60 one-second prices in the sixty seconds before windowStart, from T − 60 s up to but not including windowStart itself (the interval [T − 60 s, T)); its settlementPrice is the same statistic at windowEnd. The reading 60 seconds before the boundary is part of the average and the reading exactly at the boundary is not. To reproduce it, query bucket=ASSET_PRICE_BUCKET_1S with from = T − 60 and to = T − 1 and average the 60 close values. For cpc-btc-updown-15m-2026-10-06-1900z, the candles from 18:59:00 to 18:59:59 inclusive average to the published priceToBeat of 85501.45; the minute 18:59:01 to 19:00:00 averages to 85501.37 and does not match.
  • A gold or silver Up/Down market’s priceToBeat is a single spot value, not an average: the value Chainlink publishes for windowStart. Its settlementPrice is the value for windowEnd. To check one, query bucket=ASSET_PRICE_BUCKET_1S with from = T and to = T + 1 and read the close of the candle whose timestamp is T. For cpausp-gold-updown-15m-2026-10-21-1430z, the candle at 14:30:00 UTC closes at 4133.50, the published priceToBeat, and the candle at 14:45:00 UTC closes at 4128.62, the published settlementPrice. The stamped values are authoritative.
  • Poll the latest candle for a live price display. Prices are published about once per second.

Closed Hours

Gold and silver have a price only while the metals market is open. Chainlink publishes no spot price from 5:00 PM to 6:00 PM ET each day or at the weekend, and none, or only part of a day, on some holidays. No windows are listed on the holidays in the Gold and Silver FAQs, even when prices are published. Candles in a closed period are gap-filled: tickCount is 0 and close carries the last price forward. Drop tickCount: 0 candles if you chart only published prices.