# coingecko.coin

A coin on CoinGecko: price, market capitalisation, volume, changes over an hour to a year, all-time high and low, supply, categories, links and contract addresses.

CoinGecko coin, one of the CoinGecko scrapers.

| | |
| --- | --- |
| Id | `coingecko.coin` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/coingecko.coin/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `coin` | string | yes | The coin's id on CoinGecko, the last part of its page's address, e.g. `bitcoin`, `usd-coin`; or that address (`https://www.coingecko.com/en/coins/bitcoin`). `coingecko.markets` lists the ids. Limit: at least 1 characters, at most 300 characters. |
| `currency` | string | no | The currency to state amounts in: `usd`, `eur`, `gbp`, `jpy`, `btc`, `eth` and the others CoinGecko quotes. Limit: at most 6 characters. Default: `"usd"`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `id` | string | CoinGecko's id of the coin, e.g. `bitcoin`, `usd-coin`. |
| `symbol` | string | The ticker symbol, in lower case as CoinGecko writes it, e.g. `btc`. |
| `name` | string | The coin's name. |
| `url` | string | The coin's page on coingecko.com. |
| `currency` | string | The currency every amount of this record is in, e.g. `usd`. |
| `rank` | integer or null | The coin's rank by market capitalisation. Null for a coin CoinGecko does not rank. |
| `price` | number or null | The current price of one coin. |
| `market_cap` | number or null | The market capitalisation: price times circulating supply. |
| `fully_diluted_valuation` | number or null | The price times the total supply. |
| `volume_24h` | number or null | The amount traded in the last 24 hours. |
| `high_24h` | number or null | The highest price of the last 24 hours. |
| `low_24h` | number or null | The lowest price of the last 24 hours. |
| `price_change_24h` | number or null | The change in price over the last 24 hours, as an amount. |
| `price_change_percentage_1h` | number or null | The change in price over the last hour, in percent. |
| `price_change_percentage_24h` | number or null | The change in price over the last 24 hours, in percent. |
| `price_change_percentage_7d` | number or null | The change in price over the last 7 days, in percent. |
| `price_change_percentage_30d` | number or null | The change in price over the last 30 days, in percent. |
| `price_change_percentage_1y` | number or null | The change in price over the last year, in percent. |
| `market_cap_change_percentage_24h` | number or null | The change in market capitalisation over the last 24 hours, in percent. |
| `ath` | number or null | The highest price the coin has ever had. |
| `ath_date` | string (date-time) or null | When that highest price was reached, in UTC. |
| `ath_change_percentage` | number or null | How far the current price is from the highest ever, in percent (negative: below it). |
| `atl` | number or null | The lowest price the coin has ever had. |
| `atl_date` | string (date-time) or null | When that lowest price was reached, in UTC. |
| `atl_change_percentage` | number or null | How far the current price is from the lowest ever, in percent. |
| `circulating_supply` | number or null | The number of coins in circulation. |
| `total_supply` | number or null | The number of coins that exist now, locked ones included. |
| `max_supply` | number or null | The most coins that will ever exist. Null for a coin without a cap. |
| `categories` | array of string | The categories CoinGecko files the coin under, e.g. `Layer 1 (L1)`. |
| `description` | string or null | CoinGecko's description of the coin in English, as plain text. |
| `homepage` | string or null | The project's own website. |
| `whitepaper` | string or null | The address of the project's white paper. |
| `explorers` | array of string | Block explorers for the coin. |
| `source_code` | array of string | The project's public source code repositories. |
| `twitter` | string or null | The project's account name on X, without the @. |
| `subreddit` | string or null | The address of the project's subreddit. |
| `genesis_date` | string or null | The day the coin's chain or token started, as YYYY-MM-DD. |
| `hashing_algorithm` | string or null | The proof-of-work algorithm, e.g. `SHA-256`. Null for a coin that is not mined. |
| `contracts` | array of object | The token's contract address on each chain it is deployed on. Empty for a chain's own coin. |
| `contracts[].platform` | string | The chain the token is deployed on, as CoinGecko names it, e.g. `ethereum`, `solana`. |
| `contracts[].address` | string | The token's contract address on that chain. |
| `image` | string or null | The coin's logo. |
| `sentiment_votes_up_percentage` | number or null | The share of CoinGecko visitors' votes today that are positive, in percent. |
| `watchlist_users` | integer or null | The number of CoinGecko users who have the coin on a watchlist. |
| `last_updated` | string (date-time) or null | When CoinGecko last updated these figures, in UTC. |
| `fetched_at` | string (date-time) | When the answer was read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/coingecko.coin/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"coin":"usd-coin"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "coingecko.coin",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "coin": "usd-coin"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "id": "usd-coin",
      "symbol": "usdc",
      "name": "USDC",
      "url": "https://www.coingecko.com/en/coins/usdc",
      "currency": "usd",
      "rank": 5,
      "price": 0.999508,
      "market_cap": 68284744082,
      "fully_diluted_valuation": 68213222422,
      "volume_24h": 13059103644,
      "high_24h": 0.999841,
      "low_24h": 0.999379,
      "price_change_24h": -0.000103780779165952,
      "price_change_percentage_1h": -0.00303,
      "price_change_percentage_24h": -0.01038,
      "price_change_percentage_7d": -0.00811,
      "price_change_percentage_30d": -0.0365,
      "price_change_percentage_1y": -0.0203,
      "market_cap_change_percentage_24h": -0.8604,
      "ath": 1.043,
      "ath_date": "2018-11-14T16:00:00Z",
      "ath_change_percentage": -4.21252,
      "atl": 0.877647,
      "atl_date": "2023-03-11T00:02:13Z",
      "atl_change_percentage": 13.88507,
      "circulating_supply": 68318329725.77859,
      "total_supply": 68246772888.67647,
      "max_supply": null,
      "categories": [
        "Stablecoins",
        "USD Stablecoin",
        "Solana Ecosystem"
      ],
      "description": "USDC is a fully collateralized US dollar stablecoin. USDC is the bridge between dollars and trading on cryptocurrency exchanges. The technology behind CENTRE makes it possible to exchange value between people, businesses and financial … [truncated]",
      "homepage": "https://www.circle.com/en/usdc",
      "whitepaper": "https://www.circle.com/legal/mica-usdc-whitepaper",
      "explorers": [
        "https://etherscan.io/token/0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "https://bscscan.com/token/0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d",
        "https://nearblocks.io/token/17208628f84f5d6ad33f0da3bbbeb27ffcb398eac501a31bd6ad2011e36133a1"
      ],
      "source_code": [
        "https://github.com/centrehq/centre-tokens"
      ],
      "twitter": null,
      "subreddit": null,
      "genesis_date": null,
      "hashing_algorithm": null,
      "contracts": [
        {
          "platform": "ethereum",
          "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
        },
        {
          "platform": "monad",
          "address": "0x754704bc059f8c67012fed69bc8a327a5aafb603"
        },
        {
          "platform": "sui",
          "address": "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"
        }
      ],
      "image": "https://coin-images.coingecko.com/coins/images/6319/large/USDC.png?1769615602",
      "sentiment_votes_up_percentage": 33.33,
      "watchlist_users": 261487,
      "last_updated": "2026-11-18T22:47:48Z",
      "fetched_at": "2026-11-19T18:07:39.646771Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `categories`: 43 items, the first 3 shown.
- Shortened: `description`: 417 characters, the first 234 shown.
- Shortened: `explorers`: 10 items, the first 3 shown.
- Shortened: `contracts`: 36 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the CoinGecko scrapers](https://docs.enrichednow.com/results-and-statuses.md#coingecko) are in their own section there.
