CoinGecko: Search
Search from CoinGecko as JSON. 1 credit per successful call.
GET /v1/coingecko/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
page | integer | Optional | Any |
per_page | integer | Optional | Any |
q | string | Required | Up to 100 characters |
Example request
CoinGecko
GET/v1/coingecko/search?q=bitcoin
{
"success": true,
"data": {
"query": "bitcoin",
"search": [
{
"id": "bitcoin",
"name": "Bitcoin",
"symbol": "btc",
"image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
"rank": 1
},
{
"id": "bitcoin-cash",
"name": "Bitcoin Cash",
"symbol": "bch",
"image": "https://coin-images.coingecko.com/coins/images/780/large/bitcoin-cash-circle.png",
"rank": 23
},
{
"id": "bitcoin-cash-sv",
"name": "Bitcoin SV",
"symbol": "bsv",
"image": "https://coin-images.coingecko.com/coins/images/6799/large/BSV.png",
"rank": 123
}
],
"pagination": {
"page": 1,
"per_page": 100,
"total": 25,
"total_pages": 1,
"has_more": false
}
},
"meta": {
"endpoint_family": "search",
"source": "coingecko",
"request_id": "req_21ed862f82f6429dbc64faa5211564f3",
"credits_charged": 1,
"credits_remaining": 999
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.search has these 5 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
name | string |
symbol | string |
image | url |
rank | integer |