Skip to content
GMGN.AI edited this page Apr 15, 2026 · 9 revisions

GMGN OpenAPI

English | 简体中文

With GMGN Agent Skills, you can use AI agents to query real-time trending token rankings across multiple chains, token fundamentals, social media signals, live trading activity, new tokens in Trenches, top holders, top traders, smart money positions, KOL holdings, insider wallets, bundled wallet exposure, and other professional on-chain analytics. It also supports market orders, limit orders, advanced take-profit/stop-loss strategy orders, one-command cooking orders (buy + condition orders in a single flow), and wallet management — including real-time holdings, recent P&L, and transaction history — all through natural language.

To use, run the following command in your AI agent:

npx skills add GMGNAI/gmgn-skills

Then send natural language prompts to your agent — for example:

Show me the trending tokens on Solana in the last 1 hour.

For detailed request parameters and CLI options, refer to the skill.md documents in the gmgn-skills repository below.


Documentation

Page Description
Overview Installation, API key setup, supported chains, and upgrade instructions
Trade Market order: single-wallet and multi-wallet concurrent trading (up to 100 wallets), each executing independently; Limit order: trigger buy or sell at a specified price; Trailing take-profit / stop-loss: automatically tracks the price peak after target is reached — fires only after a set drawdown %, riding momentum while locking in gains; supports attaching multiple take-profit tiers + stop-loss to a single buy in one command
Market Data Trending tokens with multi-dimensional filter and sort options (1m / 5m / 1h / 6h / 24h)
Trenches Query new tokens in the Trenches (New created, Almost bonded, Migrated) — filtered by launchpad, dev holdings, smart money entry, rat trader ratio, and more
Token Query token basic info (price, supply, holders, social links, risk scores), main pool details, security information (honeypot, taxes, lock status), top holders, and top traders
K-line Token K-line (OHLCV) candlestick data — 1m / 5m / 15m / 1h / 4h / 1d resolution
Cooking One-command buy + take-profit/stop-loss condition orders in a single flow
User & Wallet List bound wallets and balances, query all token holdings with PnL stats, retrieve transaction activity history, wallet performance statistics, and single token balance
Track Real-time trade activity from wallets you follow, KOL trades, and Smart Money trades across chains

Clone this wiki locally