gmgn-market by gmgnai/gmgn-skills
npx skills add https://github.com/gmgnai/gmgn-skills --skill gmgn-market使用 gmgn-cli 工具查询代币的 K 线数据或浏览热门代币。
| 子命令 | 描述 |
|---|---|
market kline | 代币 K 线数据 |
market trending | 热门代币交易数据 |
sol / bsc / base
GMGN_API_KEY 的 文件广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
.env.env 文件的目录运行,或在环境中设置 GMGN_HOSTgmgn-cli:npm install -g gmgn-cli@1.0.1| 参数 | 必需 | 描述 |
|---|---|---|
--chain | 是 | sol / bsc / base |
--address | 是 | 代币合约地址 |
--resolution | 是 | K 线周期 |
--from | 否 | 开始时间(Unix 秒) |
--to | 否 | 结束时间(Unix 秒) |
1m / 5m / 15m / 1h / 4h / 1d
| 选项 | 描述 |
|---|---|
--chain | 必需。sol / bsc / base |
--interval | 必需。1m / 5m / 1h / 6h / 24h(默认 1h) |
--limit <n> | 结果数量(默认 100,最大 100) |
--order-by <field> | 排序字段:default / swaps / marketcap / history_highest_market_cap / liquidity / volume / holder_count / smart_degen_count / renowned_count / gas_fee / / / / / |
| `--direction <asc | desc>` |
--filter <tag...> | 可重复的筛选标签(链特定)。sol(默认:renounced frozen):renounced / frozen / burn / token_burnt / has_social / not_social_dup / not_image_dup / dexscr_update_link / not_wash_trading / / 。(默认:): / / / / / / / / / / |
--platform <name...> | 可重复的平台筛选器(链特定)。sol:Pump.fun / pump_mayhem / pump_mayhem_agent / pump_agent / letsbonk / bonkers / bags / memoo / liquid / bankr / / / / / / / / / / / / / / / / / / / / / 。: / / / / / / / 。: / / / / / / / / |
# 最近 1 小时的 1 分钟 K 线
# macOS:
gmgn-cli market kline \
--chain sol \
--address <token_address> \
--resolution 1m \
--from $(date -v-1H +%s) \
--to $(date +%s)
# Linux: 使用 $(date -d '1 hour ago' +%s) 替代 $(date -v-1H +%s)
# 最近 24 小时的 1 小时 K 线
# macOS:
gmgn-cli market kline \
--chain sol \
--address <token_address> \
--resolution 1h \
--from $(date -v-24H +%s) \
--to $(date +%s)
# Linux: 使用 $(date -d '24 hours ago' +%s) 替代 $(date -v-24H +%s)
# SOL 链过去 1 小时按交易量排序的前 20 个热门代币
gmgn-cli market trending --chain sol --interval 1h --order-by volume --limit 20
# BSC 链过去 24 小时,仅限有社交链接、已验证且非蜜罐的热门代币
gmgn-cli market trending \
--chain bsc --interval 24h \
--filter has_social --filter not_honeypot --filter verified
# SOL 链上 Pump.fun 平台的代币,过去 6 小时
gmgn-cli market trending --chain sol --interval 6h --platform Pump.fun
# 原始输出以供进一步处理
gmgn-cli market kline --chain sol --address <addr> \
--resolution 5m --from <ts> --to <ts> --raw | jq '.[]'
使用安全筛选器获取一个广泛的代币池:
gmgn-cli market trending \
--chain <chain> --interval 1h \
--order-by volume --limit 50 \
--filter not_honeypot --filter has_social --raw
使用以下信号分析响应中的每条记录(应用判断,而非僵化规则):
| 信号 | 字段 | 权重 | 备注 |
|---|---|---|---|
| 聪明资金兴趣 | smart_degen_count, renowned_count | 高 | 关键信心指标 |
| 蓝筹持有者 | bluechip_owner_percentage | 中 | 持有者基础质量 |
| 真实交易活动 | volume, swaps | 中 | 区分真实兴趣与刷量交易 |
| 价格动量 | change1h, change5m | 中 | 偏好正向、非抛物线式变动 |
| 资金池安全性 | liquidity | 中 | 低流动性 = 高滑点风险 |
| 代币成熟度 | creation_timestamp | 低 | 避免创建时间少于约 1 小时的代币,除非其他信号非常强 |
选择综合表现最佳的 前 5 个 代币。优先选择在多个信号上表现良好,而非仅在单一信号上突出的代币。
将结果呈现为简洁的表格,并为每个选择提供一行理由:
Top 5 Trending Tokens — SOL / 1h
# | Symbol | Address (short) | Smart Degens | Volume | 1h Chg | Reasoning
1 | ... | ... | ... | ... | ... | Smart money accumulating + high volume
2 | ...
...
针对每个代币,提供:
token info + token security 以进行完整的尽职调查market kline:--from 和 --to 是 秒 为单位的 Unix 时间戳 — CLI 会自动转换为毫秒market trending:--filter 和 --platform 是可重复的标志--raw 获取单行 JSON 以供进一步处理0x + 40 位十六进制数字)。CLI 在运行时强制执行此验证。每周安装量
420
代码仓库
GitHub 星标数
30
首次出现
11 天前
安全审计
安装于
codex416
opencode414
gemini-cli409
kimi-cli408
cursor408
github-copilot408
Use the gmgn-cli tool to query K-line data for a token or browse trending tokens.
| Sub-command | Description |
|---|---|
market kline | Token candlestick data |
market trending | Trending token swap data |
sol / bsc / base
.env file with GMGN_API_KEY set.env file is located, or set GMGN_HOST in your environmentgmgn-cli installed globally: npm install -g gmgn-cli@1.0.1| Parameter | Required | Description |
|---|---|---|
--chain | Yes | sol / bsc / base |
--address | Yes | Token contract address |
--resolution | Yes | Candlestick resolution |
--from |
1m / 5m / 15m / 1h / 4h / 1d
| Option | Description |
|---|---|
--chain | Required. sol / bsc / base |
--interval | Required. 1m / 5m / 1h / 6h / 24h (default ) |
# Last 1 hour of 1-minute candles
# macOS:
gmgn-cli market kline \
--chain sol \
--address <token_address> \
--resolution 1m \
--from $(date -v-1H +%s) \
--to $(date +%s)
# Linux: use $(date -d '1 hour ago' +%s) instead of $(date -v-1H +%s)
# Last 24 hours of 1-hour candles
# macOS:
gmgn-cli market kline \
--chain sol \
--address <token_address> \
--resolution 1h \
--from $(date -v-24H +%s) \
--to $(date +%s)
# Linux: use $(date -d '24 hours ago' +%s) instead of $(date -v-24H +%s)
# Top 20 hot tokens on SOL in the last 1 hour, sorted by volume
gmgn-cli market trending --chain sol --interval 1h --order-by volume --limit 20
# Hot tokens with social links only, verified and not honeypot, on BSC over 24h
gmgn-cli market trending \
--chain bsc --interval 24h \
--filter has_social --filter not_honeypot --filter verified
# Pump.fun platform tokens on SOL, last 6 hours
gmgn-cli market trending --chain sol --interval 6h --platform Pump.fun
# Raw output for further processing
gmgn-cli market kline --chain sol --address <addr> \
--resolution 5m --from <ts> --to <ts> --raw | jq '.[]'
Fetch a broad pool with safe filters:
gmgn-cli market trending \
--chain <chain> --interval 1h \
--order-by volume --limit 50 \
--filter not_honeypot --filter has_social --raw
Analyze each record in the response using the following signals (apply judgment, not rigid rules):
| Signal | Field(s) | Weight | Notes |
|---|---|---|---|
| Smart money interest | smart_degen_count, renowned_count | High | Key conviction indicator |
| Bluechip ownership | bluechip_owner_percentage | Medium | Quality of holder base |
| Real trading activity | volume, swaps | Medium | Distinguishes genuine interest from wash trading |
| Price momentum |
Select the top 5 tokens with the best composite profile. Prefer tokens that perform well across multiple signals rather than excelling in just one.
Present results as a concise table, then give a one-line rationale for each pick:
Top 5 Trending Tokens — SOL / 1h
# | Symbol | Address (short) | Smart Degens | Volume | 1h Chg | Reasoning
1 | ... | ... | ... | ... | ... | Smart money accumulating + high volume
2 | ...
...
For each token, offer:
token info + token security for full due diligencemarket kline: --from and --to are Unix timestamps in seconds — CLI converts to milliseconds automaticallymarket trending: --filter and --platform are repeatable flags--raw to get single-line JSON for further processing0x + 40 hex digits). The CLI enforces this at runtime.Weekly Installs
420
Repository
GitHub Stars
30
First Seen
11 days ago
Security Audits
Gen Agent Trust HubPassSocketWarnSnykWarn
Installed on
codex416
opencode414
gemini-cli409
kimi-cli408
cursor408
github-copilot408
Python PDF处理教程:合并拆分、提取文本表格、创建PDF文件
54,200 周安装
Cloudflare Images 图像托管与转换 API 使用指南 | 支持 AI 人脸裁剪与内容凭证
328 周安装
Swift iOS HomeKit Matter 开发指南:控制智能家居与设备配网
329 周安装
iOS WeatherKit 使用指南:获取天气数据、预报与警报的 Swift 实现
329 周安装
Microsoft Agent Framework 开发指南:统一Semantic Kernel与AutoGen的AI智能体框架
329 周安装
Spring缓存单元测试指南:@Cacheable、@CacheEvict、@CachePut测试方法与内存缓存管理器
329 周安装
React Native 升级指南:使用 upgrade-react-native 技能轻松升级项目版本
329 周安装
pricechange1mchange5mchange1hcreation_timestampis_internal_marketis_out_marketnot_honeypot verified renouncednot_honeypotverifiedrenouncedlockedtoken_burnthas_socialnot_social_dupnot_image_dupdexscr_update_linkis_internal_marketis_out_marketzorasurgeanoncoinmoonshot_appwendotdevheavensugartoken_millbelievetrendsfuntrends_funjup_studioMoonshotboopxstocksray_launchpadmeteora_virtual_curvepool_raypool_meteorapool_pump_ammpool_orcafourmemefourmeme_agentbn_fourmemeflapclankerlunafunpool_uniswappool_pancakeclankerbankrflaunchzorazora_creatorbaseappbasememevirtuals_v2klik| No |
| Start time (Unix seconds) |
--to | No | End time (Unix seconds) |
1h--limit <n> | Number of results (default 100, max 100) |
--order-by <field> | Sort field: default / swaps / marketcap / history_highest_market_cap / liquidity / volume / holder_count / smart_degen_count / renowned_count / gas_fee / price / change1m / change5m / change1h / creation_timestamp |
| `--direction <asc | desc>` |
--filter <tag...> | Repeatable filter tags (chain-specific). sol (defaults: renounced frozen): renounced / frozen / burn / token_burnt / has_social / not_social_dup / not_image_dup / dexscr_update_link / not_wash_trading / is_internal_market / is_out_market. evm (defaults: not_honeypot verified renounced): not_honeypot / verified / renounced / locked / token_burnt / has_social / not_social_dup / not_image_dup / dexscr_update_link / is_internal_market / is_out_market |
--platform <name...> | Repeatable platform filter (chain-specific). sol : Pump.fun / pump_mayhem / pump_mayhem_agent / pump_agent / letsbonk / bonkers / bags / memoo / liquid / bankr / zora / surge / anoncoin / moonshot_app / wendotdev / heaven / sugar / token_mill / believe / trendsfun / trends_fun / jup_studio / Moonshot / boop / xstocks / ray_launchpad / meteora_virtual_curve / pool_ray / pool_meteora / pool_pump_amm / pool_orca. bsc : fourmeme / fourmeme_agent / bn_fourmeme / flap / clanker / lunafun / pool_uniswap / pool_pancake. base : clanker / bankr / flaunch / zora / zora_creator / baseapp / basememe / virtuals_v2 / klik |
change1h, change5m |
| Medium |
| Prefer positive, non-parabolic moves |
| Pool safety | liquidity | Medium | Low liquidity = high slippage risk |
| Token maturity | creation_timestamp | Low | Avoid tokens less than ~1h old unless other signals are very strong |