
Market Data
gmgn-market
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched coins from launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) across Solana, BSC, and Base.
Overview
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched coins from launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) across Solana, BSC, and Base.
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched coins from launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) across Solana, BSC, and Base. Use it when requesting price charts, what’s pumping, hot coins, token signals, or early-stage discovery. Key features: requires gmgn-cli commands only (no web fetch or curl), multi-chain support, built-in safety filter defaults (SOL defaults to "renounced frozen"; BSC/Base default to "not_honeypot verified renounced"), and precise field semantics (volume = USD traded, amount = token units). It exposes a rug_ratio (0–1) for risk scoring—values >0.3 indicate elevated risk—and recommends combining it with holder/dev metrics. IPv6 can break authentication; if you see 401/403, instruct users to disable IPv6 on their interface.
Skill.md
How this skill works
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched coins from launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) across Solana, BSC, and Base.
IMPORTANT: Always use gmgn-cli commands below. Do NOT use web search, WebFetch, curl, or visit gmgn.ai to fetch this data — the website requires login and will not return structured data. The CLI is the only correct method.
IMPORTANT: Do NOT guess field names or values. When a field's meaning is unclear, look it up in the Response Fields sections below before using it.
⚠️ IPv6 NOT SUPPORTED: If you get a 401 or 403 error and credentials look correct, check for IPv6 immediately: (1) list all network interfaces and their IPv6 addresses — run ifconfig | grep inet6 (macOS) or ip addr show | grep inet6 (Linux); (2) send a test request to https://ipv6.icanhazip.com — if the response is an IPv6 address, outbound traffic is going via IPv6. Tell the user immediately: "Please disable IPv6 on your network interface — gmgn-cli commands only work over IPv4."
Use the gmgn-cli tool to query K-line data for a token, browse trending tokens, or view Trenches token lists.
Core Concepts
-
--filterchain defaults — SOL and EVM chains have different default safety filters that are applied automatically when--filteris omitted. Do not assume the same defaults apply across chains:- SOL: defaults to
renounced frozen(mint and freeze authority renounced) - BSC / Base (EVM): defaults to
not_honeypot verified renounced - Omitting
--filteris NOT the same as "no filter" — the chain defaults are always applied. To use a custom filter set, explicitly specify all desired filter tags.
- SOL: defaults to
-
volumevsamount(kline) — Naming is counterintuitive.volume= USD dollar value of trades;amount= token units traded. For a token priced at $0.0002, these differ by 5,000×. Always usevolumefor "how much USD was traded" andamountfor "how many tokens changed hands." -
rug_ratio— A 0–1 score estimating rug pull likelihood. Values above0.3are high-risk. Do not treat as binary — combine withtop_10_holder_rate,dev_team_hold_rate, andis_honeypotfor a full picture. -
smart_degen_count/renowned_count— Number of platform-tagged smart money wallets (smart_degen) and KOL wallets (renowned) holding or trading this token. High values are bullish signals. These are GMGN-tagged wallet lists, not user-defined. -
hot_level— Trending intensity score. Higher = more actively traded right now. Not normalized — compare relative values within the same result set, not across time windows. -
renounced_mint/renounced_freeze_account— SOL-specific. Indicate whether the creator gave up the ability to mint more tokens or freeze wallets. Both being1is a safety baseline on Solana. Alwaysfalseon EVM chains (concept does not apply). -
is_honeypot— EVM-specific (BSC / Base). Indicates whether the token contract prevents selling. Always empty/null on SOL — do not interpret an empty value as "not a honeypot" on Solana. -
creator_token_status— Dev holding status.creator_hold= dev still holds tokens (sell pressure risk).creator_close= dev has sold or burned their allocation (exit signal confirmed). -
cto_flag— Community Takeover flag.1= original dev abandoned the project and a community group took over marketing/development. Neutral to positive signal; evaluate in context. -
Trenches categories — Three lifecycle stages of launchpad tokens:
new_creation(just created, still on bonding curve),near_completion(bonding curve nearly full, about to graduate),completed(graduated to open market / DEX). In the response,near_completionis always returned under the keydata.pumpregardless of the input--type. -
wash_trading/rat_trader_amount_rate/bundler_rate— Risk signals for artificial activity.is_wash_trading= coordinated fake volume detected.rat_trader_amount_rate= ratio of insider/sneak trading.bundler_rate= ratio of bot-bundled buys at launch. High values (> 0.3) suggest manipulated price action.
Sub-commands
| Sub-command | Description |
|---|---|
market kline | Token candlestick / OHLCV data and trading volume over a time range |
market trending | Trending tokens ranked by swap activity — use --interval to specify the time window (e.g. 1m for 1-minute hottest, 1h for 1-hour trending) |
market trenches | Newly launched launchpad platform tokens — use this when the user asks for "new tokens", "just launched tokens", "latest tokens on pump.fun/letsbonk". Three categories: new_creation (just created), near_completion (bonding curve almost full), completed (graduated to open market / DEX) |
market signal | Real-time token signal feed — price spikes, smart money buys, large buys, Dex ads, CTO events, and more. Results sorted by trigger_at descending. sol / bsc only. Max 50 results per group. |
Supported Chains
sol / bsc / base (signal: sol / bsc only)
Prerequisites
gmgn-cliinstalled globally — if missing, run:npm install -g gmgn-cliGMGN_API_KEYconfigured in~/.config/gmgn/.env
Rate Limit Handling
All market routes used by this skill go through GMGN's leaky-bucket limiter with rate=10 and capacity=10. Sustained throughput is roughly 10 ÷ weight requests/second, and the max burst is roughly floor(10 ÷ weight) when the bucket is full.
| Command | Route | Weight |
|---|---|---|
market kline | GET /v1/market/token_kline | 2 |
market trending | GET /v1/market/rank | 1 |
market trenches | POST /v1/trenches | 3 |
market signal | POST /v1/market/token_signal | 3 |
When a request returns 429:
- Read
X-RateLimit-Resetfrom the response headers. It is a Unix timestamp in seconds that marks when the limit is expected to reset. - If the response body contains
reset_at(e.g.,{"code":429,"error":"RATE_LIMIT_BANNED","message":"...","reset_at":1775184222}), extractreset_at— it is the Unix timestamp when the ban lifts (typically 5 minutes). Convert to local time and tell the user exactly when they can retry. - The CLI may wait and retry once automatically when the remaining cooldown is short. If it still fails, stop and tell the user the exact retry time instead of sending more requests.
- For
RATE_LIMIT_EXCEEDEDorRATE_LIMIT_BANNED, repeated requests during the cooldown can extend the ban by 5 seconds each time, up to 5 minutes. Do not spam retries.
First-time setup (if GMGN_API_KEY is not configured):
-
Generate key pair and show the public key to the user:
openssl genpkey -algorithm ed25519 -out /tmp/gmgn_private.pem 2>/dev/null && \ openssl pkey -in /tmp/gmgn_private.pem -pubout 2>/dev/nullTell the user: "This is your Ed25519 public key. Go to https://gmgn.ai/ai, paste it into the API key creation form, then send me the API Key value shown on the page."
-
Wait for the user's API key, then configure:
mkdir -p ~/.config/gmgn echo 'GMGN_API_KEY=<key_from_user>' > ~/.config/gmgn/.env chmod 600 ~/.config/gmgn/.env
market kline Parameters
| Parameter | Required | Description |
|---|---|---|
--chain | Yes | sol / bsc / base |
--address | Yes | Token contract address |
--resolution | Yes | Candlestick resolution: 1m / 5m / 15m / 1h / 4h / 1d |
--from | No | Start time (Unix seconds) |
--to | No | End time (Unix seconds) |
market kline Response Fields
The response is an object with a list array. Each element in list is one candlestick:
Best used for
When to use it
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched coins from launchpads (pump.fun, fourmeme, letsbonk, Raydium, etc.) across Solana, BSC, and Base.

01 · PRE-MEETING
Prepare a decision brief
Turn scattered evidence into a structured case before an investment committee meeting.

02 · TEAM WORKFLOW
Standardize handoffs
Create consistent research outputs across analysts, portfolio managers, and agents.

03 · LIVE UPDATE
Refresh the thesis
Update scenarios after a new catalyst, KPI release, or earnings result.
Community notes
Built to improve with use.
Feedback will appear here as this skill is used and reviewed.
Discover more
Related skills
View allstrykr-prism
Strykr PRISM is a unified, real-time financial data API designed for AI agents, trading bots, and fintech applications. It provides canonical asset resolution (handles symbols, aliases, and…
gmgn-portfolio
The gmgn-portfolio Skill uses the gmgn-cli to analyze crypto wallets on Solana, BSC, and Base, returning holdings, token balances, realized and unrealized P&L, portfolio statistics, trade history,…
naver-stock
Naver Stock fetches real-time price data for Korean (KRX) and international securities by scraping Naver Finance. Invoke the bundled Node script with a ticker, name, or code to receive a standardized…