+GMGN API
Trending tokens, token security, top holders, wallet PnL and price candles from GMGN.AI as clean JSON.
The API.SH GMGN API returns public data from GMGN.AI, the multi-chain meme token terminal, as structured JSON for Solana, Ethereum, BSC, Base, Tron and Blast. Get trending tokens for a time window with price change, volume, liquidity, market cap, holders and smart-money and KOL counts, open a token for its pool, supply, holder statistics and optional security checks and recent trades, list its top holders with profit and cost, read OHLC candles, and profile any public wallet's PnL, win rate and trades.
- 5 endpoints
- from $1 / 1,000 calls
- 1,000 free credits / month
- failed calls free
GET https://api.api.sh/gmgn/v1/ wallet
{ "success": true } What you can build with the GMGN API
Trending and new-pair scanners
Pull trending tokens or the newest pairs on a chain, filtered by liquidity, market cap, volume, holders and age, to feed alerts or a Telegram bot.
Token due diligence
Check a token's liquidity, supply, top-10 holder share, dev holdings, snipers and bundlers, and add include=security for honeypot, taxes and mint or freeze authority.
Wallet tracking and copy-trade research
Profile a wallet's PnL, realized and unrealized profit, win rate and recent trades over 1, 7 or 30 days before following it.
Price charts and backtests
Download OHLC candles at one minute to one day for a token over a date range to chart it or test a strategy.
GMGN data you get
Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.
GMGN API endpoints and prices
Every GMGN endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing
| GMGN trending tokens /gmgn/ | $1 · $2 PAYG 1 credit |
| GMGN wallet profile /gmgn/ | $1 · $2 PAYG 1 credit |
| GMGN token price candles /gmgn/ | $1 · $2 PAYG 1 credit |
| GMGN token detail /gmgn/ | $1 · $2 PAYG 1 credit |
| GMGN token holders /gmgn/ | $1 · $2 PAYG 1 credit |
Call the GMGN API
GMGN wallet profile: GET https://api.api.sh/gmgn/
curl "https://api.api.sh/gmgn/v1/wallet?address=DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/gmgn/v1/wallet",
params={"address": "DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/gmgn/v1/wallet");
url.searchParams.set("address", "DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); # Google Sheets (API.SH add-on)
=APISH("/gmgn/v1/wallet", "address", "DfMxre4cKmvogbLrPigxmibVTTQDuzjdXojWzjCXXhzj")
# Zapier, Make, n8n (verified node): pick the API.SH app,
# choose "GMGN" and "GMGN wallet profile".
# AI agents (Claude, ChatGPT, Cursor): add the
# API.SH MCP server https://api.sh/mcp - Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
- Create an API keyOne key works for all 482 platforms.
- Send the requestJSON back in one call. Add
output=csvoroutput=ndjsonfor files.
Why API.SH for GMGN data
- Public data only: no GMGN login, cookies or account needed
- One key and one response shape for GMGN and 481 other platforms
- Built and maintained by API.SH, not third-party publishers
- Pay per call; errors on our side cost nothing
- Live status for every endpoint
API.SH vs the official GMGN API
GMGN offers its own Agent API and OpenAPI skills, which need an API key from GMGN and include trade execution. API.SH is read-only: it returns GMGN's public token, holder, chart and wallet data with your API.SH key and no GMGN key or wallet.
Instead of applying for GMGN API access or keeping a scraper running, call API.SH: one key, fixed price per call, the same JSON shape as other crypto platforms.
GMGN API questions
What GMGN data can I get?+
Trending tokens and new pairs (/gmgn/v1/trending), token details with optional security and trades (/gmgn/v1/token), top holders (/gmgn/v1/token/holders), OHLC price candles (/gmgn/v1/token/chart) and public wallet profiles with PnL and trades (/gmgn/v1/wallet).
How much does the GMGN API cost?+
Every GMGN endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.
Is there a free trial?+
Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /gmgn/v1/token at 1 credit each.
Is there an official GMGN API?+
Yes. GMGN has an Agent API and OpenAPI skills with keys issued by GMGN, covering market data and trading. API.SH is a read-only alternative for public data that needs no GMGN key.
How do I get a GMGN API key?+
For API.SH you don't need one: sign up at api.sh and use your API.SH key. A key for GMGN's own API comes from GMGN.
Which chains are supported?+
Solana, Ethereum, BSC, Base, Tron and Blast. Pass the chain on every call.
Can I place trades with this API?+
No. API.SH only reads public data. It never connects a wallet or executes swaps.
How do I get started?+
1. Sign up at api.sh. 2. Copy your API key. 3. Call /gmgn/v1/trending with chain=sol and period=1h. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.