402 Payment Required
- Price
- 0.001 USDC
- Route
- GET /v1/forecast
- Pay to
- 0x7a3f…c91e
- Then
- retry with X-PAYMENT
Turn any API into a paid API.
Aegis is a drop-in edge gateway. Set a price per route in USD; AI agents pay in USDC over x402 and you get paid on every call.
Create your gatewayAPI monetization shouldn’t require a billing team.
You built the API. Now you need to charge for it.
Traditional monetization means accounts, API keys, invoices, rate limits and weeks of plumbing.
There should be a way to say “this endpoint costs $0.01” and start getting paid. That’s Aegis.
Live in three steps.
- 1
Connect your API
Enter your backend URL and paste your API key. Aegis encrypts and stores it.
https://api.weatherlab.devkey ••••••••3f9a
- 2
Set your price
Choose which routes cost money and how much. $0.001 per call, $0.50, whatever you want. Price in USD.
GET /v1/forecast$0.001
- 3
Point your domain
Add a CNAME record. Aegis provisions TLS and starts routing. Agents pay, you earn.
api.weatherlab.devCNAME → Aegis
Everything between the request and the payout.
Pay per request with x402
Aegis uses the x402 payment standard, the protocol Coinbase built for machine-to-machine payments. Agents pay per request in USDC. No buyer signup. No subscriptions. Just HTTP.
HTTP 402 · USDC
Multi-chain payments
Your API accepts payments on Base and Solana out of the box. Buyers pick their network. You set the price once in USD and Aegis handles the rest.
Base · Solana
Secure API key injection
Paste your upstream API key once. Aegis encrypts it with AES-256-GCM, stores it in an envelope-encrypted vault and injects it into upstream requests at the last possible moment. It never appears in logs, responses or error messages.
AES-256-GCM vault
Real-time dashboard
Watch paid calls land as they happen: requests, revenue per route and settlement status, updated live.
Live, per route
Your domain, your brand
Point api.yourdomain.com at Aegis. TLS certificates are automatic. Your customers call your domain and Aegis stays invisible.
CNAME · automatic TLS
Production-grade edge
Replay prevention, idempotency locks, black-hole credit protection and automatic 429 preemption. If your upstream fails after payment, buyers retry for free.
Replay-safe · idempotent
Built for anyone with an endpoint.
AI tool creators
Running an MCP server or tool API? Price each tool call individually. Agents discover your endpoint, pay and use it. No integration meeting required.
Data providers
Selling market data, web scrapes or real-time feeds? Micropayments remove the friction of enterprise contracts. Charge per call and let volume compound.
Independent developers
Side project with an API? Start earning from day one. No Stripe setup, no landing page, no billing code. Point, price and publish.
Not another API gateway.
- Buyer onboarding
- None. Agents pay per request
- Traditionally: Account creation, API keys, KYC
- Time to first revenue
- Minutes
- Traditionally: Weeks
- Payment method
- USDC on Base and Solana
- Traditionally: Credit cards, invoices
- Minimum viable price
- $0.0001 (micropayments)
- Traditionally: ~$0.50 (card fees)
- Blockchain code required
- None. Aegis handles it
- Traditionally: N/A
- Secret management
- Encrypted vault with injection
- Traditionally: DIY
| Feature | Traditional API monetization | Aegis |
|---|---|---|
| Buyer onboarding | Account creation, API keys, KYC | None. Agents pay per request |
| Time to first revenue | Weeks | Minutes |
| Payment method | Credit cards, invoices | USDC on Base and Solana |
| Minimum viable price | ~$0.50 (card fees) | $0.0001 (micropayments) |
| Blockchain code required | N/A | None. Aegis handles it |
| Secret management | DIY | Encrypted vault with injection |
Free to start. You keep what you earn.
No monthly fee. No per-seat pricing. Create your account, connect your API and start receiving payments. Aegis settles USDC directly to your wallet.
Your API is already valuable. Now let it prove it.
Free to start. Setup takes minutes.