# Zapier — CoinGecko Integrations
> zapier.com/apps/coingecko/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Identity
CoinGecko is the leading crypto data aggregator, tracking real-time and historical market data for 17,000+ coins across thousands of exchanges.

- App slug: coingecko
- Operations published here: 6 (5 functions, 1 query)

## Authentication
Zapier connects to CoinGecko via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection coingecko
```

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/coingecko/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect CoinGecko through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · get_coin`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "coingecko", owner: "me" });

const { data } = await zapier.runAction({
  app: "coingecko",
  actionType: "write",
  action: "get_coin",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action coingecko write get_coin \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing CoinGecko's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "coingecko" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions coingecko --page-size 50 --max-items 200 --json
```

### Functions (5)

Functions change something in CoinGecko.

#### Get Coin Data
Gets detailed data for a single coin by its ID, including description, links, and market data.

- Type: write · Key: `get_coin`
- Requires: id
- Optional: localization, tickers, market_data, community_data, developer_data, sparkline
- SDK: `runAction({ app: "coingecko", actionType: "write", action: "get_coin" })`
- CLI: `npx zapier-sdk run-action coingecko write get_coin`

#### Get Coin Price
Gets the current price of one or more coins in the requested currencies.

- Type: write · Key: `get_coin_price`
- Requires: ids, vs_currencies
- Optional: include_market_cap, include_24hr_vol, include_24hr_change, include_last_updated_at
- SDK: `runAction({ app: "coingecko", actionType: "write", action: "get_coin_price" })`
- CLI: `npx zapier-sdk run-action coingecko write get_coin_price`

#### Get Trending Coins
Gets the top trending coins from the last 24 hours.

- Type: write · Key: `list_trending_coins`
- Requires: nothing
- SDK: `runAction({ app: "coingecko", actionType: "write", action: "list_trending_coins" })`
- CLI: `npx zapier-sdk run-action coingecko write list_trending_coins`

#### Ping the API
Tests whether the API is reachable and the connected key is valid.

- Type: write · Key: `ping`
- Requires: nothing
- SDK: `runAction({ app: "coingecko", actionType: "write", action: "ping" })`
- CLI: `npx zapier-sdk run-action coingecko write ping`

#### Find Listing
Finds coins, exchanges, and categories that match a search query.

- Type: write · Key: `search_items`
- Requires: query
- SDK: `runAction({ app: "coingecko", actionType: "write", action: "search_items" })`
- CLI: `npx zapier-sdk run-action coingecko write search_items`

### Queries (1)

Queries read from CoinGecko and return data. They change nothing.

#### Find Coin Market
Finds coins ranked by market capitalization with price, volume, and change data.

- Type: search · Key: `list_coin_markets`
- Requires: vs_currency
- Optional: ids, order, per_page, page, sparkline, price_change_percentage
- SDK: `runAction({ app: "coingecko", actionType: "search", action: "list_coin_markets" })`
- CLI: `npx zapier-sdk run-action coingecko search list_coin_markets`

## Popular integrations
- [CoinGecko + Google Sheets](zapier.com/apps/coingecko/integrations/google-sheets.md)
- [CoinGecko + Airtable](zapier.com/apps/coingecko/integrations/airtable.md)
- [CoinGecko + ActiveCampaign](zapier.com/apps/coingecko/integrations/activecampaign.md)
- [CoinGecko + Telegram](zapier.com/apps/coingecko/integrations/telegram.md)
- [CoinGecko + YouTube](zapier.com/apps/coingecko/integrations/youtube.md)

## Links
- Full app page: zapier.com/apps/coingecko/integrations
- MCP: zapier.com/mcp/coingecko
- SDK: npmjs.com/package/@zapier/zapier-sdk