# Get CoinGecko Asset

Returns a subnet token's name, symbol, decimals and supply figures in the CoinGecko asset format.

_Source: https://beta.taostats.io/docs/api-reference/coingecko/get-coingecko-asset_

_Last reviewed: 2026-09-18_

```http
GET https://api.taostats.io/api/coingecko/asset
```

Requires an API key in the `Authorization` header.

Returns a subnet token's name, symbol, decimals and supply figures in the CoinGecko asset format. The asset identifier is the subnet netuid.

## Try it

Try this request in the browser on the HTML version of this page, or use the code samples below.

### Code samples

**cURL**

```bash
curl -H "Authorization: <YOUR_API_KEY>" \
  "https://api.taostats.io/api/coingecko/asset"
```

**JavaScript**

```js
const response = await fetch('https://api.taostats.io/api/coingecko/asset', {
  headers: {
    Authorization: '<YOUR_API_KEY>',
  },
});
const data = await response.json();
```

**Python**

```python
import requests

response = requests.get(
    "https://api.taostats.io/api/coingecko/asset",
    headers={"Authorization": "<YOUR_API_KEY>"},
)
data = response.json()
```

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | query | `string` | Yes | integer |

## Responses

### `200` — Asset retrieved successfully

| Field | Type | Required |
| --- | --- | --- |
| `asset` | `object` | Yes |
| `asset.circulatingSupply` | `string` | Yes |
| `asset.decimals` | `integer (int32)` | Yes |
| `asset.id` | `string` | Yes |
| `asset.maxSupply` | `string` | Yes |
| `asset.name` | `string` | Yes |
| `asset.symbol` | `string` | Yes |
| `asset.totalSupply` | `string` | Yes |

**Example response**

```json
{}
```

### Other responses

| Status | Meaning |
| --- | --- |
| `400` | Bad request |
| `404` | Asset not found |
| `500` | Internal server error |

Every request needs an `Authorization` header holding your API key — see [Getting started with the Taostats API](https://beta.taostats.io/docs/start-here/getting-started-with-taostats-api).
