CoinGecko Search API Documentation Search CoinGecko coins by name or symbol. Results include the lowercase id, rank and a full-size image URL. Pass an id into coin, history and markets without changing it. Filter by page 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
Search text, e.g. bitcoin.
coffee shops
integer
Optional
Page number, 1-based.
1
integer
Optional
Rows per page, 1 to 250.
10
Response Schema
Example response fields are illustrative; inspect the JSON before integrating.
Example response fields
Scan these fields before integrating.
data
meta
success
{
"data": {
"query": "bitcoin",
"search": [
{
"id": "bitcoin",
"name": "Bitcoin",
"rank": 1,
"image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
"symbol": "btc"
}
],
"pagination": {
"page": 1,
"total": 1,
"has_more": false,
"per_page": 100,
"total_pages": 1
}
},
"meta": {
"source": "coingecko",
"credits": 1,
"billable": true,
"endpoint_family": "search"
},
"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": {
"q": [
"A search query 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.