CoinGecko Markets API Documentation List trading pairs for one lowercase coin id. Each pair has the exchange, pair, price with currency, 24h volume with its unit and last update. EUR, GBP and BTC values use a shared daily conversion rate from the USD quote. Pass the id from listings or search. Filter by page (1 to 100) and per_page (1 to 250). An empty answer and every failed request cost no credit. Cost: 1 credit per successful request. Scrappa is an independent service and is not affiliated with or endorsed by CoinGecko.
Run this endpoint
Endpoint
Parameters
Start with the required fields, then add optional filters only when your use case needs them.
Runnable path
1 required parameter needed before sending a request.
2 optional filters available.
string
Required
Lowercase CoinGecko id, e.g. bitcoin.
1234567890
integer
Optional
Page number, 1 to 100. An upstream page holds up to 100 pairs
1
string
Optional
Quote currency: USD (default), EUR, GBP or BTC. Other values return 422.
USD
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"id": "bitcoin",
"markets": [
{
"pair": "BTC/USDT",
"price": 67000.5,
"currency": "USD",
"exchange": "Binance",
"volume_24h": 1200000000,
"last_updated": "2026-11-16T20:00:00+00:00",
"volume_currency": "USD"
}
],
"pagination": {
"page": 1,
"total": 300,
"has_more": true,
"per_page": 100,
"total_pages": 3
}
},
"meta": {
"source": "coingecko",
"credits": 1,
"billable": true,
"endpoint_family": "markets"
},
"success": true
}
Errors
Handle these documented responses before retrying or showing customer-facing failures.
Validation Error
A query parameter is missing or invalid. This response is not billable.
{
"errors": {
"id": [
"A CoinGecko id is required."
]
},
"message": "The request validation failed"
}Service Unavailable
The upstream data is temporarily unavailable. This response is not billable.
{
"error": {
"code": "UPSTREAM_UNAVAILABLE",
"message": "The CoinGecko data is temporarily unavailable. Please retry."
},
"success": false
}Generate Code with AI
Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.
Try It Live
Test this endpoint in our interactive playground with real data.