market-data

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Market Data Query (Solana)

Solana代币市场数据查询

Query real-time Solana token market data including prices, holder analytics, whale tracking, and smart wallet intelligence.
查询实时Solana代币市场数据,包括价格、持有者分析、巨鲸追踪以及智能钱包情报。

Overview

概述

This skill helps you:
  • Get current token prices (SOL-denominated)
  • Fetch 24h trading statistics (volume, buys/sells, price change)
  • Query multi-timeframe ticker data
  • Analyze token holders and whale activity
  • Track smart money wallets and their trades
  • Discover hot tokens by banker activity
本技能可帮助您:
  • 获取当前代币价格(以SOL计价)
  • 获取24小时交易统计数据(交易量、买入/卖出量、价格变动)
  • 查询多时间段行情数据
  • 分析代币持有者及巨鲸活动
  • 追踪智能资金钱包及其交易
  • 通过庄家活动发现热门代币

API Base URL

API基础URL

https://b.alph.ai
https://b.alph.ai

Important Notes

重要说明

  • Solana Only: This platform is Solana-chain focused. Chain parameter is always
    sol
    .
  • No Auth Required: All market data endpoints are public, no JWT needed.
  • Price Denomination: Prices are returned in SOL, not USD. To get USD price, multiply by current SOL/USD rate.
  • 仅支持Solana:本平台仅聚焦Solana链,链参数始终为
    sol
  • 无需认证:所有市场数据接口均为公开接口,无需JWT。
  • 计价单位:价格以SOL计价,而非USD。如需获取USD价格,请乘以当前SOL/USD汇率。

Quick Reference

快速参考

Price & Ticker Endpoints

价格与行情接口

EndpointMethodAuthStatus
/smart-web-gateway/ticker/currentPrice/{token}/sol
GETNo✅ Working
/smart-web-gateway/ticker/24h/{token}/sol
GETNo✅ Working
/smart-web-gateway/ticker/{token}/sol
GETNo✅ Working
/smart-web-gateway/kline-scales
GETNo✅ Working
/smart-web-gateway/common/platform/sol
GETNo✅ Working
EndpointMethodAuthStatus
/smart-web-gateway/ticker/currentPrice/{token}/sol
GETNo✅ 正常运行
/smart-web-gateway/ticker/24h/{token}/sol
GETNo✅ 正常运行
/smart-web-gateway/ticker/{token}/sol
GETNo✅ 正常运行
/smart-web-gateway/kline-scales
GETNo✅ 正常运行
/smart-web-gateway/common/platform/sol
GETNo✅ 正常运行

Token Analytics Endpoints

代币分析接口

EndpointMethodAuthStatus
/smart-web-gateway/coin/detail/traders?token={token}&chain=sol
GETNo✅ Working
/smart-web-gateway/coin/detail/bankers?token={token}&chain=sol
GETNo✅ Working
/smart-web-gateway/coin/detail/bankers/total?token={token}&chain=sol
GETNo✅ Working
/smart-web-gateway/coin/detail/holders?token={token}&chain=sol
GETNo✅ Working
/smart-web-gateway/coin/detail/holders/stats?token={token}&chain=sol
GETNo✅ Working
EndpointMethodAuthStatus
/smart-web-gateway/coin/detail/traders?token={token}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/coin/detail/bankers?token={token}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/coin/detail/bankers/total?token={token}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/coin/detail/holders?token={token}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/coin/detail/holders/stats?token={token}&chain=sol
GETNo✅ 正常运行

Smart Wallet Endpoints

智能钱包接口

