Logo Bitmart Wallet Ai

Bitmart Wallet Ai

Tổ chức
bitmartexchange
bitmart-wallet-ai

Các kỹ năng Ví Web3 của BitMart (12 endpoint): Tìm kiếm token, Chi tiết chuỗi, Thông tin token, Biểu đồ K-Line, Xếp hạng token thịnh hành, Xếp hạng xStock, Xếp hạng lãi/lỗ của Smart Money, Phân tích địa chỉ/Nắm giữ/Lịch sử giao dịch của Smart Money, Số dư địa chỉ, Giao dịch gần đây của địa chỉ, Báo giá hoán đổi, Giá hàng loạt. Tất cả API đều không yêu cầu API Key. Dùng khi người dùng hỏi về giá token, dữ liệu thị trường, theo dõi Smart Money, truy vấn tài sản, giao dịch gần đây hoặc báo giá hoán đổi token.

Tổng quan

Nhà phát hànhbitmartexchange
Kho mãbitmart-skills
Tên kỹ năngbitmart-wallet-ai
Sao
33
Bản fork
0
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được bitmartexchange công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Bitmart Wallet Ai trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/bitmartexchange/bitmart-skills/tree/master/skills/bitmart-wallet-ai
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bitmartexchange/bitmart-skills.git /tmp/bitmart-skills
mkdir -p .claude/skills
cp -r /tmp/bitmart-skills/skills/bitmart-wallet-ai .claude/skills/bitmart-wallet-ai
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Bitmart Wallet Ai trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Bitmart Wallet Ai ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Bitmart Wallet Ai với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

BitMart Web3 Wallet AI Skills

This document describes the BitMart Web3 Wallet capabilities exposed as AI skills.

Supported Chains

chainIdChainNative Coin Symbol
2001SolanaSOL
2002BSC (BNB Smart Chain)BNB
2003EthereumETH
2004ArbitrumETH
2007BaseETH

API Overview

  • Base URL: https://api-cloud.bitmart.com
  • Authentication: No API Key required, send HTTP requests directly
  • Request Method: POST, JSON body
  • Required Header: User-Agent: bitmart-skills/wallet/v2026.3.23 (SDK source identifier for analytics)
  • Response Format: { "success": bool, "code": "string", "message": "string", "data": ... }
  • Request Limit: 15 requests per second per IP, or you would be rate limited
EndpointPathDescription
token-search/web3/chain-web3-base-data-maintainer/v1/token/searchFuzzy search tokens by name or symbol
chain-detail/web3/chain-web3-base-data-maintainer/v1/chain/by-chainIdQuery chain details by platform chain ID
token-info/web3/chain-web3-base-data-maintainer/v1/token/query/by/token-idGet token details by platform token ID
kline/web3/chain-web3-market/v1/api/market/kline/historyToken K-line data (Solana chain only)
hot-ranking/web3/chain-web3-market/v1/api/market/trending/hotHot token trending ranking
xstock-ranking/web3/chain-web3-market/v1/api/market/rank/xstocksUS stock mapped token ranking
smart-money-rank/web3/chain-web3-smart-money/v1/api/smart-money/listSmart money 7-day P&L ranking
smart-money-info/web3/chain-web3-smart-money/v1/api/smart-money/infoSmart money address analysis, holdings and transaction history
address-balance/web3/chain-web3-assetmanager/v1/eoa/balance/listAddress token balance list
address-recent/web3/chain-web3-data-platform/evm/v2/transaction/address-recentAddress recent transactions (grouped by date)
swap-quote/web3/chain-web3-price/api/v1/token/price/swap-quoteToken Swap quote (quote only)
batch-price/web3/chain-web3-price/api/v1/token/price/batchBatch query token prices

Core Rules

1. Token Chain Dependency Rule

Tokens with the same symbol on different chains are different tokens (e.g., USDT-ETH ≠ USDT-BSC ≠ USDT-SOL), with different contract addresses, liquidity pools, and markets.

2. Swap Compatibility Rule

Two tokens can be swapped only if:

  • Both tokens are on the same chain
  • Or one is the native token and the other is a contract token on the same chain

Cross-chain Swap is not supported.

3. Token Resolution Workflow

All endpoints requiring token details must first get parameters through the following workflow:

User Input → token-search → token-info → Target Endpoint

Never hardcode or guess token addresses, chainId, or decimal places.

4. Native Token Address Handling (Important)

This is how different endpoints handle native token addresses:

