Back to Skill Marketplace

Trading Automation

xxyy-trade

XXYY Trade provides on-chain token trading and market data across Solana, Ethereum, BSC, and Base via the XXYY Open API. It supports custodial buy/sell/swap execution (POST /api/trade/open/api/swap), trade status queries (GET /api/trade/open/api/trade), token queries, feed scans, wallet listing and

Updated today<1 min setup

Overview

XXYY Trade provides on-chain token trading and market data across Solana, Ethereum, BSC, and Base via the XXYY Open API.

XXYY Trade provides on-chain token trading and market data across Solana, Ethereum, BSC, and Base via the XXYY Open API. It supports custodial buy/sell/swap execution (POST /api/trade/open/api/swap), trade status queries (GET /api/trade/open/api/trade), token queries, feed scans, wallet listing and wallet info, and a health ping. Use it to execute trades programmatically without client-side signing, monitor trade and transaction status, perform automated chain scans and AI-driven token scans, power trading bots, or integrate token-safety and feed monitoring into applications. Requires an XXYY API key (Authorization: Bearer <key>) and optional custom API base URL. Core advantages are unified multi-chain coverage and server-side execution; critical security note: the API key grants custodial wallet access and must be protected.

Skill.md

How this skill works

XXYY Trade provides on-chain token trading and market data across Solana, Ethereum, BSC, and Base via the XXYY Open API. It supports custodial buy/sell/swap execution (POST /api/trade/open/api/swap), trade status queries (GET /api/trade/open/api/trade), token queries, feed scans, wallet listing and

SKILL.mdALPHIO / VERIFIED

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/apikey
  • XXYY_API_BASE_URL (optional) -- API base URL, defaults to https://www.xxyy.io

Authentication

All requests require header: Authorization: Bearer $XXYY_API_KEY

Security Notes

  • ⚠️ 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.

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

Buy Token

POST ${XXYY_API_BASE_URL:-https://www.xxyy.io}/api/trade/open/api/swap

{
  "chain": "sol",
  "walletAddress": "<user_wallet>",
  "tokenAddress": "<token_contract>",
  "isBuy": true,
  "amount": 0.1,
  "tip": 0.001,
  "slippage": 20
}

Buy Parameters

ParamRequiredTypeValid valuesDescription
chainYESstringsol / eth / bsc / baseOnly these 4 values accepted
walletAddressYESstringSOL: Base58 32-44 chars; EVM: 0x+40hexWallet address on XXYY platform, must match chain
tokenAddressYESstringValid contract addressToken contract address to buy
isBuyYESbooleantrueMust be true for buy
amountYESnumber> 0Amount in native currency (SOL/ETH/BNB)
tipYESnumberSOL: 0.001-0.1 (unit: SOL); EVM: 0.1-100 (unit: Gwei)Priority fee for all chains. If not provided, falls back to priorityFee
slippageNOnumber0-100Slippage tolerance %, default 20
modelNOnumber1 or 21=anti-sandwich (default), 2=fast mode
priorityFeeNOnumber>= 0Solana 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

{
  "chain": "sol",
  "walletAddress": "<user_wallet>",
  "tokenAddress": "<token_contract>",
  "isBuy": false,
  "amount": 50,
  "tip": 0.001
}

Sell Parameters

ParamRequiredTypeValid valuesDescription
chainYESstringsol / eth / bsc / baseOnly these 4 values accepted
walletAddressYESstringSOL: Base58 32-44 chars; EVM: 0x+40hexWallet address on XXYY platform, must match chain
tokenAddressYESstringValid contract addressToken contract address to sell
isBuyYESbooleanfalseMust be false for sell
amountYESnumber1-100Sell percentage. Example: 50 = sell 50% of holdings
tipYESnumberSOL: 0.001-0.1 (unit: SOL); EVM: 0.1-100 (unit: Gwei)Priority fee for all chains. If not provided, falls back to priorityFee
slippageNOnumber0-100Slippage tolerance %, default 20
modelNOnumber1 or 21=anti-sandwich (default), 2=fast mode
priorityFeeNOnumber>= 0Solana 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.001 - 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

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

ParamRequiredTypeValid valuesDescription
typeYESpath stringNEW / ALMOST / COMPLETEDNEW = newly launched, ALMOST = almost graduated, COMPLETED = graduated
chainNOquery stringsol / bscOnly these 2 chains supported. Default sol

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).

ParamTypeDescriptionExample
dexstring[]DEX platform filterSee DEX Values by Chain below
quoteTokensstring[]Quote token filterSee quoteTokens Values by Chain below
linkstring[]Social media link filter["x","tg","web"]
keywordsstring[]Token name/symbol keyword match["pepe","doge"]
ignoreWordsstring[]Ignore keywords["scam"]
mcstringMarket cap range (USD)"10000,500000"
liqstringLiquidity range (USD)"1000,"
volstringTrading volume range (USD)"5000,100000"
holderstringHolder count range"50,"
createTimestringCreation time range (minutes from now)"1,20"
tradeCountstringTrade count range"100,"
buyCountstringBuy count range"50,"
sellCountstringSell count range"10,"
devBuystringDev buy amount range (native token)"0.001,"
devSellstringDev sell amount range (native token)"0.001,"
devHpstringDev holding % range",60"
topHpstringTop10 holding % range",60"
insiderHpstringInsider holding % range",50"
bundleHpstringBundle holding % range",60"
newWalletHpstringNew wallet holding % range",30"
progressstringGraduation progress % range (NEW/ALMOST only)"1,90"
snipersstringSniper count range",5"
xnameCountstringTwitter rename count range",3"
tagHolderstringWatched wallet buy count range"1,2"
kolstringKOL buy count range"1,2"
dexPayintDexScreener paid, 1 = filter paid only1
oneLinkintAt least one social link, 1 = enabled1
liveintCurrently live streaming, 1 = filter live1

DEX Values by Chain

Best used for

When to use it

XXYY Trade provides on-chain token trading and market data across Solana, Ethereum, BSC, and Base via the XXYY Open API. It supports custodial buy/sell/swap execution (POST /api/trade/open/api/swap), trade status queries (GET /api/trade/open/api/trade), token queries, feed scans, wallet listing and

01 · PRE-MEETING

Prepare a decision brief

Turn scattered evidence into a structured case before an investment committee meeting.

02 · TEAM WORKFLOW

Standardize handoffs

Create consistent research outputs across analysts, portfolio managers, and agents.

03 · LIVE UPDATE

Refresh the thesis

Update scenarios after a new catalyst, KPI release, or earnings result.

Community notes

Built to improve with use.

Feedback will appear here as this skill is used and reviewed.

Leave feedback

Discover more

Related skills

View all
Empieza gratis