---
title: "Data and methodology · coinprice.dev"
description: "How crypto prices, candles and changes are produced, when a price counts as stale, and what the data does not include."
canonical: "https://coinprice.dev/methodology"
---

# Methodology

How each number on this site is produced, how fresh it is, and what it does not tell you.

Version 1.0 · Last reviewed 11 October 2026

## How a price is made

Every price on the site and in the API goes through the same four steps.

1. **Observe** We read the latest price of each coin from seven exchanges and note when we saw it.
2. **Check** A price far from the others is dropped. With fewer than five exchanges we check the spread instead.
3. **Take the median** The price is the median of what is left, in US dollars. Prices quoted in USDT are converted with the USDT rate.
4. **Mark stale** If no new price arrives in time, the last one stays and is marked stale.

## Prices

Each coin has one price in US dollars, published with the exact time it was observed. The same price appears on the site and in the API, so what you see on a coin page is what your code receives.

| Coin | Price | 24h | Observed | Status |
| --- | --- | --- | --- | --- |
| Bitcoin | $59,887.50 | −2.41% | 24 Nov 2026, 10:27 UTC | Fresh |
| Ethereum | $1,686.32 | −2.03% | 24 Nov 2026, 10:27 UTC | Fresh |

Two rows from the markets table, read when this page was made.

## Freshness

Every price carries its **observation time** in UTC. A price that has not updated within its window is marked **stale** on the site and carries an old `last_updated_at` in the API. A stale price is still the last one we saw; we never fill the gap with a guess.

| Data | Marked stale after |
| --- | --- |
| Latest price | 60 seconds without a new price |
| Candles | Never; only closed candles are published |

## Candles

- Candles are aligned to UTC: 1-minute, 5-minute, 15-minute, 1-hour, 4-hour and daily.
- Only closed candles are published. The candle that is still forming is not part of history.
- Each candle has an open, high, low and close in US dollars.
- Candles older than 20 Nov 2026 come from the exchanges’ own public candle history, combined the same way. A coin with no history yet says so instead of showing an empty chart.

## Changes

The **24h** and **7d** changes compare the latest price with the price 24 hours and 7 days before its observation time. When there is not enough history to compare, the change is shown as a dash on the site and returned as `null` in the API.

## In the API

A price from `GET /v2/simple/price` carries everything above in one object.

```json
{
  "bitcoin": {
    "usd": 59887.50221,
    "usd_24h_vol": 7054358518,
    "usd_24h_change": -2.408559498171481,
    "last_updated_at": 1795516070
  }
}
```

- **`usd`:** Latest US dollar price.
- **`usd_24h_vol`:** Volume over 24 hours, summed from the exchanges that report it. Empty when none does.
- **`usd_24h_change`:** Change against the price 24 hours before last_updated_at; null without enough history.
- **`last_updated_at`:** When we saw that price, in Unix seconds.

## What we don’t publish

- No market capitalisation or circulating supply. Those fields answer null.
- No on-chain or decentralised-exchange prices. Coins with fewer than three exchanges are priced but left out of rankings and top lists.
- Nothing on this site is investment advice or an offer to buy or sell.

[See which coins are covered](https://coinprice.dev/coverage)

## Changelog

- **24 Nov 2026:** Real-world assets: a table of tokenized gold and ten tokenized US stocks with price, 24-hour change and volume, each linked to its tokens, plus two guides on reading them through the API.
- **24 Nov 2026:** Terms: the Free plan may be used commercially if it shows a visible link to coinprice.dev. Paid plans need no link, and reselling the data still needs a written Enterprise agreement.
- **24 Nov 2026:** Guides for Google Sheets, Python, JavaScript, switching from CoinGecko, portfolio trackers, trading bots and price alerts. Every page has a Markdown copy, and the stream and MCP pages now list the real plan limits and tools.
- **24 Nov 2026:** Real-world assets: tokenized gold and stocks under /v2/rwas (list, markets, one asset, price history, issuers), priced from their tokens and ordered by 24h volume, plus coin categories: /v2/coins/categories/list and coins/markets?category=.
- **24 Nov 2026:** Fixes: the 24h change shows for every coin, long chart ranges return the newest points, short windows in the past return data, checkout can be retried, and open streams close when a key is revoked or its plan changes.
- **24 Nov 2026:** Prices, charts, the converter and the watchlist read the live API: every coin with a price, with volume and candles.
- **24 Nov 2026:** Plans are Free, Starter $29, Basic $79 and Pro $299, with 50,000 to 10 million calls a month.
- **11 Oct 2026:** First published version of this page.

Source: https://coinprice.dev/methodology
