One coin's price, market data, supply and links
Keyless coin profile: price in USD and in fiat, 24h change, 24h high and low, volume, market cap, all-time high and low, supply, BTC and ETH ratios, links, chains, categories and notices.
Market and supply numerics are decimal STRINGS (numeric columns), not JSON numbers: parse before comparing. currentPriceUsd is always USD. currentPrice, volume24h, marketCap, high24h, low24h, athUsd and atlUsd are converted to fiat (the last two despite their names); percentages and ratios are unitless.
priceUpdatedAt is when the coin's live price was last written. priceStale: true means that is more than priceStaleAfterHours (72) ago: the price is kept as the last known value, never hidden. marketCapSuspect: true flags a market cap CoinRithm does not trust (marketCapSuspectReason, for example stale_dead_pair). A coin without a live price (typically an inactive listing) answers 200 with the price fields, priceUpdatedAt and marketCapSuspect null and priceStale: false.
Query parameters other than fiat and locale are ignored. Unknown slug: 404 {"message": "not_found"}. Also served at /api/v1/coins/{slug} with identical behaviour.
Request
- Base URL: https://api.coinrithm.com
- URL: https://api.coinrithm.com/api/coins/{slug}
- Auth: none required
Path parameters
Coin slug as on the website, for example bitcoin (the slug of a /api/coins or /api/live-prices row).
Query parameters
Upper-case currency code CoinRithm tracks, for example EUR, GBP or JPY (default USD). Case-sensitive and not validated: an untracked or lower-case code returns USD values with nothing in the body saying so. At most 10 characters, or 400.
Language of notices text (for example de); default en. At most 10 characters, or 400.
Response
Coin profile with price, freshness and links
Example response
{
"currentPriceUsd": "81915.0561485573",
"change24h": "1",
"marketCapSuspectReason": "stale_dead_pair"
}Changes
No recorded changes to this operation across all 1 revision of this API.