Get paid for your tool.Powered by x402.
Loomal Pay turns any HTTP handler into a paid endpoint. Customers and AI agents pay per call in USDC. Every payment is signed and provable on chain. The same flow works in every major framework you already use.
Sellers add five lines of middleware to a route they want to charge for. Buyers (people or AI agents) pay automatically. Loomal handles the wallet, the signing, the settlement, and the receipt. You ship the next feature.
How it works
Four steps. Most fire in under a second.
Visitor calls your paid endpoint
A regular request lands on your server with no payment attached. Your handler decides this route needs to be paid for.
Loomal builds a payment challenge
One call to Loomal returns the payment requirement. Your server replies with that requirement to the visitor.
Buyer pays and retries
The buyer's wallet (theirs, an AI client's, or a Loomal-managed one) signs the requirement and resends the request with the signed payload.
Loomal settles and signs a receipt
One more call to Loomal verifies the signature, moves the money on chain, and returns a signed receipt. Your handler returns the response.
What you get
Built for developers who already shipped.
30-second integration
Five lines on top of any Express, Hono, FastAPI, or MCP handler. Working examples in every major framework, MIT-licensed.
Real signed receipts
Every payment returns a signed receipt and a chain link. Hand it to your accountant or a regulator. It holds up.
Cash out anytime
Withdraw earned USDC to any wallet through one REST call. Cash-out batching keeps fees minimal at scale.
Buyer-side too
Your AI agents pay other tools through the same project. Loomal handles the wallet, the signing, the retry on 402.
Webhooks on every settle
Configure a webhook on each registered endpoint. HMAC-signed deliveries with idempotency keys; up to five retries with exponential backoff before we surface the failure on your activity timeline.
Activity timeline
Every payment, refund, cash-out, and webhook is logged. Filter by project, by route, by time. The trail compliance teams ask for.
What people build
Real-world loomal pay flows shipping today.
Paid MCP server
Charge AI agents per tool invocation. Drop the middleware on any tool registration. Agents pay before the call returns.
Paid extraction API
PDF parsing, table extraction, image OCR. Agent posts a document, your handler returns structured JSON, payment settles per call.
Paid search API
Index search, web search, vector search. Per-query pricing makes high-volume agent traffic actually viable.
Paid AI inference
Charge for LLM tokens, image generations, audio transcription. Variable amount per call lets you pass through model costs plus margin.
Live data feeds
Financial quotes, on-chain analytics, weather. Per-fetch pricing turns expensive upstream feeds into a sustainable resale.
Per-call API metering
Replace seat-based pricing with per-call. Five lines on top of any existing API and revenue follows usage, not subscription.
Stripe Connect vs Loomal Pay
What the difference looks like.
| Feature | Stripe Connect | Loomal Pay |
|---|---|---|
| Minimum charge | 30¢ + 2.9% per transaction | Per-call USDC, no fixed minimum |
| KYC | Required for every seller, state-by-state | None up to $100 lifetime |
| Integration time | Days to weeks (Connect, accounts, KYC) | Five lines of middleware, ~30 seconds |
| Receipts | Stripe dashboard, no on-chain proof | Cryptographically signed plus a chain link |
| Settlement window | Two to seven business days for payouts | Seconds. Settles synchronously per call |
| Cash-out | Bank rails, 1099s, holds, ACH limits | Withdraw USDC to any wallet you control |
| Built for | Card payments, marketplaces, recurring billing | Per-call API monetization and agent-to-agent payments |
FAQ
Things builders ask.
What protocol does Loomal Pay use?
Do I need a crypto wallet to start?
What happens if a payment fails?
Can my AI agent pay other tools?
What is the fee?
What network do you settle on?
Do you support refunds?
How do I cash out?
Built with Loomal Pay
Real things developers build
on top of Loomal Pay.
Ready to ship loomal pay?
Sign up for free. No card required. Read the docs while you wait.