Coins
Cryptocurrency metadata including descriptions, images, categories, market cap rankings, and multi-chain network information.
The coin model
Properties
- Name
id- Type
- string
- Description
Unique coin identifier (e.g.,
"bitcoin","ethereum").
- Name
symbol- Type
- string
- Description
The ticker symbol (e.g.,
"btc","eth").
- Name
name- Type
- string
- Description
Full coin name.
- Name
description- Type
- string
- Description
Coin description text.
- Name
homepage- Type
- string
- Description
Project homepage URL.
- Name
imageUrl- Type
- string
- Description
URL to the coin's logo image.
- Name
marketCapRank- Type
- integer
- Description
Current market cap ranking.
- Name
categories- Type
- string[]
- Description
Categories the coin belongs to (e.g.,
["Cryptocurrency", "Layer 1"]).
- Name
platforms- Type
- object
- Description
Map of blockchain platform to contract address.
- Name
marketCap- Type
- number
- Description
Current market capitalization in USD.
- Name
currentPrice- Type
- number
- Description
Current price in USD.
- Name
priceChange24h- Type
- number
- Description
Price change in USD over the last 24 hours.
- Name
priceChangePercentage24h- Type
- number
- Description
Price change percentage over the last 24 hours.
- Name
totalVolume- Type
- number
- Description
24-hour trading volume in USD.
- Name
circulatingSupply- Type
- number
- Description
Coins currently in circulation.
- Name
totalSupply- Type
- number
- Description
Total supply of coins.
- Name
maxSupply- Type
- number
- Description
Maximum possible supply (null if unlimited).
Get coin by ID
Retrieve full metadata for a coin by its identifier.
Path parameters
- Name
coinId- Type
- string
- Description
Coin identifier (e.g.,
"bitcoin","ethereum").
Request
curl https://api.bitcompare.net/api/v1/coins/bitcoin
Response
{
"data": {
"id": "bitcoin",
"symbol": "btc",
"name": "Bitcoin",
"description": "Bitcoin is the first...",
"homepage": "https://bitcoin.org",
"imageUrl": "https://...",
"marketCapRank": 1,
"categories": ["Cryptocurrency", "Layer 1"],
"platforms": {
"ethereum": "0x..."
},
"marketCap": 900000000000,
"currentPrice": 45000.50,
"priceChange24h": 1000.00,
"priceChangePercentage24h": 2.27,
"totalVolume": 30000000000,
"circulatingSupply": 19500000,
"totalSupply": 21000000,
"maxSupply": 21000000,
"createdAt": "2025-10-29T14:00:00Z",
"updatedAt": "2025-10-29T14:00:00Z"
}
}
Search coins
Search or list coins. When no search parameters are provided, returns a paginated list of all coins sorted by market cap rank.
Optional attributes
- Name
q- Type
- string
- Description
Search query matching name or symbol (e.g.,
"bitcoin","btc").
- Name
symbol- Type
- string
- Description
Exact symbol match (e.g.,
"btc").
- Name
page- Type
- integer
- Description
Page number for pagination. Defaults to 1.
- Name
limit- Type
- integer
- Description
Results per page. Defaults to 20, max 500.
- Name
sort- Type
- string
- Description
Sort field:
market_cap_rank,name, orsymbol. Defaults tomarket_cap_rank.
- Name
order- Type
- string
- Description
Sort direction:
ascordesc. Defaults toasc.
- Name
category- Type
- string
- Description
Filter by coin category.
- Name
has_rates- Type
- boolean
- Description
Filter to coins that have rate data available.
Request
curl -G https://api.bitcompare.net/api/v1/coins \
-d q=bitcoin
Response
{
"data": [
{
"id": "bitcoin",
"symbol": "btc",
"name": "Bitcoin",
"marketCapRank": 1
}
],
"meta": {
"total": 1,
"query": { "q": "bitcoin" }
}
}
Get coin networks
Get the blockchain networks and contract addresses for a coin.
Request
curl https://api.bitcompare.net/api/v1/coins/bitcoin/networks
Response
{
"data": {
"coinId": "bitcoin",
"networks": [
{
"platform": "ethereum",
"address": "0x..."
}
],
"count": 1
}
}
Coin stats
Get the total number of coins available.
Request
curl https://api.bitcompare.net/api/v1/coins/stats
Response
{
"data": {
"totalCoins": 15000,
"timestamp": "2025-10-29T14:00:00Z"
}
}
Top coins
Get the top coins by market cap rank. Cached for 5 minutes.
Optional attributes
- Name
limit- Type
- integer
- Description
Number of coins to return. Defaults to 100, max 500.
Request
curl -G https://api.bitcompare.net/api/v1/coins/top \
-d limit=10
Market data
Get comprehensive market statistics for a specific coin. Cached for 15 minutes.
Path parameters
- Name
coinId- Type
- string
- Description
Coin identifier (e.g.,
"bitcoin").
Request
curl https://api.bitcompare.net/api/v1/coins/bitcoin/market-data
Coins with market data
Get paginated market data for a crypto comparison table. Includes prices, volume, sparklines, and market cap data. Cached for 5 minutes.
Optional attributes
- Name
page- Type
- integer
- Description
Page number. Defaults to 1.
- Name
per_page- Type
- integer
- Description
Results per page. Defaults to 100.
- Name
sparkline- Type
- boolean
- Description
Include 7-day sparkline data. Defaults to
false.
- Name
order- Type
- string
- Description
Sort field (e.g.,
market_cap_rank).
- Name
order_dir- Type
- string
- Description
Sort direction:
ascordesc.
- Name
category- Type
- string
- Description
Filter by coin category.
- Name
search- Type
- string
- Description
Search by name or symbol.
Request
curl -G https://api.bitcompare.net/api/v1/coins/markets \
-d per_page=10 \
-d sparkline=true
Featured coins
Get featured coins — includes provider-associated coins and top market cap coins. Cached for 5 minutes.
Optional attributes
- Name
limit- Type
- integer
- Description
Max results. Defaults to 20, max 100.
Request
curl https://api.bitcompare.net/api/v1/coins/featured
Trending coins
Get trending coins sorted by 24-hour price change. Cached for 5 minutes.
Optional attributes
- Name
limit- Type
- integer
- Description
Max results. Defaults to 20, max 100.
Request
curl https://api.bitcompare.net/api/v1/coins/trending
Recently added
Get recently added coins. Cached for 5 minutes.
Optional attributes
- Name
limit- Type
- integer
- Description
Max results. Defaults to 20, max 100.
Request
curl https://api.bitcompare.net/api/v1/coins/recent
Categories
Get all distinct coin categories with counts. Cached for 1 hour.
Request
curl https://api.bitcompare.net/api/v1/coins/categories
Similar coins
Get coins similar to the specified coin based on shared categories. Cached for 15 minutes.
Path parameters
- Name
coinId- Type
- string
- Description
Coin identifier.
Optional attributes
- Name
limit- Type
- integer
- Description
Max results. Defaults to 10, max 50.
Request
curl https://api.bitcompare.net/api/v1/coins/bitcoin/similar
Coins with rates
Get coins that have rates in a specific category. Useful for showing coins available for lending, staking, etc. Cached for 5 minutes.
Required attributes
- Name
category- Type
- string
- Description
Rate category:
lending,borrowing, orstaking.
Optional attributes
- Name
coinCategory- Type
- string
- Description
Filter by coin category.
- Name
limit- Type
- integer
- Description
Max results. Defaults to 6, max 50.
Request
curl -G https://api.bitcompare.net/api/v1/coins/with-rates \
-d category=lending
Coin slugs
Get all coin slugs, useful for generating sitemaps. Cached for 1 hour.
Optional attributes
- Name
featured- Type
- boolean
- Description
If
true, return only featured coin slugs.
Request
curl https://api.bitcompare.net/api/v1/coins/slugs