GET /search

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/coingecko/searchCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

Search across coins, exchanges, categories and NFT collections.

Parameters

nameintypedescription
queryquerystrrequiredFree-text search term.
example: bitcoin

Response

type: object
data key: nfts
pagination: none
sample: {
  "coins": "array[25]",
  "exchanges": "array[3]",
  "icos": "array[0]",
  "categories": "array[4]",
  "nfts": "array[32]"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/coingecko/search?query=bitcoin"