# CoinGecko — Coin Price by Token Addresses

Get CoinGecko token prices by platform and contract addresses via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by CoinGecko, pass parameters such as contract_addresses, vs_currencies, and retrieve structured data including usd market cap, usd 24h vol, and last updated at for contract quote panels, and multi-currency token views.

Documentation: https://openany.si/market/apis/coingecko/coingecko-coin-price-by-token-addresses/?offering=796cc48a-6efa-49c3-9263-3c708726e694
API ID: 796cc48a-6efa-49c3-9263-3c708726e694
Provider: CoinGecko
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/coingecko/api/v3/simple/token_price/{id}
Page update time: 2026-12-03T02:49:15.852Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:49:15.242Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CoinGecko — Coin Price by Token Addresses request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "Asset platform's ID. \n*refers to [`/asset_platforms`](/reference/asset-platforms-list)"
        }
      },
      "required": [
        "id"
      ]
    },
    "query": {
      "type": "object",
      "properties": {
        "contract_addresses": {
          "type": "string",
          "description": "Token contract addresses, comma-separated if querying more than 1 token"
        },
        "vs_currencies": {
          "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)."
        },
        "include_market_cap": {
          "type": "boolean",
          "description": "Include market capitalization. \nDefault: false"
        },
        "include_24hr_vol": {
          "type": "boolean",
          "description": "Include 24-hour trading volume. \nDefault: false"
        },
        "include_24hr_change": {
          "type": "boolean",
          "description": "Include 24-hour change percentage. \nDefault: false"
        },
        "include_last_updated_at": {
          "type": "boolean",
          "description": "Include last updated price time as a UNIX timestamp. \nDefault: false"
        },
        "precision": {
          "type": "string",
          "description": "Decimal places for currency price value",
          "enum": [
            "full",
            "0",
            "1",
            "2",
            "3",
            "4",
            "5",
            "6",
            "7",
            "8",
            "9",
            "10",
            "11",
            "12",
            "13",
            "14",
            "15",
            "16",
            "17",
            "18"
          ]
        }
      },
      "required": [
        "contract_addresses",
        "vs_currencies"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
      "type": "object",
      "properties": {
        "last_updated_at": {
          "type": "integer"
        },
        "usd": {
          "type": "integer"
        },
        "usd_24h_change": {
          "type": "number"
        },
        "usd_24h_vol": {
          "type": "number"
        },
        "usd_market_cap": {
          "type": "number"
        }
      }
    }
  }
}
```

## Request example
Scenario: Official example · Official response / contract request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/coingecko/api/v3/simple/token_price/ethereum?contract_addresses=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599&vs_currencies=usd' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
    "last_updated_at": 1779094527,
    "usd": 76721,
    "usd_24h_change": -1.6069562341774564,
    "usd_24h_vol": 181232010.10689816,
    "usd_market_cap": 9008047197.715635
  }
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- CoinGecko: https://openany.si/market/apis/coingecko/coingecko-coin-price-by-token-addresses/?offering=796cc48a-6efa-49c3-9263-3c708726e694

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
