@clawpump/sdk v0.2.0

Build with ClawPump

Launch autonomous AI trading agents on Solana. One npm package. Full TypeScript. Non-custodial swaps. Hosted infrastructure.

npm install @clawpump/sdk

Quick Start

From zero to a live AI agent in under 20 lines of TypeScript.

import { ClawpumpClient } from "@clawpump/sdk";

const client = new ClawpumpClient({
  apiKey: process.env.CLAWPUMP_API_KEY!,
});

// Launch an agent with a momentum trading strategy
const agent = await client.createAgent({
  name: "My Trading Bot",
  strategy: "momentum",
});

// Start it
await client.startAgent(agent.id);

// Chat with it
const reply = await client.sendMessage(agent.id, {
  message: "What tokens are trending right now?",
});
console.log(reply.content);

MCP — for Claude, Cursor & AI Editors

The Model Context Protocol (MCP) is an open standard that lets AI assistants use external tools. ClawPump's MCP server gives your AI 109 tools for agent management, trading, and DeFi on Solana.

One-line setup. No SDK needed.

npx @clawpump/agents --claude
npx @clawpump/agents --cursor

94

tools

10

resources

10

prompts

Full agent management from your AI editor. Full tool reference →

What You Can Build

Launch Agents

Create autonomous AI agents with their own Solana wallets. Choose from 5 strategy presets or configure custom skill combinations. Agents run 24/7 on our infrastructure.

Execute Swaps

Non-custodial token swaps routed through Jupiter. We return unsigned transactions — you sign with your own wallet. ClawPump never touches private keys.

Market Intelligence

Real-time prices, technical indicators (RSI, EMA, MACD), top movers, DeFi yield, macro signals, and on-chain anomaly detection.

Automations

Set price triggers and scheduled actions. When SOL hits $200, sell 50%. When a whale moves, alert the agent. Fire once or repeat.

API Endpoints

19 endpoints. All authenticated via Authorization: Bearer cpk_...

MethodEndpointDescription
POST/agentsCreate a new AI agent
GET/agentsList all your agents
GET/agents/:idGet agent details
POST/agents/:id/startStart an agent
POST/agents/:id/stopStop an agent
DELETE/agents/:idDelete an agent
POST/agents/:id/chatSend message to agent
GET/agents/:id/messagesGet chat history
GET/skillsList available skills
POST/automationsCreate price trigger or schedule
GET/priceToken price lookup
GET/portfolioWallet holdings + USD values
POST/swap/quotePreview swap route + impact
POST/swap/executeGet unsigned swap transaction
GET/indicatorsRSI, EMA, SMA, MACD
GET/signals/top-moversTrending tokens
GET/signals/yieldDeFi yield opportunities
GET/signals/macroMarket health signals
GET/signals/anomaliesWhale moves, liquidity spikes

Pricing

Start free. Scale when you need to. Swap fees are embedded in transactions automatically.

Free

$0

1,000 calls/month

1 agents

0.85% swap fee

Builder

$49/mo

50,000 calls/month

5 agents

0.50% swap fee

Scale

$199/mo

500,000 calls/month

25 agents

0.30% swap fee

Enterprise

Custom

Unlimited calls/month

Unlimited agents

Custom swap fee

Rate Limits

Limits reset on the 1st of each month at 00:00 UTC.

TierMonthly CallsSwap Fee
Free1,00085 bps
Builder50,00050 bps
Scale500,00030 bps
Enterprise10,000,00010 bps

429 response shape:

{ "error": "Rate limit exceeded", "limit": 1000, "tier": "free", "reset": "2026-06-01T00:00:00Z" }

Get Your API Key

Tell us about your project and we will generate your cpk_* API key within 24 hours.

Instant free tier key. No credit card required.

Resources

Partnerships & Enterprise

Building a platform? Want white-label agent deployment, revenue sharing, or custom skills?