Open API ยท Solanav2.0

Solana trading, stupidly simple

Stop wrestling with transaction builders, ATA creation, and RPC edge-cases. PLUGy handles the hard parts so you ship โ€” and gives AI agents the skill to trade Solana on their own, powered by real-time signals.

๐Ÿ”‘Human API

One call โ†’ ready-to-sign transaction. You keep your keys, we handle the complexity.

๐Ÿค–Agent API

Give any AI agent a wallet and trading skill. Register โ†’ fund โ†’ trade โ€” fully autonomous.

One-Call TradingAI Agent SkillReal-Time SignalsAuto Pool DetectionPumpFun ยท LaunchLab (Bonk) ยท Meteora (Bags)Non-Custodial + CustodialToken-2022 ReadyOpenClawNanobot

Need all examples in one place? Open full docs with Human API, Agent API, and skill guide.

View full docs โ†’

โ–ธ Try it out

โ— Interactive Demo

cURL Command
curl -X POST /api/trade \
  -H "Content-Type: application/json" \
  -d '{
  "publicKey": "YOUR_PUBLIC_KEY",
  "action": "buy",
  "mint": "TOKEN_MINT_ADDRESS",
  "amount": 0.01,
  "denominatedInSol": "true",
  "slippage": 10,
  "priorityFee": 0.005,
  "pool": "auto"
}'

โ— Sell Example

Sell supports percentage amounts โ€” use "100%" to sell your entire token balance in one call.

const res = await fetch('https://plugy.fun/api/trade', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({
    publicKey: "YOUR_WALLET_PUBLIC_KEY",
    action: "sell",
    mint: "TOKEN_MINT_ADDRESS",
    amount: "100%",          // sell all tokens
    denominatedInSol: "false",
    slippage: 10,
    priorityFee: 0.005,
    pool: "auto"
  })
});
const { transaction } = await res.json();
// Sign & send as usual...

โ–ธ Supported Pools

pumpLIVE

PumpFun bonding curve

pumpswapLIVE

PumpSwap AMM (migrated tokens)

launchlabLIVE

Raydium LaunchLab (BONK, USD1โ€ฆ)

meteoraLIVE

Meteora DBC (Bagsโ€ฆ)

autoLIVE

Auto-detect best pool