# coinprice.dev API

REST/JSON crypto prices in US dollars: the median of up to seven exchanges for every coin on two or more of them, with 24h change, 24h volume, candles and the time of each price. Answers follow CoinGecko's shapes on the routes the two share. A CoinGecko client usually needs a new base URL and key header, then a check of the fields it reads: the [switch guide](/guides/switch-from-coingecko-api.md) lists the differences.

- `GET /v2/simple/price`: Latest price for up to 250 coins in one call. One call counts as one request. An id that is not a coin is left out of the answer, and an answer with none is {} and still counts as a call.
- `GET /v2/simple/supported_vs_currencies`: The 150 currency codes that vs_currency and vs_currencies accept. The example shows the first five.
- `GET /v2/convert`: Converts an amount between two coins, or between a coin and a currency, at the latest price.
- `GET /v2/coins/markets`: A page of ranked coins: on three or more exchanges, with a 24h volume. Each row has price, 24h and 7d change, 24h high and low and 24h volume; market cap, supply and image are null. Pass ids to read any other coin, or use /v2/coins/list or /v2/search to find ids.
- `GET /v2/coins/list`: Every coin we price, as id, symbol and name, in one answer with no paging. The example shows the first two.
- `GET /v2/coins/categories/list`: The category ids that /v2/coins/markets accepts as category: real-world-assets, tokenized-gold and tokenized-stocks.
- `GET /v2/coins/{id}`: One coin with its market data. market_cap and fully_diluted_valuation come back as {"usd": null}, with one key for each currency you ask for in vs_currencies, and the supplies are null: market cap and supply are never published. Fields that are always null stay in the answer so CoinGecko clients can read them. sources is the number of exchanges with a fresh price; see Conventions.
- `GET /v2/coins/{id}/history`: The US dollar closing price of one day. 404 for a day with no price. It has no currency parameter.
- `GET /v2/coins/{id}/ohlc`: Candles as [time in ms, open, high, low, close], oldest first. Hourly and daily candles start on 1 Jan 2023, or when the coin began (/v2/coverage shows hourly_from and daily_from). Minute candles start on 23 Nov 2026 and are kept 30 days on Free and 90 days on paid plans. Answers hold at most 5,000 rows.
- `GET /v2/coins/{id}/market_chart`: Price points as [time in ms, price], oldest first. market_caps and total_volumes are empty lists. The step is picked as for candles. Answers hold at most 2,000 points.
- `GET /v2/coins/{id}/market_chart/range`: The same answer as market_chart for a window you name.
- `GET /v2/search`: Up to 25 coins whose id, name or symbol matches. Use it to find a coin id.
- `GET /v2/coverage`: For every coin: whether it is traded and ranked, when we first saw it, and the first day of its hourly and daily history. minute_days is the minute window your plan allows, not what is held.
- `GET /v2/derivatives`: Perpetual futures with mark price, funding rate and open interest. index_id is the id of the coin the future is on, and index and basis come from its spot price. Fields we do not have (spread, 24h change) are null.
- `GET /v2/derivatives/{symbol}`: One future by symbol.
- `GET /v2/derivatives/{symbol}/ohlc`: Hourly candles as [time in ms, open, high, low, close]. Any other interval is a 400.
- `GET /v2/derivatives/{symbol}/funding`: Hourly funding as [time in ms, rate_1h, open_interest].
- `GET /v2/predictions`: Crypto prediction markets with their probability.
- `GET /v2/predictions/{id}`: One prediction market. The id in the example is a market that resolves, so list /v2/predictions for a current one.
- `GET /v2/predictions/{id}/history`: Probability over time as [time in ms, probability].
- `GET /v2/rwas/list`: Tokenized real-world assets: gold and US stocks. The price of an asset is the market price of its tokens, averaged by each token’s 24h volume.
- `GET /v2/rwas/markets`: A page of assets with price, 24h and 7d change, 24h high and low and 24h volume under tokenized_market_data. Market cap and the 1h, 14d, 30d, 200d and 1y changes are null.
- `GET /v2/rwas/issuers/list`: The companies that issue the tokens.
- `GET /v2/rwas/issuers/{id}`: One issuer with its tokens and their 24h volume.
- `GET /v2/rwas/{id}`: One asset. Add tokens=true to list its tokens (each has its own page under /v2/coins/{id}) and tokenized_market_data=true for its price.
- `GET /v2/rwas/{id}/market_chart`: Price points as [time in ms, price] under tokenized_prices, oldest first, always in US dollars. The two other lists are empty.

Free plan: 50,000 calls a month, no card. See [pricing](/pricing.md) and [docs](/docs.md).