contract field returned by token-info
chainIdChaincontract value
2001SolanaSo11111111111111111111111111111111111111111
2002BSC"" (empty)
2003Ethereum"" (empty)
2004Arbitrum"" (empty)
2007Base"" (empty)
tokenAddress field returned by address-balance

Native tokens on all chains return "" (empty string).

tokenAddress parameter for swap-quote endpoint
ChainInput MethodAPI Return Value
SolanaMust use So11111111111111111111111111111111111111111Kept as is
EVM Chains (ETH/BSC/ARB/Base)Pass "" empty stringConverted to 0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Key Conclusions:

  • When swapping native tokens on EVM chains, pass empty string "" for tokenAddress
  • When swapping native tokens on Solana, must pass So11111111111111111111111111111111111111111 for tokenAddress

5. Address Balance Query

chainId is a required parameter. If the user does not specify a chain, must query all supported chains (2001-2004, 2007).


Common Token Address Reference

Native Tokens

ChainTokenAddress
SolanaSOLSo11111111111111111111111111111111111111111
EVM Chains GeneralNative Coin0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

Common Contract Tokens (Testnet)

ChainTokenAddress
SolanaUSDCEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
SolanaUSDTEs9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
BSCUSDT0x55d398326f99059ff775485246999027b3197955
BSCUSDC0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d
ArbitrumUSDC0xaf88d065e77c8cc2239327c5edb3a432268e5831
BaseUSDC0x833589fcd6edb6e08f4c7c32d4f71b54bda02913

API Details

token-search

Fuzzy search tokens by name or symbol.

Request:

json
{
    "keyword": "TRUMP",
    "chainId": 2002
}
ParameterTypeRequiredDescription
keywordstringYesSearch keyword, matches token symbol and name
chainIdintegerNoPlatform internal chain ID (2001=Solana, 2002=BSC, 2003=Ethereum, etc.)

Response Key Fields:

  • tokenId: Platform internal token ID (required by downstream endpoints)
  • chainId: Platform internal chain ID
  • contract: Token contract address
  • symbol: Token symbol
  • tokenDecimal: Token decimal places
  • isDeposit/isWithdraw: Whether deposit/withdrawal is supported

token-info

Get complete token details by platform internal token ID.

Prerequisite: First get tokenId from token-search.

Request:

json
{
    "tokenId": "224987722"
}
ParameterTypeRequiredDescription
tokenIdstringYesInternal token ID (from token-search)

Response Key Fields:

  • tokenId: Platform internal token ID
  • chainId: Platform internal chain ID
  • contract: Token contract address
  • tokenDecimal: Token decimal places
  • isNativeToken: Whether it's a native token (1=yes)
  • type: Token type (e.g., spl-token)
  • name: Token name
  • symbol: Token symbol
  • tokenIcon: Token icon URL
  • isWithdraw: Whether withdrawal is supported (1=yes)
  • isDeposit: Whether deposit is supported (1=yes)
  • status: Token status
  • gasLimit: Gas limit
  • contractOwner: Contract owner address
  • source: Token source (e.g., pump_dot_fun)
  • createdAt: Token creation time (ISO 8601)
  • createTime: Token creation timestamp (milliseconds)

address-balance

Get token balance list for an address.

Limitations:

  • Only supports platform-managed addresses and EOA wallet addresses
  • Does not support external addresses or smart contract wallets
  • Response does not contain symbol or balance_usd

Request:

json
{
    "address": "0x4396e479fe8270487f301b7c5cc92e8cd59ef91a",
    "chainId": 2002,
    "pageIndex": 0,
    "pageSize": 100
}
ParameterTypeRequiredDescription
addressstringYesWallet address
chainIdintegerYesPlatform internal chain ID (must iterate 2001-2004, 2007 for complete info)
pageIndexintegerNoPage number, starting from 0
pageSizeintegerNoPage size

address-recent

Get recent transactions for an address, grouped by date.

Limitations:

  • Only supports platform-managed addresses and EOA wallet addresses
  • Does not support external addresses or smart contract wallets

Request:

json
{
    "addressChainPairs": [
        {
            "address": "2h4hhjuWxEo4uyzGAxzWvpdSotAozchjpfyefvVWvi8R",
            "tokenAddress": null,
            "chainId": "2001"
        }
    ],
    "tradeType": 0,
    "limit": "50"
}
ParameterTypeRequiredDescription
addressChainPairsarrayYesArray of address-chain pairs to query
addressChainPairs[].addressstringYesWallet address
addressChainPairs[].tokenAddressstring | nullNoToken contract address filter. Pass null to query all tokens under the address (filtered by chainId). Pass a specific token address to filter for that token only.
addressChainPairs[].chainIdstringYesPlatform internal chain ID (as string, e.g., "2001")
tradeTypeintegerNoTrade type filter: 0=all, 1=send, 2=receive, 3=trade
limitstringNoMax transactions per date group (e.g., "50")

