First-party app
CoinGecko

CoinGecko

Crypto prices, market data, charts, search, trending and exchange data from CoinGecko.

stable Finance & AccountingAnalytics & BI

About

CoinGecko ships in the w6w first-party pack. It declares 18 actions, 2 health checks, and the host runs its code in a sandbox that never sees the credential.

App id
io.w6w.coingecko
Version
0.1.0
Author
w6w
Licence
MIT
Categories
Finance & Accounting · Analytics & BI

Overview

CoinGecko is the independent crypto data aggregator, and this app puts its market data into a workflow: current prices for any number of coins in any number of currencies, ranked market listings with 24-hour change and market cap, full coin profiles, historical snapshots, price/market-cap/volume charts and OHLC candles, plus search, trending, global market statistics, exchanges and coin categories.

It works with either CoinGecko plan. A Demo key (free) is served from api.coingecko.com and a Pro-family key (Basic, Analyst, Lite, Pro, Enterprise) from pro-api.coingecko.com; the two are separate auth methods because the host and the header name both differ and a key sent to the wrong host is refused. Every action calls the same v3 paths on either host, so a workflow is portable between plans.

Coverage is the read-only core of the v3 API: simple price, coin lists and market data, coin detail, history and charts, search, trending, global data, exchanges and categories. On-chain (GeckoTerminal), NFT, derivatives, treasury and RWA endpoints are not covered yet.

Build with CoinGecko

Three routes to the same 18 actions. The Workflow tab is generated from CoinGecko's own manifest and carries its real ids, so it is copy-pasteable; the Code and CLI examples are the same call for any action on any app, so every app-specific value in them is a blank you fill in.

Get API Usage

get-api-usage

Plan name, rate limit and monthly call-credit usage for the connected key (GET /key). Paid plans only — a Demo key is refused.

Get Coin

get-coin

Full profile for one coin: metadata, links, market data and tickers (GET /coins/{id}). The response is large — switch off the sections you do not need.

Get Coin History

get-coin-history

A coin's price, market cap and volume snapshot on one date (GET /coins/{id}/history).

Get Coin Market Chart

get-coin-market-chart

Price, market-cap and volume time series for the last N days (GET /coins/{id}/market_chart). Each series is [[unixMillis, value], ...]. Granularity is automatic unless `interval` is set.

Get Coin Market Chart (Range)

get-coin-market-chart-range

Price, market-cap and volume time series between two dates (GET /coins/{id}/market_chart/range). Each series is [[unixMillis, value], ...].

Get Coin OHLC

get-coin-ohlc

Open/high/low/close candles for the last N days (GET /coins/{id}/ohlc). Candle width is chosen by CoinGecko from `days` unless `interval` is set.

Get Global Market Data

get-global

Whole-market statistics: active coins, total market cap and volume by currency, dominance (GET /global). The vendor wraps the payload in `data`; it is returned as-is.

Get Coin Prices

get-simple-price

Current price of one or more coins in one or more currencies (GET /simple/price). Identify coins by id (preferred), name, or symbol.

Get Trending

get-trending

The coins, NFTs and categories trending on CoinGecko right now (GET /search/trending).

List Categories (with Market Data)

list-categories

Coin categories with market cap, 24h change and volume (GET /coins/categories).

List Category IDs

list-category-ids

Every coin category as {category_id, name} (GET /coins/categories/list). The category_id feeds the Category filter of List Coin Markets.

List Coin Markets

list-coin-markets

Coins with price, market cap, volume and 24h change in a target currency, ranked (GET /coins/markets). Page through with `page` and `perPage`.

List Coins

list-coins

Every coin CoinGecko tracks, as {id, symbol, name} (GET /coins/list). The id is what the other actions take. The full list is large — thousands of entries.

List Exchange IDs

list-exchange-ids

Every exchange as {id, name} (GET /exchanges/list).

List Exchanges

list-exchanges

Exchanges with trust score and 24h BTC volume, paged (GET /exchanges).

List Supported Currencies

list-supported-currencies

Every currency code accepted as a target currency (GET /simple/supported_vs_currencies).

