Quick Start

Connect Your Agent
in 60 Seconds

No KYC. No OAuth. One API key. Register in one POST call, deposit real USDC, and start trading live on Jupiter DEX.

1

Register Your Agent free

POST a name and get back an api_key. All agents operate with real funds — deposit USDC to start trading.

curl
curl -X POST https://agentbroker.polsia.app/api/v1/agents/register \
  -H "Content-Type: application/json" \
  -d '{"name": "my-trading-bot"}'
response
{
  "agent_id": "agt_abc123",
  "api_key":  "ab_live_sk_...",
  "balance": 0  // deposit USDC to trade
}
2

Verify Your Key auth

Check account balance and confirm your key works. Pass the key as X-API-Key header on all authenticated requests.

curl
curl https://agentbroker.polsia.app/api/v1/account \
  -H "X-API-Key: ab_live_sk_..."
response
{
  "agent_id":     "agt_abc123",
  "name":         "my-trading-bot",
  "balance_usdc": 0.00
}
3

Deposit USDC live only

Get your unique deposit wallet addresses and send real USDC on Solana or EVM chains to start trading.

curl
# Get your deposit wallet address
curl https://agentbroker.polsia.app/api/v1/deposit/address \
  -H "X-API-Key: ab_live_..."

# Check deposit status after sending
curl https://agentbroker.polsia.app/api/v1/deposit/status \
  -H "X-API-Key: ab_live_..."
Supported chains: Solana (SOL, USDC), Ethereum, Base. Deposits auto-detect and credit within 1–2 block confirmations.
4

Place a Trade auth

POST to /api/v1/orders. Supports market and limit orders across 8 pairs. Returns a fill confirmation instantly.

curl
# Market buy 0.001 BTC
curl -X POST https://agentbroker.polsia.app/api/v1/orders \
  -H "X-API-Key: ab_live_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "pair":     "BTC-USDC",
    "side":     "buy",
    "type":     "market",
    "quantity": 0.001
  }'
response
{
  "order_id":        "ord_xyz789",
  "status":          "filled",
  "pair":            "BTC-USDC",
  "side":            "buy",
  "filled_quantity": 0.001,
  "fill_price":      67420.50,
  "fee_usdc":        0.067,
  "balance_usdc":    9932.51
}
5

Withdraw live only

Send USDC profits to any Solana or EVM wallet. Withdrawals process in real-time.

curl
curl -X POST https://agentbroker.polsia.app/api/v1/withdraw \
  -H "X-API-Key: ab_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "amount_usdc": 500,
    "destination": "YOUR_WALLET_ADDRESS",
    "chain":       "solana"
  }'

Token Discovery — GET /v1/discover new

One endpoint, Photon-quality alpha. Aggregates pump.fun launches, DexScreener trending tokens, Jupiter prices, and optional Birdeye safety signals into a single ranked feed. Your agent gets the best opportunities first — no manual data stitching required.

Strategies: new_launches (pump.fun <1hr) · trending (DexScreener boosted) · high_volume (24h volume spikes) · safe_only (low-risk filter)
curl — discover new pump.fun launches
curl "https://agentbroker.polsia.app/v1/discover?strategy=new_launches&limit=5" \
  -H "X-API-Key: ab_live_sk_..."
response
{
  "tokens": [
    {
      "mint":                 "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
      "symbol":               "BONK",
      "name":                 "Bonk",
      "price_usd":            0.00000123,
      "volume_24h":           52400,
      "liquidity_usd":        28000,
      "market_cap":           108000,
      "age_minutes":          23,
      "price_change_24h_pct": 340.5,
      "safety":               null,
      "source":               "pump_fun",
      "discovered_at":        "2026-03-31T14:20:00.000Z"
    }
  ],
  "count": 5,
  "strategy": "new_launches",
  "data_sources": { "pump_fun": true, "dexscreener": true, "birdeye": false, "jupiter": true },
  "generated_at": "2026-03-31T14:22:01.000Z"
}
curl — trending with filters
curl "https://agentbroker.polsia.app/v1/discover?strategy=trending&min_liquidity=25000&limit=10" \
  -H "X-API-Key: ab_live_sk_..."
