> ## Documentation Index
> Fetch the complete documentation index at: https://aisa.one/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Coin Historical Data

> A one-day snapshot of a coin's price, market cap and volume for a specific calendar date.

A snapshot of one coin on a single calendar day. `date` is required and must be formatted dd-mm-yyyy (day, month, four-digit year). Returns `market_data` holding `current_price`, `market_cap` and `total_volume` as of that day, alongside `community_data`, `developer_data` and `public_interest_stats`. Use it for one fixed point in time. For a continuous series use [`get_coingecko_coins_id_market_chart`](/docs/api-reference/coingecko/get_coingecko-coins-id-market-chart) for a trailing window, or [`get_coingecko_coins_id_market_chart_range`](/docs/api-reference/coingecko/get_coingecko-coins-id-market-chart-range) for an explicit one.


## OpenAPI

````yaml openapi/coingecko.json GET /coingecko/coins/{id}/history
openapi: 3.0.3
info:
  title: CoinGecko API
  version: 1.0.0
  description: >-
    CoinGecko crypto market data routed through the AIsa gateway. Covers coin
    metadata, live and historical prices, OHLC, exchanges, tickers, categories,
    and trending search. Proxies the public CoinGecko v3 API at
    `https://api.coingecko.com/api/v3/`.
servers:
  - url: https://api.aisa.one/apis/v1
security:
  - BearerAuth: []
paths:
  /coingecko/coins/{id}/history:
    get:
      summary: Coin Historical Data
      description: >-
        A snapshot of one coin on a single calendar day. `date` is required and
        must be formatted dd-mm-yyyy (day, month, four-digit year). Returns
        `market_data` holding `current_price`, `market_cap` and `total_volume`
        as of that day, alongside `community_data`, `developer_data` and
        `public_interest_stats`. Use it for one fixed point in time. For a
        continuous series use `get_coingecko_coins_id_market_chart` for a
        trailing window, or `get_coingecko_coins_id_market_chart_range` for an
        explicit one.
      operationId: get_coingecko_coins_id_history
      parameters:
        - $ref: '#/components/parameters/CoinId'
        - name: date
          in: query
          required: true
          description: Date in `dd-mm-yyyy` format.
          schema:
            type: string
          example: 30-12-2024
        - name: localization
          in: query
          schema:
            type: boolean
            default: true
      responses:
        '200':
          description: Snapshot object for the given date.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoinGeckoObject'
        '401':
          description: >-
            CoinGecko plan restriction or authorization error returned by the
            upstream provider.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoinGeckoError'
components:
  parameters:
    CoinId:
      name: id
      in: path
      required: true
      description: >-
        CoinGecko coin ID (e.g., `bitcoin`, `ethereum`). Get the list via
        `/coins/list`.
      schema:
        type: string
      example: bitcoin
  schemas:
    CoinGeckoObject:
      type: object
      additionalProperties: true
    CoinGeckoError:
      type: object
      properties:
        status:
          type: object
          additionalProperties: true
        error:
          type: object
          additionalProperties: true
      additionalProperties: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: AISA API Key

````