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

> ## Agent Instructions
> - Base URLs: models `https://api.aisa.one/v1` (Gemini GenerateContent: `https://api.aisa.one/v1beta`); data APIs `https://api.aisa.one/apis/v1`. The `servers` of each operation in https://aisa.one/openapi.yaml is authoritative.
> - Auth: `Authorization: Bearer $AISA_API_KEY`. Never print, log, or commit the key.
> - MCP (preferred for agents): `https://mcp.aisa.one/mcp`, signed in with OAuth, so there is no key to paste.
> - Agent Skill: `npx skills add AIsa-team/agent-skills --skill aisa`. Fallback with the AIsa CLI: `aisa skills install aisa`.
> - Spending: docs, https://aisa.one/models, https://aisa.one/api, `/v1/models`, and MCP `search`, `list_categories`, `get_details`, `batch_quote`, and the `account` operation are free. Quote the exact calls before running them (MCP `batch_quote`, CLI `aisa quote --json`). If the quote reports `auto_execute_eligible: true`, run it unless the user set a tighter limit or asked only for a quote. Otherwise, tell the user in one message the planned calls, the quoted price, and a total USD budget for the task, then wait for approval. Direct HTTP calls follow the stricter rule at https://aisa.one/docs/get-started/cli.md#direct-http-fallback. Do not make paid calls to test availability. Full rule: https://aisa.one/llms.txt

# Coin Price by IDs, Symbols, or Names

> The cheapest price lookup — current price for known coin ids, with optional market cap, volume and 24h change.

