Pay-per-use API gateway for AI agents. Inference, Twitter data, and web crawling - no API keys, no subscriptions. Pay per request with USDC via the x402 protocol.
Live at surf.cascade.fyi
| Service | Domain | Price | Networks |
|---|---|---|---|
| Inference - LLM chat completions (Kimi K2.5, MiniMax M2.5) | inference.surf.cascade.fyi |
$0.002-0.003 | Solana |
| Twitter - Search tweets, fetch users and tweets | twitter.surf.cascade.fyi |
$0.003 | Solana, Base |
| Web - Crawl pages, search via Exa | web.surf.cascade.fyi |
$0.005-0.01 | Solana, Base |
npm install @x402/fetchimport { wrapFetch } from "@x402/fetch";
const x402Fetch = wrapFetch(fetch, walletClient);
const res = await x402Fetch(
"https://inference.surf.cascade.fyi/v1/chat/completions",
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
model: "moonshotai/kimi-k2.5",
messages: [{ role: "user", content: "Hello!" }],
}),
},
);
const data = await res.json();Surf ships Claude Code skills that teach the agent how to call each API:
npx skills add cascade-protocol/surf -gInstalls three skills: surf-inference, surf-twitter, surf-web.
pnpm install
pnpm dev # Start dev server
pnpm check # Type-check + lint