I've been building Spraay — a multi-chain payment gateway where AI agents pay per API call using the x402 protocol and USDC on Base. 88 endpoints across AI inference, batch payments, DeFi, oracle data, escrow, robotics, and more.
The x402 model works great for crypto-native developers and autonomous agents. But I kept hearing the same thing from traditional devs:
"This looks useful, but I don't want to set up a wallet and buy USDC just to test your API."
Fair point. So today I'm launching a traditional subscription tier alongside x402 — pay with a credit card, get an API key, start building.
Two Ways to Use Spraay
Pay-per-call (x402) — No signup. Your agent pays USDC per request on Base. This is how autonomous agents use it. Prices range from $0.001 to $0.10 per call depending on the endpoint.
Monthly subscription (Stripe) — Sign up with your email, pay with a card, get an API key emailed to you. Add X-API-Key to your requests and you're in.
| Plan | Price | Daily Calls | Endpoints |
|---|---|---|---|
| Pay-per-call | USDC per request | Unlimited | All 80+ |
| Starter | $29/month | 1,000/day | All 80+ |
| Pro | $99/month | 10,000/day | All 80+ |
Both paths hit the same endpoints. Same data, same infrastructure, same uptime.
What You Get Access To
Here's a sample of what's behind the gateway:
- AI Inference — 200+ models via OpenRouter + 43 models on Bittensor (OpenAI-compatible drop-in)
- Batch Payments — Send tokens to 200 recipients in one transaction across 15 chains
- DeFi — Swap quotes and execution via Uniswap V3, cross-chain bridge quotes
- Oracle — Real-time token prices, gas prices, FX rates
- Search/RAG — Web search, content extraction, Q&A with sources
- GPU Compute — Image generation, video, audio via Replicate
- Agent Wallets — Provision ERC-4337 smart wallets for AI agents
- Escrow — Milestone-based conditional escrow contracts
- Robot Task Protocol — Dispatch tasks to physical robots via x402
- Plus: Payroll, invoicing, KYC, audit trails, XMTP messaging, IPFS storage, cron scheduling, and more Full docs at docs.spraay.app.
How Subscriptions Work
- Pick a plan at spraay.app/pricing
- Enter your email → redirected to Stripe Checkout
- Pay → API key emailed to you instantly
- Add
X-API-Key: spry_your_keyheader to any request - That's it — no 402 payment flow, no wallet, no USDC Check your usage anytime:
curl -H "X-API-Key: spry_your_key" https://gateway.spraay.app/v1/auth/usage
Rotate your key if compromised:
curl -X POST -H "X-API-Key: spry_your_key" https://gateway.spraay.app/v1/auth/rotate
Manage billing through Stripe's customer portal — update card, change plans, cancel.
Why Both Models?
x402 is the future for agent-to-agent payments. An AI agent with a USDC balance can autonomously discover and pay for API calls without any human in the loop. That's powerful.
But not every developer is building autonomous agents. Some just want to hit an oracle endpoint for price data, or run a batch payment from their backend. For them, a traditional API key is the fastest path.
Spraay supports both — and the gateway doesn't care which one you use. If your request has an API key, it's validated and served. If it doesn't, the x402 payment flow kicks in. Same endpoints, same responses.
Built on Base
Everything runs on Base mainnet. The batch payment contract is verified at 0x1646452F98E36A3c9Cfc3eDD8868221E207B5eEC. Part of the Base Build program.
Recently merged into Google Agent Development Kit as an integration, and live on Smithery as an MCP server with 60+ tools.
Get Started
- Pricing & signup: spraay.app/#pricing
- Docs: docs.spraay.app
- Gateway: gateway.spraay.app
- GitHub: github.com/plagtech
- Twitter: @Spraay_app If you have questions, drop a comment or reach out on Twitter. Happy to walk through integration.
Top comments (0)