---
title: "CoinGecko discovery search"
method: GET
path: "/coingecko/search"
tags: ["CoinGecko"]
---

# CoinGecko discovery search

`GET /coingecko/search`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/coingecko/search`
- Auth: API key in header `x-api-key`

Searches CoinGecko for the required query `q` and returns matches in separate sections: `coins`, `categories`, `markets`, `nft_contracts`, `asset_platforms` and `posts`, each up to `limit` rows (default 10, max 50). Every section is always an array, and a search with no matches returns empty arrays.

## Query parameters

- `q` string, required
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- CoingeckoSearchResponseDoc
  - `code` integer
  - `data` CoingeckoSearchResponse
    - `asset_platforms` CoingeckoSearchAssetPlatform[]: Blockchain platforms matching the query.
      - `id` string: CoinGecko blockchain platform id.
      - `name` string: Blockchain platform name.
      - `url` string: Link to the chain page on CoinGecko.
    - `categories` CoingeckoSearchCategory[]: Categories matching the query.
      - `id` string: CoinGecko category id.
      - `name` string: Name of the category.
      - `slug` string: URL slug of the category.
      - `url` string: Link to the category page on CoinGecko.
    - `coins` CoingeckoSearchCoin[]: Coins matching the query.
      - `id` string: CoinGecko coin id. Use it with the coin endpoint.
      - `image_url` string: URL of the coin logo.
      - `market_cap_rank` integer: Market cap rank of the coin.
      - `name` string: Name of the coin.
      - `symbol` string: Ticker symbol of the coin.
      - `url` string: Link to the coin page on CoinGecko.
    - `fetched_at` string: Time the data was fetched, in UTC (RFC 3339).
    - `limit` integer: Maximum number of results returned per result type.
    - `markets` CoingeckoSearchMarket[]: Exchanges and other markets matching the query.
      - `id` string: CoinGecko exchange id.
      - `name` string: Name of the exchange.
      - `type` string: Kind of market, for example `exchange`.
      - `url` string: Link to the exchange page on CoinGecko.
    - `nft_contracts` CoingeckoSearchNFTContract[]: NFT collections matching the query.
      - `address` string: Contract address of the collection.
      - `asset_platform_id` string: Id of the blockchain the contract is deployed on, for example `ethereum`.
      - `id` string: CoinGecko NFT collection id.
      - `name` string: Name of the NFT collection.
      - `symbol` string: Collection ticker symbol.
      - `url` string: Link to the collection page on CoinGecko.
    - `posts` CoingeckoSearchPost[]: CoinGecko articles matching the query.
      - `description` string: Short description of the article.
      - `id` string: CoinGecko article id.
      - `title` string: Title of the article.
      - `url` string: Link to the article.
    - `query` string: Search text that was run.
    - `source_url` string: URL the data was read from.
  - `msg` string

## Other responses

- `400`: Bad Request
- `500`: Internal Server Error
- `503`: Service Unavailable

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
