> ## 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.

# Coins Markets

> A ranked market table across many coins — price, market cap, volume, supply and all-time highs in one call.

A ranked market table covering many coins in one call: one row per coin with `current_price`, `market_cap`, `market_cap_rank`, `total_volume`, `high_24h`, `low_24h`, `price_change_percentage_24h`, `circulating_supply`, `total_supply`, `max_supply`, `ath` and `atl` with their dates, and `image`. Page with `per_page` and `page`, sort with `order` (market cap, volume or id, ascending or descending), and narrow with `ids` or `category`. Passing `price_change_percentage` adds a matching `price_change_percentage_24h_in_currency` field. Use it for leaderboards and segment scans. For the price of a few known coins [`get_coingecko_simple_price`](/docs/api-reference/coingecko/get_coingecko-simple-price) is far lighter; for one coin in full use [`get_coingecko_coins_id`](/docs/api-reference/coingecko/get_coingecko-coins-id).


## OpenAPI

````yaml openapi/coingecko.json GET /coingecko/coins/markets
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/markets:
    get:
      summary: Coins Markets
      description: >-
        A ranked market table covering many coins in one call: one row per coin
        with `current_price`, `market_cap`, `market_cap_rank`, `total_volume`,
        `high_24h`, `low_24h`, `price_change_percentage_24h`,
        `circulating_supply`, `total_supply`, `max_supply`, `ath` and `atl` with
        their dates, and `image`. Page with `per_page` and `page`, sort with
        `order` (market cap, volume or id, ascending or descending), and narrow
        with `ids` or `category`. Passing `price_change_percentage` adds a
        matching `price_change_percentage_24h_in_currency` field. Use it for
        leaderboards and segment scans. For the price of a few known coins
        `get_coingecko_simple_price` is far lighter; for one coin in full use
        `get_coingecko_coins_id`.
      operationId: get_coingecko_coins_markets
      parameters:
        - $ref: '#/components/parameters/VsCurrency'
        - name: ids
          in: query
          description: Comma-separated CoinGecko coin IDs.
          schema:
            type: string
          example: bitcoin,ethereum
        - name: category
          in: query
          description: Filter by category (see `/coins/categories/list`).
          schema:
            type: string
        - name: order
          in: query
          schema:
            type: string
            enum:
              - market_cap_desc
              - market_cap_asc
              - volume_desc
              - volume_asc
              - id_asc
              - id_desc
            default: market_cap_desc
        - name: per_page
          in: query
          schema:
            type: integer
            default: 100
            minimum: 1
            maximum: 250
        - name: page
          in: query
          schema:
            type: integer
            default: 1
        - name: sparkline
          in: query
          schema:
            type: boolean
            default: false
        - name: price_change_percentage
          in: query
          description: 'Comma-separated windows: `1h,24h,7d,14d,30d,200d,1y`.'
          schema:
            type: string
        - name: locale
          in: query
          schema:
            type: string
            default: en
          description: >-
            Response language locale. Official values include `en`, `zh`,
            `zh-tw`, and other supported CoinGecko locales.
          example: en
        - name: precision
          in: query
          schema:
            type: string
          description: >-
            `full` or a value from `0` to `18` to specify decimal places for
            currency price values.
          example: '2'
        - name: include_rehypothecated
          in: query
          schema:
            type: boolean
            default: false
          description: >-
            Include rehypothecated tokens in market data when supported by
            CoinGecko.
      responses:
        '200':
          description: Array of coin market entries.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CoinGeckoObjectArray'
components:
  parameters:
    VsCurrency:
      name: vs_currency
      in: query
      required: true
      description: >-
        Target currency for price (e.g., `usd`, `eur`, `btc`). See
        `/simple/supported_vs_currencies`.
      schema:
        type: string
        default: usd
  schemas:
    CoinGeckoObjectArray:
      type: array
      items:
        type: object
        additionalProperties: true
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: AISA API Key

````