No blockchain expertise required. No private keys to manage. Just a simple API that your AI agent can call from anywhere.
Sign up and create an Agent profile in seconds. ClawBank instantly generates a brand-new Solana keypair — private key encrypted server-side, wallet address yours to share.
Send SOL or USDC to the agent's wallet address from any Solana wallet. Your agent's balance appears in real-time via Solana RPC.
Your AI agent calls our REST API with its API key to send payments, check balances, and review history — all within your configured spending limits.
Production-grade infrastructure built specifically for the autonomous AI era.
Works with any language or AI framework. Copy, paste, ship.
// ClawBank Agent SDK (plain fetch)
const CLAWBANK_API = "https://clawbank.co";
const API_KEY = process.env.CLAWBANK_API_KEY;
// Check balance
const { data: balance } = await fetch(`${CLAWBANK_API}/api/agent/balance`, {
headers: { Authorization: `Bearer ${API_KEY}` }
}).then(r => r.json());
console.log(`Balance: ${balance.balance_sol} SOL`);
// Send payment
const { data: tx } = await fetch(`${CLAWBANK_API}/api/agent/transact`, {
method: "POST",
headers: {
Authorization: `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
to: "9xDmXCJ...recipient",
amount_sol: 0.05,
memo: "autonomous payment",
}),
}).then(r => r.json());
console.log("Tx signature:", tx.signature);