Tokens are ranked by a composite score: recency + volume momentum + liquidity adequacy + safety. Enrich the result with Birdeye safety (mint authority revoked, top holder concentration) by setting the BIRDEYE_API_KEY environment variable on your backend. Jupiter prices are automatically filled in for any token where DexScreener price is unavailable.

Python — No SDK Required

Just pip install requests. Copy, paste, trade.

python
import requests

BASE    = "https://agentbroker.polsia.app"
API_KEY = "ab_live_sk_..."  # from step 1

headers = {
    "X-API-Key":      API_KEY,
    "Content-Type":   "application/json",
}

# ── Prices (no auth needed) ──────────────────────────────────
prices = requests.get(f"{BASE}/api/v1/prices").json()
btc_price = prices["prices"]["BTC-USDC"]["price"]
print(f"BTC: ${btc_price:,.2f}")

# ── Account balance ──────────────────────────────────────────
account = requests.get(f"{BASE}/api/v1/account", headers=headers).json()
print(f"Balance: {account['balance_usdc']} USDC")

# ── Place a market buy ───────────────────────────────────────
order = requests.post(
    f"{BASE}/api/v1/orders",
    headers=headers,
    json={
        "pair":     "BTC-USDC",
        "side":     "buy",
        "type":     "market",
        "quantity": 0.001,
    },
).json()
print(f"Filled at ${order['fill_price']:,.2f} — order #{order['order_id']}")

# ── Fetch candles for analysis ───────────────────────────────
candles = requests.get(
    f"{BASE}/api/v1/candles",
    params={"pair": "BTC-USDC", "interval": "1h", "limit": 24},
).json()
closes = [c["close"] for c in candles["candles"]]
print(f"24h range: ${min(closes):,.2f} – ${max(closes):,.2f}")

MCP — Claude Desktop, Cursor, VS Code new

AgentBroker exposes 10 tools via Streamable HTTP MCP at https://agentbroker.polsia.app/mcp. Paste the config for your client below — no server to run.

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "agentbroker": {
      "transport": "streamable-http",
      "url":       "https://agentbroker.polsia.app/mcp"
    }
  }
}

Restart Claude Desktop after saving. Then ask: "Register me as an agent on AgentBroker and show me my deposit address."

.cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "agentbroker": {
      "transport": "streamable-http",
      "url":       "https://agentbroker.polsia.app/mcp"
    }
  }
}
.vscode/settings.json (or user settings)
{
  "github.copilot.chat.mcp.servers": {
    "agentbroker": {
      "transport": "streamable-http",
      "url":       "https://agentbroker.polsia.app/mcp"
    }
  }
}
9 tools available: register_agent, get_prices, get_candles, place_order, get_account, get_orders, cancel_order, get_deposit_address, withdraw. Discovery: /.well-known/mcp-server

CrewAI Integration

Drop-in tools for CrewAI agents. Four production tools with full input validation. Full source in integrations/crewai/ on GitHub.

bash
pip install crewai agentbroker
python
from integrations.crewai.tools import (
    AgentBrokerPriceTool,
    AgentBrokerCandlesTool,
    AgentBrokerTradeTool,
    AgentBrokerPortfolioTool,
)

# Public tools — no auth
price_tool   = AgentBrokerPriceTool()
candles_tool = AgentBrokerCandlesTool()

# Authenticated tools
trade_tool     = AgentBrokerTradeTool(api_key="ab_live_sk_...")
portfolio_tool = AgentBrokerPortfolioTool(api_key="ab_live_sk_...")

# Analyst + Trader crew — ready to run
from integrations.crewai.example_crew import build_trading_crew

crew = build_trading_crew(
    api_key="ab_live_sk_...",
    pairs=["BTC-USDC", "ETH-USDC", "SOL-USDC"],
    trade_budget_usdc=100,
    dry_run=True,  # set False to place real orders
)
result = crew.kickoff()
print(result)
The crew runs sequentially: Crypto Analyst (reads prices + candles, outputs recommendation) → Trader (checks portfolio, executes if signal is BUY/STRONG BUY). Set dry_run=False to go live.