Important Notes:

  • When tokenAddress is null, the API returns transactions for all tokens associated with the address on the specified chain.
  • The API returns up to the most recent 6 months of data by default. There is no parameter to specify a custom date range.
  • chainId is required for each address-chain pair. If the user does not specify a chain, the agent must enumerate all supported chains (2001–2004, 2007) and query each one separately.

Response — Top-level:

Array of date groups, each containing:

FieldDescription
dateDate string (YYYY-MM-DD)
transactionListArray of transactions for this date

Response — Transaction Fields (transactionList[]):

FieldDescription
blockNumberBlock number
chainIdPlatform internal chain ID
txHashTransaction hash
transactionType"send", "receive", or "trade"
txTimeTransaction timestamp (milliseconds)
fromArray of sender entries
toArray of receiver entries
txStatus"success" or "fail"
txFeeTransaction fee
txFeeUsdTransaction fee (USD)
amountUsdTransaction amount (USD)
confirmBlockNumberConfirmation block number
orderIdOrder ID

Response — Address Entry Fields (from[] / to[]):

FieldDescription
addressWallet address
amountToken amount
amountUsdAmount (USD)
assetToken asset object (null if not applicable)

Response — Asset Fields (asset):

FieldDescription
symbolToken symbol
tokenAddressToken contract address
tokenIconToken icon URL
chainIconChain icon URL

swap-quote

Get token Swap price quote. Quote only, does not execute transaction.

Prerequisite: Get tokenId, contract, tokenDecimal, and chainId for both tokens from the token resolution workflow.

Request:

json
{
    "tokenInAddress": "",
    "tokenOutAddress": "0x55d398326f99059ff775485246999027b3197955",
    "tokenInId": "2002",
    "tokenOutId": "1169983",
    "amountIn": 1,
    "tokenInDecimals": 18,
    "tokenOutDecimals": 18,
    "slippage": 0.1,
    "fromChainId": 2002,
    "toChainId": 2002
}
ParameterTypeRequiredDescription
tokenInAddressstringYesSource token contract address (see native token address handling rules)
tokenOutAddressstringYesTarget token contract address
tokenInIdstringYesSource token platform internal ID
tokenOutIdstringYesTarget token platform internal ID
amountInnumberYesSwap amount (defaults to 100 if not specified by user)
tokenInDecimalsintegerYesSource token decimal places
tokenOutDecimalsintegerYesTarget token decimal places
slippagenumberYesSlippage tolerance (e.g., 0.1 = 10%)
fromChainIdintegerYesSource chain platform internal chain ID
toChainIdintegerYesTarget chain platform internal chain ID (must be same as fromChainId)

Response Key Fields:

  • amountIn: Input amount
  • amountOut: Expected output amount
  • tokenInPrice: Source token price (USD)
  • tokenOutPrice: Target token price (USD)
  • fee: Transaction fee

Note: If the swap-quote API returns an error, the possible reasons are: (1) the token pair or chain is not supported / no liquidity found, or (2) the API is rate-limited. In case of rate limiting, recommend the user to try again after 5 minutes.


batch-price

Batch query token prices.

Note:

  • tokenIds accepts two types of identifiers:
    • Native tokens: use the chainId value as the identifier (e.g., 2001 for SOL, 2002 for BNB, 2003 for ETH). This is a special convention — chainId doubles as tokenId for native tokens.
    • Contract tokens: use the platform-internal tokenId obtained from token-search (e.g., "224987722" for a specific token).
  • Do not confuse chainId (chain identifier) with tokenId (token identifier) — they happen to share the same value only for native tokens.

Request:

json
{
    "tokenIds": [2001, 2002, 2003, 2004, 2007],
    "latestOnly": true
}
ParameterTypeRequiredDescription
tokenIdsarrayYesArray of token identifiers. For native tokens, use the chainId as tokenId (e.g., 2001=SOL, 2002=BNB, 2003=ETH). For contract tokens, use the platform tokenId from token-search.
latestOnlybooleanNoWhether to return only latest price, default true

