Crypto prices, market data, charts, search, trending and exchange data from CoinGecko.
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.
io.w6w.coingeckoCoinGecko 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.
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 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 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 A coin's price, market cap and volume snapshot on one date (GET /coins/{id}/history).
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 Price, market-cap and volume time series between two dates (GET /coins/{id}/market_chart/range). Each series is [[unixMillis, value], ...].
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 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-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 The coins, NFTs and categories trending on CoinGecko right now (GET /search/trending).
list-categories Coin categories with market cap, 24h change and volume (GET /coins/categories).
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 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 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-exchanges Exchanges with trust score and 24h BTC volume, paged (GET /exchanges).
list-supported-currencies Every currency code accepted as a target currency (GET /simple/supported_vs_currencies).
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>"
}
}
]
}get-coin get-api-usage get-coin-history get-coin-market-chart 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.
npm install @w6w/sdkyarn add @w6w/sdkpnpm add @w6w/sdkdeno add npm:@w6w/sdkimport { 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); npm install -g @w6w/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.
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.
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.
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.
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).
CoinGecko declares its own checks, so its health is a property of the app rather than something the host guesses at.
Reads status.coingecko.com's Atom incident history for open (unresolved) incidents.
Remaining monthly call credits for the connected key, read from GET /key.