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’spriceToBeat 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
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.asseton a crypto, gold or silver market is theassetsvalue to chart against.- A crypto Up/Down market’s
priceToBeatis the simple average of the 60 one-second prices in the sixty seconds beforewindowStart, fromT − 60 sup to but not includingwindowStartitself (the interval[T − 60 s, T)); itssettlementPriceis the same statistic atwindowEnd. The reading 60 seconds before the boundary is part of the average and the reading exactly at the boundary is not. To reproduce it, querybucket=ASSET_PRICE_BUCKET_1Swithfrom = T − 60andto = T − 1and average the 60closevalues. Forcpc-btc-updown-15m-2026-10-06-1900z, the candles from 18:59:00 to 18:59:59 inclusive average to the publishedpriceToBeatof 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
priceToBeatis a single spot value, not an average: the value Chainlink publishes forwindowStart. ItssettlementPriceis the value forwindowEnd. To check one, querybucket=ASSET_PRICE_BUCKET_1Swithfrom = Tandto = T + 1and read thecloseof the candle whosetimestampisT. Forcpausp-gold-updown-15m-2026-10-21-1430z, the candle at 14:30:00 UTC closes at 4133.50, the publishedpriceToBeat, and the candle at 14:45:00 UTC closes at 4128.62, the publishedsettlementPrice. 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.