Response Key Fields:

  • tokenId: Platform internal chain ID
  • chainId: Platform internal chain ID
  • baseToken: Base token symbol
  • quoteToken: Quote token (USD)
  • price: Price (USD)
  • priceUsd: Price (USD)
  • generateTime: Price generation time

Supported Tokens:

tokenIdchainIdToken SymbolToken Name
20012001SOLSolana
20022002BNBBNB
20032003ETHEthereum
20042004ARBArbitrum
20072007BASEBase

chain-detail

Query chain details by platform internal chain ID.

Request:

json
{
    "chainId": 2001
}
ParameterTypeRequiredDescription
chainIdintegerYesPlatform internal chain ID

Response Contains Fields:

FieldDescription
chainIdPlatform internal chain ID
networkChainIdIndustry standard blockchain network chain ID (e.g., 501=Solana, 56=BSC, 1=Ethereum)
chainSeriesChain series (e.g., SVM, EVM)
chainNameFull chain name
shortNameChain short name (e.g., SOL)
exploreUrlBlock explorer URL
txUrlTransaction explorer URL
addressUrlAddress explorer URL
depositConfirmationsRequired deposit confirmations
withdrawConfirmationsRequired withdrawal confirmations
statusChain status

kline

Get token historical K-line data. Only supports Solana chain tokens.

Request:

json
{
    "interval": "5m",
    "tokenAddress": "Cz5YvHHpU1e3dqDQJHVdjVi7VSqvhu21A1GvxcTHMpLM",
    "startTime": "1773307582",
    "endTime": "1773393982"
}
ParameterTypeRequiredDescription
intervalstringYesCandlestick period: 1m, 5m, 15m, 30m, 1h, 2h, 4h, 1d
tokenAddressstringYesToken contract address
startTimestringYesStart timestamp (seconds)
endTimestringYesEnd timestamp (seconds)

hot-ranking / xstock-ranking

Get hot token / US stock mapped token ranking.

Request:

json
{
    "queryFields": [],
    "timezone": "5"
}
ParameterTypeRequiredDescription
queryFieldsarrayNoQuery field filter
timezonestringYesTime window: 1=1min, 2=5min, 3=1hour, 4=4hours, 5=24hours

Response (each token in data.list[]):

FieldDescription
tokenIdPlatform internal token ID
tokenSymbolToken symbol
tokenNameToken name
tokenAddressToken contract address
tokenIconUrlToken icon URL
chainIdPlatform internal chain ID
priceCurrent price (USD)
priceChangePrice change rate
priceChange24h24-hour price change rate
marketcapMarket cap
volumeTrading volume
liquidityLiquidity
holdersNumber of holder addresses
buyBuy count
sellSell count
rankRank position
createAtToken creation time
checkAudit/check status
sourceData source
pricesHistorical price points array

Note: The hot-ranking and xstock-ranking endpoints may ignore the pageSize parameter in the request and return all available results. Do not rely on pageSize to limit the response — always handle variable-length result arrays.


smart-money-rank

Get smart money 7-day P&L ranking.

All parameters are optional. If omitted, returns default ranking.

Request:

json
{
    "current": 1,
    "size": 20,
    "orderBy": "profit7d",
    "order": "desc",
    "filters": {
        "profitMin": 5,
        "profitMax": 50,
        "profitRateMin": 5,
        "profitRateMax": 50,
        "winRateMin": 50,
        "winRateMax": 100,
        "tradeCountMin": 10,
        "tradeCountMax": 200,
        "totalTradeAmountMin": 1000,
        "totalTradeAmountMax": 100000
    }
}
ParameterTypeRequiredDescription
currentintegerNoPage number, default 1
sizeintegerNoPage size, max 100
orderBystringNoSort field: profit7d, winRate7d, profitRate7d, tradeCount, totalTradeAmount, lastTradeTime
orderstringNoSort direction: desc / asc
filters.profitMinnumberNoMinimum 7-day profit amount
filters.profitMaxnumberNoMaximum 7-day profit amount
filters.profitRateMinnumberNoMinimum 7-day profit rate (%)
filters.profitRateMaxnumberNoMaximum 7-day profit rate (%)
filters.winRateMinnumberNoMinimum 7-day win rate (%)
filters.winRateMaxnumberNoMaximum 7-day win rate (%)
filters.tradeCountMinintegerNoMinimum trade count
filters.tradeCountMaxintegerNoMaximum trade count
filters.totalTradeAmountMinnumberNoMinimum total trade amount (USD)
filters.totalTradeAmountMaxnumberNoMaximum total trade amount (USD)

Response (each address in data.records[]):

