# CoinGecko API: Get coin price history

> Gets a coin's daily prices and price change over the last 7, 30, 90 or 365 days, with UTC dates. Today's price may change.

Unofficial. Not affiliated with or endorsed by CoinGecko.

- Page: https://fous.com/methods/coingecko.com/get-coin-price-history
- Method: `coingecko.com/get_coin_price_history`, version 1
- Website: coingecko.com
- Returns: coin name, symbol, price change percent, highest and lowest prices with dates, daily prices
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `coin` | string | yes | `"Bitcoin"` | Cryptocurrency name or symbol, for example Dogecoin or DOGE. |
| `period` | string | no | `"last_90_days"` | How far back to look, for example last_90_days. One of "last_7_days", "last_30_days", "last_90_days", "last_year". Default "last_30_days". |
| `currency` | string | no |  | Currency for prices, for example USD or EUR. Default "USD". |

## Output

From a run on Oct 23, 2026, shortened. Its input:

```json
{
  "coin": "Bitcoin",
  "period": "last_90_days"
}
```

Its output:

```json
{
  "symbol": "BTC",
  "coin_url": "https://www.coingecko.com/en/coins/bitcoin",
  "currency": "USD",
  "coin_name": "Bitcoin",
  "daily_prices": [
    {
      "date": "2026-07-25",
      "price": 63938.29547778731
    },
    {
      "date": "2026-07-26",
      "price": 64318.24520120312
    },
    {
      "date": "2026-07-27",
      "price": 65343.824510845894
    }
  ],
  "lowest_price": 62772.57726413174,
  "highest_price": 86596.74004249526,
  "period_end_date": "2026-10-23",
  "lowest_price_date": "2026-08-02",
  "period_start_date": "2026-07-25",
  "highest_price_date": "2026-09-22",
  "price_change_percent": 27.799511297910982
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"coingecko.com/get_coin_price_history","input":{"coin":"Bitcoin","period":"last_90_days"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- How has Bitcoin's daily price moved over the last 30 days in USD?
- Show me Ethereum's highest and lowest prices from the past 90 days, priced in EUR.
- What was Dogecoin's price change percent over the last year on coingecko.com?
- I need the daily closing prices for Solana for the last 7 days, with UTC dates.
- Give me Cardano's 365-day price history in USD, including the peak and trough dates.

## Input schema

```json
{
  "type": "object",
  "required": [
    "coin"
  ],
  "properties": {
    "coin": {
      "type": "string",
      "description": "Cryptocurrency name or symbol, for example Dogecoin or DOGE."
    },
    "period": {
      "enum": [
        "last_7_days",
        "last_30_days",
        "last_90_days",
        "last_year"
      ],
      "type": "string",
      "default": "last_30_days",
      "description": "How far back to look, for example last_90_days."
    },
    "currency": {
      "type": "string",
      "default": "USD",
      "description": "Currency for prices, for example USD or EUR."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "coin_name",
    "symbol",
    "currency",
    "period_start_date",
    "period_end_date",
    "price_change_percent",
    "highest_price",
    "highest_price_date",
    "lowest_price",
    "lowest_price_date",
    "daily_prices",
    "coin_url"
  ],
  "properties": {
    "symbol": {
      "type": "string"
    },
    "coin_url": {
      "type": "string",
      "description": "CoinGecko page for this coin."
    },
    "currency": {
      "type": "string"
    },
    "coin_name": {
      "type": "string"
    },
    "daily_prices": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "date",
          "price"
        ],
        "properties": {
          "date": {
            "type": "string",
            "format": "date",
            "description": "UTC date of the price."
          },
          "price": {
            "type": "number",
            "description": "Price in the requested currency."
          }
        },
        "additionalProperties": false
      }
    },
    "lowest_price": {
      "type": "number"
    },
    "highest_price": {
      "type": "number"
    },
    "period_end_date": {
      "type": "string",
      "format": "date"
    },
    "lowest_price_date": {
      "type": "string",
      "format": "date"
    },
    "period_start_date": {
      "type": "string",
      "format": "date"
    },
    "highest_price_date": {
      "type": "string",
      "format": "date"
    },
    "price_change_percent": {
      "type": "number"
    }
  },
  "additionalProperties": false
}
```

## See more

- [CoinGecko API: Get coin price on date](https://fous.com/methods/coingecko.com/get-coin-price-on-date.md): Gets a coin's price, market cap and 24-hour volume at 00:00 UTC on a past date. Non-USD currencies are available only for the last 365 days.
- [CoinGecko API: List trending coins](https://fous.com/methods/coingecko.com/list-trending-coins.md): Lists up to 15 of the most-searched coins on CoinGecko in trending order, with price and 24-hour change in the chosen currency. Non-USD prices may be unavailable for some coins.
- [CoinGecko API: List crypto categories](https://fous.com/methods/coingecko.com/list-crypto-categories.md): Lists CoinGecko crypto sectors by market cap with daily change, volume, leading coins and category pages, optionally filtered by name or link.
- [CoinMarketCap API: Get coin price](https://fous.com/methods/coinmarketcap.com/get-coin-price.md): Gets a cryptocurrency's price, changes, supply, market cap, volume and all-time high in a chosen currency. If a name or symbol is shared, returns the coin with the largest market cap.
- [Coinbase API: Get coin overview](https://fous.com/methods/coinbase.com/get-coin-overview.md): Gets a cryptocurrency's price, 24-hour change, market statistics, popularity, tradability, description and website from its public Coinbase price page.
- [Binance API: Get coin price](https://fous.com/methods/binance.com/get-coin-price.md): Gets a Binance spot pair's latest price and rolling 24-hour trading statistics from a coin name or symbol. Only currently trading pairs are available.
- [Coinbase API: Get coin price](https://fous.com/methods/coinbase.com/get-coin-price.md): Looks up a cryptocurrency's current Coinbase spot, buy and sell prices in a chosen currency.
- [Binance API: Get price history](https://fous.com/methods/binance.com/get-price-history.md): Gets Binance spot price candles for a coin and quote currency, newest by default or within a UTC date range, up to 1,000 candles.
- [All CoinGecko methods](https://fous.com/methods/coingecko.com.md)
