> For the complete documentation index, see [llms.txt](https://whitepaper.aitech.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.aitech.io/agentforge/tools/coingecko.md).

# coingecko

[CoinGecko](https://www.coingecko.com/) provides cryptocurrency market data, token metadata, exchange information, derivatives data, trending assets, categories, and NFT collection data.

In Agent Forge, the CoinGecko integration allows workflows to pull live and historical market intelligence into agents. Use it for crypto dashboards, token research agents, market monitoring, price alerts, asset comparison, and automated research pipelines.

## Usage Instructions

Choose the CoinGecko operation that matches the data you need. Most read-only public endpoints can run without an API key, while higher-volume or Pro API usage can include a CoinGecko API key in the advanced field.

## Tools

### Market Data

* `coingecko_simple_price` - Get current prices for one or more coins
* `coingecko_coins_markets` - List market data for selected coins
* `coingecko_market_chart` - Retrieve historical market chart data
* `coingecko_ohlc` - Retrieve OHLC price candles

### Discovery

* `coingecko_search` - Search for coins, exchanges, categories, and NFTs
* `coingecko_trending` - Get trending coins and NFTs

### Coin and Token Metadata

* `coingecko_coin_details` - Get detailed metadata for a coin
* `coingecko_token_price` - Get token prices by platform and contract address
* `coingecko_token_info` - Get token metadata by platform and contract address

### Taxonomy and Venues

* `coingecko_categories` - List coin categories
* `coingecko_exchanges` - List exchanges
* `coingecko_derivatives` - List derivative exchanges and markets

### NFT

* `coingecko_nft_list` - List NFT collections
* `coingecko_nft_details` - Get NFT collection details

## Common Inputs

| Parameter           | Type   | Required           | Description                                        |
| ------------------- | ------ | ------------------ | -------------------------------------------------- |
| `ids`               | string | Operation-specific | Coin IDs such as `bitcoin,ethereum`                |
| `vsCurrencies`      | string | Operation-specific | Quote currencies such as `usd,eur`                 |
| `vsCurrency`        | string | Operation-specific | Single quote currency                              |
| `coinId`            | string | Operation-specific | CoinGecko coin ID                                  |
| `days`              | string | Operation-specific | Historical window such as `1`, `7`, `30`, or `max` |
| `query`             | string | Operation-specific | Search query                                       |
| `assetPlatformId`   | string | Operation-specific | Platform ID such as `ethereum`                     |
| `contractAddress`   | string | Operation-specific | Token contract address                             |
| `contractAddresses` | string | Operation-specific | Comma-separated token contract addresses           |
| `nftId`             | string | Operation-specific | NFT collection ID                                  |
| `apiKey`            | string | No                 | Optional CoinGecko API key                         |

## Output

| Parameter | Type | Description             |
| --------- | ---- | ----------------------- |
| `data`    | json | CoinGecko response data |

## Notes

* Category: `tools`
* Type: `coingecko`