FieldDescription
walletAddressSmart money wallet address
rankRank position
profit7d7-day profit amount
profitRate7d7-day profit rate (%)
winRate7d7-day win rate (%)
tradeCountTotal trade count
buyCountBuy count
sellCountSell count
totalTradeAmountTotal trade amount (USD)
avgBuyAmountAverage buy amount
lastTradeTimeLast trade timestamp
latestTradeTokenLatest trade token address
latestTradeTokenNameLatest trade token name
profitTrend7d7-day profit trend array (dailyProfit, dailyProfitRate per day)
bestProfitTokenBest profit token array (address, name, profitRate, profit)
chainIdPlatform internal chain ID
followWhether current user follows this address
walletRemarkWallet remark/tag
updateTimeLast update time
createTimeRecord creation time
notifyWhether notifications are enabled

smart-money-info

Get smart money address analysis, holdings, and transaction history.

Limitation: walletAddress must be provided by the user.

Request:

json
{
    "walletAddress": "As7HjL7dzzvbRbaD3WCun47robib2kmAKRXMvjHkSMB5"
}
ParameterTypeRequiredDescription
walletAddressstringYesSmart money wallet address (must be provided by user)

Response — Top-level Fields:

FieldDescription
walletAddressWallet address
walletBalanceTotal wallet balance (USD)
walletSolBalanceSOL balance
followWhether current user follows this address
walletRemarkWallet remark/tag
marketDistributionMarket distribution data

Response — Address Analysis Fields (profitInfo):

FieldDescription
profitInfo.profit7d7-day profit
profitInfo.profitRate7d7-day profit rate
profitInfo.winRate7d7-day win rate
profitInfo.tradeInfoTrade info summary
profitInfo.topProfitTop profit details
profitInfo.profitRateDistributionProfit rate distribution
profitInfo.profitTrend7d7-day profit trend array

Response — Holdings Fields (proportion[]):

FieldDescription
tokenAddressToken contract address
tokenNameToken name
tokenIconToken icon URL
tokenIdPlatform internal token ID
chainIdPlatform internal chain ID
quantityHolding quantity
balanceHolding value (USD)
priceCurrent price
holdingPercentageHolding percentage
priceChangeRatePrice change rate

Response — Transaction History Fields (tradeHistory[]):

FieldDescription
tokenAddressToken contract address
tokenSymbolToken symbol
tokenIconToken icon
tokenIdPlatform internal token ID
chainIdPlatform internal chain ID
tradeDirectionBUY or SELL
tradeTimeTrade timestamp
quantityTrade quantity
totalUSDTrade amount (USD)
priceExecution price
txHashTransaction hash
profitTrade profit

About Tokens with Same Name

When the user-specified token is ambiguous and there are multiple tokens with exactly matching names, you must ask the user to confirm which token. Clearly state each token's chain name and token type.


Error Handling

Response Format

All endpoints return the same response structure:

json
{
  "success": false,
  "code": "error_code",
  "message": "Human-readable error description",
  "data": null
}

When success is false, check the code and message fields for details.

Common Error Scenarios

ScenarioTypical ResponseAction
Invalid/missing parametersuccess: false with descriptive messageCheck required fields and types
Token not foundEmpty data or data: nullVerify tokenId/address via token-search first
Chain not supportedError in messageCheck supported chains (2001-2004, 2007)
Rate limited (>15 req/s)HTTP 429 or error responseBack off, wait 5 seconds, retry (max 3 times)
Cloudflare interceptionHTTP 403/503 with HTML body (not JSON)This is a Cloudflare WAF block, not an API error. Do not parse as JSON. Check IP reputation (VPN/cloud IPs may be challenged). Wait 30-60 seconds and retry. Do not auto-retry more than 3 times.
Server errorHTTP 500+Retry once after 2 seconds; if persistent, inform user

Cloudflare Handling

BitMart API is behind Cloudflare CDN. If you receive HTTP 403/503 and the response body contains "Cloudflare", "cf-", or an HTML challenge page (instead of JSON):

  1. This is a Cloudflare interception, not a BitMart API error — do not parse as JSON
  2. Check if too many requests were sent in a short window
  3. Wait 30-60 seconds before retrying
  4. Do not auto-retry more than 3 times
  5. If persistent, suggest the user check their network environment (VPN, proxy, cloud IP)

Important — Cloudflare Error 1010 (Non-curl clients):

Cloudflare may block requests from HTTP libraries that use default "bot-like" User-Agent strings (e.g., Python-urllib/3.x, Go-http-client/1.1, Java/...). The symptom is HTTP 403 with error code 1010.