EndpointMethodAuthStatus
/smart-web-gateway/smart/tags?chain=sol
GETNo✅ Working
/smart-web-gateway/smart/smart-wallet?chain=sol
GETNo✅ Working
/smart-web-gateway/smart/wallet?wallet={addr}&chain=sol
GETNo✅ Working
/smart-web-gateway/smart/holding-tokens?wallet={addr}&chain=sol
GETNo✅ Working
/smart-web-gateway/smart/wallet-activity?wallet={addr}&chain=sol
GETNo✅ Working
/smart-web-gateway/smart/wallet-profit-loss?wallet={addr}&chain=sol
GETNo✅ Working
EndpointMethodAuthStatus
/smart-web-gateway/smart/tags?chain=sol
GETNo✅ 正常运行
/smart-web-gateway/smart/smart-wallet?chain=sol
GETNo✅ 正常运行
/smart-web-gateway/smart/wallet?wallet={addr}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/smart/holding-tokens?wallet={addr}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/smart/wallet-activity?wallet={addr}&chain=sol
GETNo✅ 正常运行
/smart-web-gateway/smart/wallet-profit-loss?wallet={addr}&chain=sol
GETNo✅ 正常运行

Hot Token Discovery

热门代币发现

EndpointMethodAuthStatus
POST /smart-web-gateway/sherlock/popular_token/getTopTokenByBanker
POSTNo✅ Working
POST /smart-web-gateway/sherlock/popular_token/getNewTokenProgress
POSTNo✅ Working
EndpointMethodAuthStatus
POST /smart-web-gateway/sherlock/popular_token/getTopTokenByBanker
POSTNo✅ 正常运行
POST /smart-web-gateway/sherlock/popular_token/getNewTokenProgress
POSTNo✅ 正常运行

Known Non-Working Endpoints

已知不可用接口

EndpointErrorNote
/kline/new/history/{token}/sol/{type}
500K-line history currently unavailable
All Ethereum/BSC chain endpoints501Not supported - Solana only
/chain/list
,
/smart/price
500Service unavailable
/smart/hot-tokens
500Service unavailable
EndpointErrorNote
/kline/new/history/{token}/sol/{type}
500K线历史数据当前不可用
All Ethereum/BSC chain endpoints501不支持 - 仅支持Solana
/chain/list
,
/smart/price
500服务不可用
/smart/hot-tokens
500服务不可用

Common Solana Token Addresses

常用Solana代币地址

TokenAddress
BONK
DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
WIF (dogwifhat)
EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm
JUP
JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN
USDC
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Wrapped SOL
So11111111111111111111111111111111111111112
TokenAddress
BONK
DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
WIF (dogwifhat)
EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm
JUP
JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN
USDC
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
Wrapped SOL
So11111111111111111111111111111111111111112

Usage Workflows

使用流程

Workflow 1: Get Token Price

流程1:获取代币价格

bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/currentPrice/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
Response:
json
{
  "code": "200",
  "data": {
    "p": "0.00000007466851836622579444836694",
    "ts": 1771919495625
  }
}
  • p
    : Current price in SOL
  • ts
    : Timestamp (milliseconds)
bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/currentPrice/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
响应:
json
{
  "code": "200",
  "data": {
    "p": "0.00000007466851836622579444836694",
    "ts": 1771919495625
  }
}
  • p
    : 当前价格(以SOL计价)
  • ts
    : 时间戳(毫秒)

Workflow 2: Get 24H Statistics

流程2:获取24小时统计数据

bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/24h/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
Response:
json
{
  "code": "200",
  "data": {
    "ticker": {
      "s": 86400,
      "bc": 4666,
      "ba": "4021.03",
      "sc": 8649,
      "sa": "7405.90",
      "a": "11426.94",
      "v": "152228037642.53",
      "r": "-0.0071",
      "c": "0.00000007465702",
      "h": "0.00000007648662",
      "o": "0.00000007519613",
      "l": "0.00000003749341"
    },
    "ts": 1771919500555
  }
}
Fields:
  • o/h/l/c
    : Open/High/Low/Close prices (in SOL)
  • v
    : Volume (token amount)
  • a
    : Trading amount (in SOL)
  • r
    : Price change rate (e.g., -0.0071 = -0.71%)
  • bc/ba
    : Buy count / Buy amount (SOL)
  • sc/sa
    : Sell count / Sell amount (SOL)
bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/24h/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
响应:
json
{
  "code": "200",
  "data": {
    "ticker": {
      "s": 86400,
      "bc": 4666,
      "ba": "4021.03",
      "sc": 8649,
      "sa": "7405.90",
      "a": "11426.94",
      "v": "152228037642.53",
      "r": "-0.0071",
      "c": "0.00000007465702",
      "h": "0.00000007648662",
      "o": "0.00000007519613",
      "l": "0.00000003749341"
    },
    "ts": 1771919500555
  }
}
字段说明:
  • o/h/l/c
    : 开盘价/最高价/最低价/收盘价(以SOL计价)
  • v
    : 交易量(代币数量)
  • a
    : 交易金额(以SOL计价)
  • r
    : 价格变动率(例如:-0.0071 = -0.71%)
  • bc/ba
    : 买入笔数 / 买入金额(SOL)
  • sc/sa
    : 卖出笔数 / 卖出金额(SOL)

Workflow 3: Multi-Timeframe Ticker

流程3:多时间段行情数据

bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
Returns data keyed by seconds:
60
,
300
,
3600
,
21600
,
43200
,
86400
(1min to 24h).
bash
curl -s "https://b.alph.ai/smart-web-gateway/ticker/DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263/sol"
返回以秒数为键的数据:
60
300
3600
21600
43200
86400
(1分钟至24小时)。

Workflow 4: Token Holder Analysis

流程4:代币持有者分析

bash
undefined
bash
undefined

Get holder statistics

获取持有者统计数据


**Response**:
```json
{
  "code": "200",
  "msg": "suc",
  "data": {
    "totalHolders": "571148",
    "top10Percent": 0.381,
    "top100Percent": 0.6918,
    "developerPercent": 0.0,
    "sniperPercent": 0,
    "insiderTradingPercent": 0,
    "bundleWalletPercent": 0,
    "phishingPercent": 0
  }
}

**响应**:
```json
{
  "code": "200",
  "msg": "suc",
  "data": {
    "totalHolders": "571148",
    "top10Percent": 0.381,
    "top100Percent": 0.6918,
    "developerPercent": 0.0,
    "sniperPercent": 0,
    "insiderTradingPercent": 0,
    "bundleWalletPercent": 0,
    "phishingPercent": 0
  }
}

Workflow 5: Whale / Banker Tracking

流程5:巨鲸/庄家追踪

bash
undefined
bash
undefined

Get whale groups for a token

获取代币的巨鲸群组数据


Returns wallet addresses with: `holdingsRate`, `totalBuyAmount`, `totalSellAmount`, `totalPnl`, `realizedPnl`, `unrealizedPnl`.

返回包含以下字段的钱包地址数据:`holdingsRate`、`totalBuyAmount`、`totalSellAmount`、`totalPnl`、`realizedPnl`、`unrealizedPnl`。

Workflow 6: Smart Wallet Intelligence

流程6:智能钱包情报

bash
undefined
bash
undefined

List top smart wallets

列出顶级智能钱包

Get wallet details

获取钱包详情

Get wallet holdings

获取钱包持仓代币

Get wallet trade history

获取钱包交易历史

Get wallet PnL by token

获取钱包按代币统计的盈亏数据

Workflow 7: Discover Hot Tokens

流程7:发现热门代币

bash
undefined
bash
undefined

Top tokens by banker net inflow (24h)

按庄家净流入量排名的顶级代币(24小时)

curl -s -X POST "https://b.alph.ai/smart-web-gateway/sherlock/popular_token/getTopTokenByBanker"
-H "Content-Type: application/json"
-d '{"chain":"sol"}'

**Response** includes: `token`, `tokenCode`, `bankerNumb`, `bankerRate`, `marketCap`, `bankerNetInflow`, `platformName`.
curl -s -X POST "https://b.alph.ai/smart-web-gateway/sherlock/popular_token/getTopTokenByBanker"
-H "Content-Type: application/json"
-d '{"chain":"sol"}'