Ping

ping

Check that the CoinGecko API server is up (GET /ping).

Search

search

Search coins, exchanges, categories and NFTs by name or symbol (GET /search).

A workflow step names the app and the action, and the editor fills in the connection when you pick one. This is the Step shape from the workflow spec, carrying CoinGecko's real ids.

{
  "manifestVersion": "2",
  "name": "coingecko-example",
  "steps": [
    {
      "id": "get-coin",
      "uses": {
        "app": "io.w6w.coingecko",
        "action": "get-coin",
        "connection": "conn_YOUR_CONNECTION_ID"
      },
      "with": {
        "id": "<id>"
      }
    }
  ]
}

Here are some of the things you can do

  • Get Coin

    read
    get-coin
  • Get API Usage

    read
    get-api-usage
  • Get Coin History

    read
    get-coin-history
  • Get Coin Market Chart

    read
    get-coin-market-chart
  • Get Coin Market Chart (Range)

    read
    get-coin-market-chart-range

+13 more actions available

Every app-specific value here is a blank you have to fill in. An app action is reached through the connection that authenticates it, so the address is a connection id, not the app id — and connections belong to your account, so a public page cannot know yours. Create one for CoinGecko, then fill in the three blanks: conn_YOUR_CONNECTION_ID, the action key, and the parameters that action declares. The call itself is real — the shape is transcribed from the studio's own snippet builder, which prints the same kind of blanks — but nothing in it is specific to CoinGecko. The Workflow tab is where this app's real ids are.

Install
npm install @w6w/sdk
yarn add @w6w/sdk
pnpm add @w6w/sdk
deno add npm:@w6w/sdk
Code
import { W6wClient, isActionRun } from "@w6w/sdk";

// Reads W6W_BASE_URL and W6W_TOKEN from the environment when omitted.
const client = new W6wClient();

const envelope = await client.run({
  urn: "conn_YOUR_CONNECTION_ID",
  action: "get-coin",
  payload: {
    id: "<value>",
    // localization: "<value>",
    // tickers: "<value>",
    // marketData: "<value>",
    // sparkline: "<value>",
    // includeCategoriesDetails: "<value>",
    // dexPairFormat: "<value>",
  },
});

if (isActionRun(envelope)) console.log(envelope.value);
Install the CLI
npm install -g @w6w/cli
CLI
w6w run conn_YOUR_CONNECTION_ID --action get-coin --payload '{"id":"<value>"}'

Give an AI agent CoinGecko — without giving it CoinGecko's credentials. One MCP endpoint exposes every app, function and workflow the caller is entitled to, as tools it can discover and run. Access is granted per team while we onboard.

One tool call
{
  "name": "w6w_invoke",
  "arguments": {
    "ref": "app:io.w6w.coingecko#get-coin",
    "input": {
      "id": "<id>"
    }
  }
}

Every tool names its target with a single ref. The app: form above doesn't name a connection at all — the host resolves which of the caller's CoinGecko connections to sign with, and refuses rather than guesses when the answer is ambiguous.

What the agent gets

Credentials it can't read

The token is attached host-side, at the moment of the call. It is never a tool argument, never in the model's context, and never in a transcript — so a prompt injection has nothing to exfiltrate.

A tool surface scoped to the caller

Tools are derived per end user from what that person has actually connected and is entitled to — not one shared bot identity carrying the union of everyone's access.

A durable workflow in one call

Multi-step work runs on the workflow engine and returns a run handle the agent can poll — retries, branching and state survive the conversation that started them.

Health-aware discovery

CoinGecko's declared health checks are on the surface too, so an agent can tell "the vendor is down" from "your credential expired" before it burns a retry on either.

The MCP surface is part of the hosted platform. CoinGecko itself is MIT, and the runtime that executes it is source-available (FSL).

Request MCP access

Health checks

CoinGecko declares its own checks, so its health is a property of the app rather than something the host guesses at.

service

CoinGecko platform status

Reads status.coingecko.com's Atom incident history for open (unresolved) incidents.

quota

Monthly call credits

Remaining monthly call credits for the connected key, read from GET /key.