This does not affect curl (which sends a recognized User-Agent by default), but will affect:

  • Python urllib / urllib3 without custom User-Agent
  • Go net/http default client
  • Any HTTP library that sends a generic or empty User-Agent

Solution: Always include the User-Agent header in every request (e.g., bitmart-skills/wallet/v2026.3.23). Ensure your HTTP client actually sends this header and does not override it with a default value.

python
# Python requests — correct
import requests
r = requests.post(url, json=body, headers={"User-Agent": "bitmart-skills/wallet/v2026.3.23"})

# Python urllib — correct
import urllib.request
req = urllib.request.Request(url, data=json.dumps(body).encode(),
    headers={"Content-Type": "application/json", "User-Agent": "bitmart-skills/wallet/v2026.3.23"})
resp = urllib.request.urlopen(req)

curl Examples

Public endpoint (token-search)

bash
curl -s -X POST 'https://api-cloud.bitmart.com/web3/chain-web3-base-data-maintainer/v1/token/search' \
  -H "Content-Type: application/json" \
  -H "User-Agent: bitmart-skills/wallet/v2026.3.23" \
  -d '{"keyword":"TRUMP","chainId":2001}'

Public endpoint (batch-price — native tokens)

bash
curl -s -X POST 'https://api-cloud.bitmart.com/web3/chain-web3-price/api/v1/token/price/batch' \
  -H "Content-Type: application/json" \
  -H "User-Agent: bitmart-skills/wallet/v2026.3.23" \
  -d '{"tokenIds":[2001,2002,2003],"latestOnly":true}'

Public endpoint (address-balance)

bash
curl -s -X POST 'https://api-cloud.bitmart.com/web3/chain-web3-assetmanager/v1/eoa/balance/list' \
  -H "Content-Type: application/json" \
  -H "User-Agent: bitmart-skills/wallet/v2026.3.23" \
  -d '{"address":"0x4396e479fe8270487f301b7c5cc92e8cd59ef91a","chainId":2002,"pageIndex":0,"pageSize":100}'

Public endpoint (swap-quote)

bash
curl -s -X POST 'https://api-cloud.bitmart.com/web3/chain-web3-price/api/v1/token/price/swap-quote' \
  -H "Content-Type: application/json" \
  -H "User-Agent: bitmart-skills/wallet/v2026.3.23" \
  -d '{"tokenInAddress":"","tokenOutAddress":"0x55d398326f99059ff775485246999027b3197955","tokenInId":"2002","tokenOutId":"1169983","amountIn":1,"tokenInDecimals":18,"tokenOutDecimals":18,"slippage":0.1,"fromChainId":2002,"toChainId":2002}'

Other Rules

  • Token Price Query: Query hot-ranking and batch-price endpoints sequentially. Use the first result that returns an exact match (symbol or name,chainId(if valid),tokenId(if valid) matches exactly). If neither returns an exact match, inform the user that the token price is not currently available.
  • Must verify chainId matches before calling swap-quote
  • If user does not specify swap amount, default amountIn = 100
  • K-line data only supports Solana tokens
  • Response data only includes platform-managed tokens and addresses

Câu hỏi thường gặp

Kỹ năng AI Bitmart Wallet Ai làm được gì?

Các kỹ năng Ví Web3 của BitMart (12 endpoint): Tìm kiếm token, Chi tiết chuỗi, Thông tin token, Biểu đồ K-Line, Xếp hạng token thịnh hành, Xếp hạng xStock, Xếp hạng lãi/lỗ của Smart Money, Phân tích địa chỉ/Nắm giữ/Lịch sử giao dịch của Smart Money, Số dư địa chỉ, Giao dịch gần đây của địa chỉ, Báo giá hoán đổi, Giá hàng loạt. Tất cả API đều không yêu cầu API Key. Dùng khi người dùng hỏi về giá token, dữ liệu thị trường, theo dõi Smart Money, truy vấn tài sản, giao dịch gần đây hoặc báo giá hoán đổi token.

Vì sao nên dùng Bitmart Wallet Ai trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Bitmart Wallet Ai là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Bitmart Wallet Ai trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/bitmartexchange/bitmart-skills/tree/master/skills/bitmart-wallet-ai. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Bitmart Wallet Ai?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Bitmart Wallet Ai với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Bitmart Wallet Ai với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Bitmart Wallet Ai có miễn phí không?

Kỹ năng này được bitmartexchange phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