**响应**包含以下字段:`token`、`tokenCode`、`bankerNumb`、`bankerRate`、`marketCap`、`bankerNetInflow`、`platformName`。

Workflow 8: Get Available DEX Platforms

流程8:获取可用的DEX平台

bash
curl -s "https://b.alph.ai/smart-web-gateway/common/platform/sol"
Returns: Pump, Moonit, Raydium, Boop, Believe, Dynamic BC, Jupiter Studio, Moonshot, Bags, Bankr, Bonk, etc.
bash
curl -s "https://b.alph.ai/smart-web-gateway/common/platform/sol"
返回平台列表:Pump、Moonit、Raydium、Boop、Believe、Dynamic BC、Jupiter Studio、Moonshot、Bags、Bankr、Bonk等。

Output Formatting

输出格式

When displaying market data to users:
markdown
undefined
向用户展示市场数据时的格式:
markdown
undefined

BONK/SOL Price

BONK/SOL价格

Current Price: 0.00000007467 SOL (~$0.0000114) 24h Change: -0.71% ↘ 24h High: 0.00000007649 SOL 24h Low: 0.00000003749 SOL 24h Volume: 152.2B BONK (~11,427 SOL)
Trading Activity (24h):
  • Buys: 4,666 trades (4,021 SOL)
  • Sells: 8,649 trades (7,406 SOL)
  • Net Flow: -3,385 SOL (sell pressure)
Holder Stats:
  • Total Holders: 571,148
  • Top 10 Hold: 38.1%
  • Top 100 Hold: 69.2%
Last updated: {timestamp}
undefined
当前价格: 0.00000007467 SOL (~$0.0000114) 24小时变动: -0.71% ↘ 24小时最高价: 0.00000007649 SOL 24小时最低价: 0.00000003749 SOL 24小时交易量: 1522亿 BONK (~11,427 SOL)
24小时交易活动:
  • 买入: 4,666笔交易(4,021 SOL)
  • 卖出: 8,649笔交易(7,406 SOL)
  • 资金流向: -3,385 SOL(卖出压力)
持有者统计:
  • 总持有者数: 571,148
  • 前10%持有者持仓占比: 38.1%
  • 前100位持有者持仓占比: 69.2%
最后更新时间: {时间戳}
undefined

Tips

提示

  1. Prices in SOL: All prices are SOL-denominated. Convert to USD by multiplying by SOL/USD rate.
  2. Param name is
    wallet
    : When querying wallet endpoints, use
    wallet=
    not
    address=
    .
  3. Language param: Add
    language=en_US
    for English responses on smart wallet endpoints.
  4. Pagination: Use
    pageNum
    and
    pageSize
    for paginated endpoints.
  5. Sort: Some endpoints support
    sort
    (field name) and
    asc
    (asc/desc) params.
  1. SOL计价:所有价格均以SOL计价。如需转换为USD,请乘以当前SOL/USD汇率。
  2. 参数名称为
    wallet
    :查询钱包接口时,使用
    wallet=
    而非
    address=
  3. 语言参数:在智能钱包接口中添加
    language=en_US
    以获取英文响应。
  4. 分页:对支持分页的接口,使用
    pageNum
    pageSize
    参数。
  5. 排序:部分接口支持
    sort
    (字段名)和
    asc
    (升序/降序)参数。

Error Handling

错误处理

CodeMessageSolution
200SuccessNormal response
400Bad requestCheck parameter names (e.g., use
wallet
not
address
)
500sys errorEndpoint may be unavailable or needs different params
501not supportWrong chain - use
sol
only
代码提示信息解决方法
200成功正常响应
400请求错误检查参数名称(例如:使用
wallet
而非
address
500系统错误接口可能不可用或需要不同的参数
501不支持链参数错误 - 仅使用
sol

Related Skills

相关技能

  • trading-execution: Execute trades based on market data
  • auth-helper: Setup authentication for trading operations
  • trading-execution:基于市场数据执行交易
  • auth-helper:为交易操作配置认证