GET /web/en/search_v2

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

Type-ahead search across coins, exchanges and categories.

Parameters

nameintypedescription
queryquerystrrequiredSearch term as typed by the visitor.
example: bitcoin
vs_currencyquerystroptionalQuote currency for prices in the result.
default: usd
example: usd

Response

type: object
data key: coins
pagination: none
sample: {
  "coins": "array[6]",
  "rwas": "array[4]",
  "nftContracts": "array[4]",
  "markets": "array[3]",
  "categories": "array[4]",
  "posts": "array[4]",
  "assetPlatforms": "array[1]",
  "treasuries": "array[0]",
  "moreResults": "object"
}

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/web/en/search_v2?query=bitcoin&vs_currency=usd"