# Coin Price by Token Address

**API:** Data API

**Endpoint:** `GET /v1/beta/coingecko/simple/token_price/{id}`

**Tags:** CoinGecko

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`; if you already have the CoinGecko id use `get_coingecko_simple_price`.

### Pricing reference

- Metering: Plan resource units.
- Reference request estimate: USD 0.008.
- Unit cost basis: USD 0.0.
- Resource unit: `provider_credit`.
- Cost bases do not establish the final customer price, including when zero.

Reference metadata only, not an account quote, a guaranteed price or a spending cap. Resource credits are not Felo credits. Final charges follow Felo billing records.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Parameters

| Name | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `id` | path | yes | string, default: "ethereum" | Asset platform's ID. *refers to [`/asset_platforms`](/reference/asset-platforms-list) |
| `contract_addresses` | query | yes | string, default: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599" | Token contract addresses, comma-separated if querying more than 1 token |
| `include_24hr_change` | query | no | boolean | Include 24-hour change percentage. Default: false |
| `include_24hr_vol` | query | no | boolean | Include 24-hour trading volume. Default: false |
| `include_last_updated_at` | query | no | boolean | Include last updated price time as a UNIX timestamp. Default: false |
| `include_market_cap` | query | no | boolean | Include market capitalization. Default: false |
| `precision` | query | no | string, enum: "full", "0", "1", "2", "3", "4", … | Decimal places for currency price value |
| `vs_currencies` | query | yes | string, default: "usd" | Target currency of coins, comma-separated if querying more than 1 currency. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies) |

## Responses

### 200 — Token prices

Headers:
- `X-Request-Id` (string) — Request identifier to include when contacting Felo support.

**application/json**

Schema: `Response860C3Ae68Ea5_SimplePrice` (`#/components/schemas/Response860C3Ae68Ea5_SimplePrice`)

Example:

```json
{
  "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599": {
    "usd": 76721,
    "usd_market_cap": 9008047197.715635,
    "usd_24h_vol": 181232010.10689816,
    "usd_24h_change": -1.6069562341774564,
    "last_updated_at": 1779094527
  }
}
```

### 400 — The request could not be processed. Check the request parameters.

### 401 — A valid Felo API key is required.

### 402 — The request cannot proceed because a billing requirement is not met.

### 403 — The account is not permitted to perform this operation.

### 429 — A request or spending limit has been reached.

### 502 — The service could not complete the request.

### 503 — The API or billing service is temporarily unavailable.

### 504 — The service timed out while processing the request.

### default — Error response; upstream passthrough responses may use provider formats

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response860C3Ae68Ea5_SimplePrice

`#/components/schemas/Response860C3Ae68Ea5_SimplePrice`

```json
{
  "type": "object",
  "additionalProperties": {
    "type": "object",
    "properties": {
      "usd": {
        "type": "number",
        "description": "Price in the target currency"
      },
      "usd_market_cap": {
        "type": "number",
        "description": "Market capitalization in the target currency"
      },
      "usd_24h_vol": {
        "type": "number",
        "description": "24-hour trading volume in the target currency"
      },
      "usd_24h_change": {
        "type": "number",
        "description": "24-hour price change percentage in the target currency"
      },
      "last_updated_at": {
        "type": "number",
        "description": "Last updated timestamp in UNIX seconds"
      }
    }
  }
}
```
