jimmy-holiday/xxyy-trade-skill/xxyy-trade
Claude Code and agent skill by jimmy-holiday/xxyy-trade-skill
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "buy token", "sell token", "swap token", "trade crypto", "check trade status", "query transaction", "scan tokens", "feed", "monitor chain", "query token", "token details", "check token safety", "list wallets", "show wallets", "my wallets", "AI scan", "AI扫链", "auto scan", "smart scan", "tweet scan", "推文扫链", "twitter scan", "onboarding", "get started", "check IP", "get IP", "IP whitelist", "查IP", "IP白名单", "launch token", "create token", "发币", "创建代币", "auto sell", "stop loss", "take profit", "trailing stop", "止盈止损", "移动止损", "holders", "top holders", "kol holders", "insider", "持仓", "持仓列表", or mentions trading on Solana/ETH/BSC/Base chains via XXYY. Enables on-chain token trading and data queries through the XXYY Open API.
Install
npx vskill@latest install jimmy-holiday/xxyy-trade-skill/xxyy-tradeSKILL.md
XXYY Trade
On-chain token trading and data queries on Solana, Ethereum, BSC, and Base via XXYY Open API.
Prerequisites
Set environment variables before use:
XXYY_API_KEY(required) -- Your XXYY Open API Key (format:xxyy_ak_xxxx). Get one at https://www.xxyy.io/apikeyXXYY_API_BASE_URL(optional) -- API base URL, defaults tohttps://www.xxyy.io
Authentication
All requests require header: Authorization: Bearer $XXYY_API_KEY
Security Notes
⚠ READ BEFORE FIRST USE. This skill executes real on-chain trades with real funds. There is no read-only API key — the same key signs both data queries and trades. Treat yourXXYY_API_KEYlike a hot wallet private key. The skill will surface a one-time risk acknowledgement on your first trade each session; after that, only trade details are confirmed so trading stays fast.
- ⚠️ API Key = Wallet access -- Your XXYY API Key can execute real on-chain trades using your wallet balance. If it leaks, anyone can buy/sell tokens with your funds. Never share it, never commit it to version control, never expose it in logs or public channels. If you suspect a leak, regenerate the key immediately at https://xxyy.io.
- Custodial trading model -- XXYY is a custodial trading platform. You only provide your wallet address (public key) and API Key. No private keys or wallet signing are needed -- XXYY executes trades on your behalf through their platform.
- No read-only mode -- The same API Key is used for both data queries (Feed, Token Query) and trading (Buy, Sell). There is currently no separate read-only key.
- IP whitelist (recommended) -- For extra security, configure an IP whitelist for your API Key at https://www.xxyy.io/apikey. Only whitelisted IPs can call the API. Use the
get_iptool to check your current outbound IP before setting up the whitelist.
API Reference
STRICT: Only the endpoints listed below exist. Do NOT guess, infer, or construct any URL that is not explicitly documented here. If you need functionality not covered below, tell the user it is not supported.Complete endpoint list:-POST /api/trade/open/api/swap— Buy / Sell-GET /api/trade/open/api/trade— Query Trade-GET /api/trade/open/api/ping— Ping-POST /api/trade/open/api/feed/{type}— Feed Scan-GET /api/trade/open/api/query— Token Query-GET /api/trade/open/api/wallets— List Wallets-GET /api/trade/open/api/wallet/info— Wallet Info-GET /api/trade/open/api/pnl— PNL Query-GET /api/trade/open/api/trades— Trade History-GET /api/trade/open/api/ip— Get IP (exempt from IP whitelist)-GET /api/trade/open/api/kol-buy-list— KOL Buy List-GET /api/trade/open/api/tag-holder-buy-list— Tag Holder Buy List-GET /api/trade/open/api/label-list— Label List (tokens with specific labels)-POST /api/trade/open/api/signal-list— Signal List (AI trending signals)-POST /api/trade/open/api/trending-list— Trending List (hot tokens by period, SOL/BSC)-POST /api/trade/open/api/{chain}/launch— Launch Token (create new token)-POST /api/trade/open/api/autoSell/createOrUpdate— Create/Update Auto-Sell Rules-GET /api/trade/open/api/autoSell/list— List Auto-Sell Rules-GET /api/trade/open/api/autoSell/delete— Delete Auto-Sell Rules-GET /api/trade/open/api/autoSell/open— Toggle Auto-Sell-GET /api/trade/open/api/holders/{type}— Token Holder List
Buy Token
POST ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/swap
Buy Parameters
| Param | Required | Type | Valid values | Description | |
|---|---|---|---|---|---|
chain | YES | string | sol / eth / bsc / base | Only these 4 values accepted | |
walletAddress | YES | string | SOL: Base58 32-44 chars; EVM: 0x+40hex | Wallet address on XXYY platform, must match chain | |
tokenAddress | YES | string | Valid contract address | Token contract address to buy | |
isBuy | YES | boolean | true | Must be true for buy | |
amount | YES | number | > 0 | Amount in native currency (SOL/ETH/BNB) | |
tip | YES | number | SOL: 0.0001-0.1 (unit: SOL); EVM: 0.1-100 (unit: Gwei) | Priority fee for all chains. If not provided, falls back to priorityFee | |
slippage | NO | number | 0-100 | Slippage tolerance %, default 20 | |
model | NO | number | 1 or 2 | 1=anti-sandwich (default), 2=fast mode | |
priorityFee | NO | number | >= 0 | Solana chain only. Extra priority fee in addition to tip |
Sell Token
POST ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/swap
Sell Parameters
| Param | Required | Type | Valid values | Description | |
|---|---|---|---|---|---|
chain | YES | string | sol / eth / bsc / base | Only these 4 values accepted | |
walletAddress | YES | string | SOL: Base58 32-44 chars; EVM: 0x+40hex | Wallet address on XXYY platform, must match chain | |
tokenAddress | YES | string | Valid contract address | Token contract address to sell | |
isBuy | YES | boolean | false | Must be false for sell | |
amount | YES | number | 1-100 | Sell percentage. Example: 50 = sell 50% of holdings | |
tip | YES | number | SOL: 0.0001-0.1 (unit: SOL); EVM: 0.1-100 (unit: Gwei) | Priority fee for all chains. If not provided, falls back to priorityFee | |
slippage | NO | number | 0-100 | Slippage tolerance %, default 20 | |
model | NO | number | 1 or 2 | 1=anti-sandwich (default), 2=fast mode | |
priorityFee | NO | number | >= 0 | Solana chain only. Extra priority fee in addition to tip |
tip / priorityFee Rules
tip(required) -- Universal priority fee for ALL chains. EVM chains (eth/bsc/base) use tip as the priority fee. If tip is not provided, the API falls back to priorityFee.- SOL chain: unit is SOL (1 = 1 SOL, very expensive). Recommended range: 0.0001 - 0.1
- EVM chains (eth/bsc/base): unit is Gwei. Recommended range: 0.1 - 100
priorityFee(optional) -- Only effective on Solana chain. Solana supports both tip and priorityFee simultaneously.
Query Trade
GET ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/trade?txId=<tx_id>
Response fields: txId, status (pending/success/failed), statusDesc, chain, tokenAddress, walletAddress, isBuy, baseAmount, quoteAmount
Trade History
GET ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/trades?walletAddress=<wallet>&chain=<chain>
Paginated query of successful trade records for a specific wallet. Only returns completed transactions, sorted by creation time (newest first).
Trade History Parameters
| Param | Required | Type | Valid values | Description | |
|---|---|---|---|---|---|
walletAddress | YES | string | Wallet address | Must belong to current API Key user | |
chain | YES | string | sol / eth / bsc / base | Chain identifier (required) | |
tokenAddress | NO | string | Contract address | Filter by specific token | |
pageNum | NO | int | >= 1 | Page number, default 1 | |
pageSize | NO | int | 1-20 | Items per page, default 20 |
Trade History Response
Response fields: txId, status (fixed 2=success), statusDesc, chain, tokenAddress, walletAddress, isBuy (1=buy, 0=sell), baseAmount, quoteAmount, createTime, updateTime
Ping
GET ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/ping
Returns "pong" if API key is valid.
Feed (Scan Tokens)
POST ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/feed/{type}?chain={chain}
Retrieve Meme token lists: newly launched, almost graduated, or graduated.
Path & Query Parameters
| Param | Required | Type | Valid values | Description | |
|---|---|---|---|---|---|
type | YES | path string | NEW / ALMOST / COMPLETED | NEW = newly launched, ALMOST = almost graduated, COMPLETED = graduated | |
chain | NO | query string | sol / eth / bsc / base | Default sol. All 4 chains supported |
Body (Filter Parameters)
All filters are optional. Range parameters use comma-separated string format "min,max". Leave one side empty to set only min or max (e.g. "100," = min 100, ",50" = max 50).
| Param | Type | Description | Example | |
|---|---|---|---|---|
dex | string[] | DEX platform filter | See DEX Values by Chain below | |
quoteTokens | string[] | Quote token filter | See quoteTokens Values by Chain below | |
link | string[] | Social media link filter | ["x","tg","web"] | |
keywords | string[] | Token name/symbol keyword match | ["pepe","doge"] | |
ignoreWords | string[] | Ignore keywords | ["scam"] | |
mc | string | Market cap range (USD) | "10000,500000" | |
liq | string | Liquidity range (USD) | "1000," | |
vol | string | Trading volume range (USD) | "5000,100000" | |
holder | string | Holder count range | "50," | |
createTime | string | Creation time range (minutes from now) | "1,20" | |
tradeCount | string | Trade count range | "100," | |
buyCount | string | Buy count range | "50," | |
sellCount | string | Sell count range | "10," | |
devBuy | string | Dev buy amount range (native token) | "0.001," | |
devSell | string | Dev sell amount range (native token) | "0.001," | |
devHp | string | Dev holding % range | ",60" | |
topHp | string | Top10 holding % range | ",60" | |
insiderHp | string | Insider holding % range | ",50" | |
bundleHp | string | Bundle holding % range | ",60" | |
newWalletHp | string | New wallet holding % range | ",30" | |
progress | string | Graduation progress % range (NEW/ALMOST only) | "1,90" | |
snipers | string | Sniper count range | ",5" | |
xnameCount | string | Twitter rename count range | ",3" | |
tagHolder | string | Watched wallet buy count range | "1,2" | |
kol | string | KOL buy count range | "1,2" | |
dexPay | int | DexScreener paid, 1 = filter paid only | 1 | |
oneLink | int | At least one social link, 1 = enabled | 1 | |
live | int | Currently live streaming, 1 = filter live | 1 |
DEX Values by Chain
- SOL:
pump,pumpmayhem,bonk,heaven,believe,daosfun,launchlab,mdbc,jupstudio,mdbcbags,trends,moonshotn,boop,moon,time - BSC:
four,four_agent,bnonly,flap
quoteTokens Values by Chain
- SOL:
sol,usdc,usd1 - BSC:
bnb,usdt,usdc,usd1,aster,u
Feed Response
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/xxyy-trade/SKILL.md
Popularity
- Repository stars
- 25
- 7-day trend score
- 16
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jimmy-holiday/xxyy-trade-skill/xxyy-trade)