Skip to content
Scrappa Get API key
CoinGecko API 1 credit / request

CoinGecko Listings API Documentation

GET https://scrappa.co/api/coingecko/listings

CoinGecko Listings API Documentation List public CoinGecko coins with rank, price and 1h, 24h and 7d change, market cap, 24h volume, supply, ATH and ATL with dates, and a full-size image URL. Prices are numbers with a currency field. Filter by page and per_page (1 to 250), currency, order and an optional category. Page 2 holds different coins from page 1. Pass a lowercase id into coin, history and markets. 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.

CoinGecko Listings API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/coingecko/listings
Auth header
x-api-key
Cost
1 credit / request
Response preview
200 OK
{
    "data": {
        "listings": [
            {
                "id": "bitcoin",
                "name": "Bitcoin",
                "rank": 1,
                "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
                "price": 67000.5,
                "symbol": "btc",
                "currency": "USD",
                "change_24h": 1.2,
                "market_cap": 1320000000000,
                "volume_24h": 28000000000
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

5 optional filters available.

page integer Optional

Page number, 1-based.

Example value 1
per_page integer Optional

Coins per page, 1 to 250.

Example value 10
currency string Optional

Quote currency: USD (default), EUR, GBP or BTC. Other values return 422.

Example value USD
order string Optional

market_cap_desc (default), volume_desc, volume_asc, id_asc or id_desc. Ascending market cap returns 422.

Example value example
category string Optional

Optional category filter.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "listings": [
            {
                "id": "bitcoin",
                "name": "Bitcoin",
                "rank": 1,
                "image": "https://coin-images.coingecko.com/coins/images/1/large/bitcoin.png",
                "price": 67000.5,
                "symbol": "btc",
                "currency": "USD",
                "change_24h": 1.2,
                "market_cap": 1320000000000,
                "volume_24h": 28000000000
            }
        ],
        "pagination": {
            "page": 1,
            "total": 100,
            "has_more": false,
            "per_page": 100,
            "total_pages": 1
        }
    },
    "meta": {
        "source": "coingecko",
        "credits": 1,
        "billable": true,
        "endpoint_family": "listings"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A query parameter is missing or invalid. This response is not billable.

{
    "errors": {
        "per_page": [
            "per_page is at most 250."
        ]
    },
    "message": "The request validation failed"
}
503

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.