The cheapest price lookup: pass comma-separated CoinGecko `ids` and `vs_currencies`, get back a map keyed by coin id. Field names are built from the quote currency — with `vs_currencies` set to usd you get `usd`, plus `usd_market_cap`, `usd_24h_vol`, `usd_24h_change` and `last_updated_at` when the matching `include_market_cap`, `include_24hr_vol`, `include_24hr_change` and `include_last_updated_at` flags are set. Use it whenever the ids are already known and only current numbers are needed. For rank, supply or all-time-high data use [`get_coingecko_coins_markets`](https://aisa.one/docs/api-reference/coingecko/get_coingecko-coins-markets); if you hold a contract address rather than an id use [`get_coingecko_simple_token_price_id`](https://aisa.one/docs/api-reference/coingecko/get_coingecko-simple-token-price-id).

> [!NOTE]
>
> **First time?** Point any MCP client at `https://mcp.aisa.one/mcp` — Claude
> Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
> opens a browser, you click Allow once, and there is no key to paste. Your
> agent then reaches every endpoint through a few meta tools: `search`,
> `list_categories`, `get_details` and `batch_quote` are free, `batch_use` is
> billed per call. Setup per client is in
> [Connect via MCP](https://aisa.one/docs/agent-quickstart.md); the live tool list and what each call
> costs are on [aisa.one/mcp](https://aisa.one/mcp#connect).

[Set this endpoint up in your agent →](https://aisa.one/mcp?from=/api-reference/coingecko/get_coingecko-simple-price)

## Request contract

* **Method and path:** GET /apis/v1/coingecko/simple/price
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/coingecko/simple/price`
* **ids:** query; optional
* **include\_24hr\_change:** query; optional
* **include\_24hr\_vol:** query; optional
* **include\_last\_updated\_at:** query; optional
* **include\_market\_cap:** query; optional
* **include\_tokens:** query; optional
* **names:** query; optional
* **precision:** query; optional
* **symbols:** query; optional
* **vs\_currencies:** query; required

[Complete OpenAPI definition](https://aisa.one/docs/openapi/coingecko.json)

Effective request declaration (including authentication and referenced schemas):

```json theme={null}
{
  "operationId": "get_coingecko_simple_price",
  "method": "GET",
  "path": "/apis/v1/coingecko/simple/price",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Coins' IDs, comma-separated if querying more than 1 coin. \n*refers to [`/coins/list`](/reference/coins-list)",
      "in": "query",
      "name": "ids",
      "required": false,
      "schema": {
        "default": "bitcoin",
        "type": "string"
      }
    },
    {
      "description": "Include 24-hour change percentage. \nDefault: false",
      "in": "query",
      "name": "include_24hr_change",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Include 24-hour trading volume. \nDefault: false",
      "in": "query",
      "name": "include_24hr_vol",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Include last updated price time as a UNIX timestamp. \nDefault: false",
      "in": "query",
      "name": "include_last_updated_at",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "Include market capitalization. \nDefault: false",
      "in": "query",
      "name": "include_market_cap",
      "required": false,
      "schema": {
        "type": "boolean"
      }
    },
    {
      "description": "For `symbols` lookups, specify `all` to include all matching tokens. \nDefault `top` returns top-ranked tokens by market cap or volume.",
      "in": "query",
      "name": "include_tokens",
      "required": false,
      "schema": {
        "enum": [
          "top",
          "all"
        ],
        "type": "string"
      }
    },
    {
      "description": "Coins' names, comma-separated if querying more than 1 coin.",
      "in": "query",
      "name": "names",
      "required": false,
      "schema": {
        "default": "Bitcoin",
        "type": "string"
      }
    },
    {
      "description": "Decimal places for currency price value",
      "in": "query",
      "name": "precision",
      "required": false,
      "schema": {
        "enum": [
          "full",
          "0",
          "1",
          "2",
          "3",
          "4",
          "5",
          "6",
          "7",
          "8",
          "9",
          "10",
          "11",
          "12",
          "13",
          "14",
          "15",
          "16",
          "17",
          "18"
        ],
        "type": "string"
      }
    },
    {
      "description": "Coins' symbols, comma-separated if querying more than 1 coin.",
      "in": "query",
      "name": "symbols",
      "required": false,
      "schema": {
        "default": "btc",
        "type": "string"
      }
    },
    {
      "description": "Target currency of coins, comma-separated if querying more than 1 currency. \n*refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies). \n\nFor the complete list of fiat currencies supported by this endpoint, see [Fiat Currencies Support List](/docs/fiat-currencies-support).",
      "in": "query",
      "name": "vs_currencies",
      "required": true,
      "schema": {
        "default": "usd",
        "type": "string"
      }
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-aisa-status": "enabled",
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  }
}
```

## Cost and request rules

Published reference price: \$0.008 USD per successful request. Your account price may differ; use a request quote where supported.


## OpenAPI

````yaml openapi/coingecko.json GET /apis/v1/coingecko/simple/price
openapi: 3.1.0
info:
  description: ''
  title: CoinGecko
  version: '1'
  x-aisa-capabilities:
    idempotency: Idempotency-Key
    max_price: X-AISA-Max-Price-USD
    quote:
      header: X-AISA-Cost-Mode
      value: quote
  x-aisa-catalogs:
    coingecko:
      description: ''
      title: CoinGecko
      x-aisa-capabilities:
        idempotency: Idempotency-Key
        max_price: X-AISA-Max-Price-USD
        quote:
          header: X-AISA-Cost-Mode
          value: quote
      x-aisa-document:
        facts_hash: 2cebdc98d47ae0d3c355af637caf87081b8a62f7794a0c3667fcd49e4539823e
        generator_version: '3'
        protocol_version: '1'
        schema_version: '1'
      x-aisa-plans:
        builder: 1
        display_plan: payg
        payg: 1
        similarweb_payg: 1
        team: 1
        version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-configured-paths:
    - /apis/v1/coingecko/api/{id}/volume_chart
    - /apis/v1/coingecko/coins/categories
    - /apis/v1/coingecko/coins/categories/list
    - /apis/v1/coingecko/coins/list
    - /apis/v1/coingecko/coins/markets
    - /apis/v1/coingecko/coins/{id}
    - /apis/v1/coingecko/coins/{id}/contract/{contract_address}
    - /apis/v1/coingecko/coins/{id}/contract/{contract_address}/market_chart
    - >-
      /apis/v1/coingecko/coins/{id}/contract/{contract_address}/market_chart/range
    - /apis/v1/coingecko/coins/{id}/history
    - /apis/v1/coingecko/coins/{id}/market_chart
    - /apis/v1/coingecko/coins/{id}/market_chart/range
    - /apis/v1/coingecko/coins/{id}/ohlc
    - /apis/v1/coingecko/coins/{id}/tickers
    - /apis/v1/coingecko/exchanges
    - /apis/v1/coingecko/exchanges/list
    - /apis/v1/coingecko/exchanges/{id}
    - /apis/v1/coingecko/exchanges/{id}/tickers
    - /apis/v1/coingecko/ping
    - /apis/v1/coingecko/search/trending
    - /apis/v1/coingecko/simple/price
    - /apis/v1/coingecko/simple/supported_vs_currencies
    - /apis/v1/coingecko/simple/token_price/{id}
  x-aisa-document:
    composer_version: '31'
    document_hash: sha256:907b027ae7bb3f1cda28caf6099bbb9f000d21ebbbcfc0cbd176a69f84296194
    facts_hash: 2cebdc98d47ae0d3c355af637caf87081b8a62f7794a0c3667fcd49e4539823e
    generator_version: '3'
    protocol_version: '1'
    response_pending: []
    schema_version: '1'
  x-aisa-plans:
    builder: 1
    display_plan: payg
    payg: 1
    similarweb_payg: 1
    team: 1
    version: e70a0959cd1b93b84ae16dffd7a538273ddb9c1d46277b82823c37ff1b6bc0fb
  x-aisa-provider: coingecko
servers:
  - url: https://api.aisa.one
security:
  - bearerAuth: []
paths:
  /apis/v1/coingecko/simple/price:
    get:
      tags:
        - default
      summary: Coin Price by IDs, Symbols, or Names
      description: >-
        To query the prices of one or more coins by using their unique Coin API
        IDs, symbols, or names


        This endpoint allows you to **query the prices of one or more coins by
        using their unique Coin API IDs, symbols, or names**
      operationId: get_coingecko_simple_price
      parameters:
        - description: |-
            Coins' IDs, comma-separated if querying more than 1 coin. 
            *refers to [`/coins/list`](/reference/coins-list)
          in: query
          name: ids
          required: false
          schema:
            default: bitcoin
            type: string
        - description: |-
            Include 24-hour change percentage. 
            Default: false
          in: query
          name: include_24hr_change
          required: false
          schema:
            type: boolean
        - description: |-
            Include 24-hour trading volume. 
            Default: false
          in: query
          name: include_24hr_vol
          required: false
          schema:
            type: boolean
        - description: |-
            Include last updated price time as a UNIX timestamp. 
            Default: false
          in: query
          name: include_last_updated_at
          required: false
          schema:
            type: boolean
        - description: |-
            Include market capitalization. 
            Default: false
          in: query
          name: include_market_cap
          required: false
          schema:
            type: boolean
        - description: >-
            For `symbols` lookups, specify `all` to include all matching
            tokens. 

            Default `top` returns top-ranked tokens by market cap or volume.
          in: query
          name: include_tokens
          required: false
          schema:
            enum:
              - top
              - all
            type: string
        - description: Coins' names, comma-separated if querying more than 1 coin.
          in: query
          name: names
          required: false
          schema:
            default: Bitcoin
            type: string
        - description: Decimal places for currency price value
          in: query
          name: precision
          required: false
          schema:
            enum:
              - full
              - '0'
              - '1'
              - '2'
              - '3'
              - '4'
              - '5'
              - '6'
              - '7'
              - '8'
              - '9'
              - '10'
              - '11'
              - '12'
              - '13'
              - '14'
              - '15'
              - '16'
              - '17'
              - '18'
            type: string
        - description: Coins' symbols, comma-separated if querying more than 1 coin.
          in: query
          name: symbols
          required: false
          schema:
            default: btc
            type: string
        - description: >-
            Target currency of coins, comma-separated if querying more than 1
            currency. 

            *refers to
            [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies). 


            For the complete list of fiat currencies supported by this endpoint,
            see [Fiat Currencies Support List](/docs/fiat-currencies-support).
          in: query
          name: vs_currencies
          required: true
          schema:
            default: usd
            type: string
      responses:
        '200':
          content:
            application/json:
              example:
                bitcoin:
                  last_updated_at: 1779092258
                  usd: 76975
                  usd_24h_change: -1.4093297098441402
                  usd_24h_vol: 29096603418.89408
                  usd_market_cap: 1542226908349.8406
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_SimplePrice'
          description: Coin prices
        default:
          content:
            application/json:
              schema: {}
          description: >-
            Error response; upstream passthrough responses may use provider
            formats
components:
  schemas:
    Response39E58Aba19F7_SimplePrice:
      additionalProperties:
        properties:
          last_updated_at:
            description: Last updated timestamp in UNIX seconds
            type: number
          usd:
            description: Price in the target currency
            type: number
          usd_24h_change:
            description: 24-hour price change percentage in the target currency
            type: number
          usd_24h_vol:
            description: 24-hour trading volume in the target currency
            type: number
          usd_market_cap:
            description: Market capitalization in the target currency
            type: number
        type: object
      type: object
  securitySchemes:
    bearerAuth:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.