> ## 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 Token Addresses

> Price lookup by on-chain contract address when you have a token address and no CoinGecko id.

Price lookup keyed by on-chain contract address rather than CoinGecko id. `id` is the asset platform, `contract_addresses` a comma-separated list of token addresses, `vs_currencies` the quote currency. Returns a map keyed by lowercase contract address whose field names are built from the quote currency — `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 when you hold an address and no id. For the token's full profile use [`get_coingecko_token_data`](https://aisa.one/docs/api-reference/coingecko/get_coingecko-coins-id-contract-contract-address); if you already have the CoinGecko id use [`get_coingecko_simple_price`](https://aisa.one/docs/api-reference/coingecko/get_coingecko-simple-price).

> [!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-token-price-id)

## Request contract

* **Method and path:** GET /apis/v1/coingecko/simple/token\_price/\{id}
* **Availability:** enabled
* **Request URL template:** `https://api.aisa.one/apis/v1/coingecko/simple/token_price/{id}`
* **id:** path; required
* **contract\_addresses:** query; required
* **include\_24hr\_change:** query; optional
* **include\_24hr\_vol:** query; optional
* **include\_last\_updated\_at:** query; optional
* **include\_market\_cap:** query; optional
* **precision:** 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_token_price_id",
  "method": "GET",
  "path": "/apis/v1/coingecko/simple/token_price/{id}",
  "servers": [
    {
      "url": "https://api.aisa.one"
    }
  ],
  "parameters": [
    {
      "description": "Asset platform's ID. \n*refers to [`/asset_platforms`](/reference/asset-platforms-list)",
      "in": "path",
      "name": "id",
      "required": true,
      "schema": {
        "default": "ethereum",
        "type": "string"
      }
    },
    {
      "description": "Token contract addresses, comma-separated if querying more than 1 token",
      "in": "query",
      "name": "contract_addresses",
      "required": true,
      "schema": {
        "default": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
        "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": "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": "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/token_price/{id}
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/token_price/{id}:
    get:
      tags:
        - default
      summary: Coin Price by Token Addresses
      description: >-
        To query one or more token prices by using their token contract
        addresses


        This endpoint allows you to **query one or more token prices using their
        token contract addresses**
      operationId: get_coingecko_simple_token_price_id
      parameters:
        - description: |-
            Asset platform's ID. 
            *refers to [`/asset_platforms`](/reference/asset-platforms-list)
          in: path
          name: id
          required: true
          schema:
            default: ethereum
            type: string
        - description: >-
            Token contract addresses, comma-separated if querying more than 1
            token
          in: query
          name: contract_addresses
          required: true
          schema:
            default: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'
            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: 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: >-
            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:
                '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599':
                  last_updated_at: 1779094527
                  usd: 76721
                  usd_24h_change: -1.6069562341774564
                  usd_24h_vol: 181232010.10689816
                  usd_market_cap: 9008047197.715635
              schema:
                $ref: '#/components/schemas/Response39E58Aba19F7_SimplePrice'
          description: Token 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.