APIs that AI agents
pay for themselves.
Autonomous agents discover and pay for APIs using USDC on Solana — no accounts, no API keys, no subscriptions. From $0.0001 per call.
from agentpay import AgentPay
# One line — agent pays automatically
ap = AgentPay("devnet")
# Discover APIs
apis = ap.discover(query="weather")
# Call & pay in one shot
result = ap.call(
"weather-v1",
{"city": "Karachi"}
)
$ python agent.py
→ 402 Payment Required
⬡ Paying 0.0003 USDC to 7xKX…m3Pq
✓ Confirmed in 412ms · tx: 5Hq2…kL9n
✓ { temp: 34, condition: 'Sunny', humidity: 62 }
Built for the agent stacks you already use
USDC
Native settlement
Solana
~400ms confirmation
0%
Platform fee at launch
MIT
Open-source SDK
How it works
Four steps. Zero friction.
From the moment your agent fires a request to the moment USDC lands in the provider's wallet — every step is automated, on-chain, and verifiable.
Agent sends request
Your AI agent calls any AgentPay gateway URL — no API key, no auth header needed.
result = ap.call("weather-v1", {"city": "NYC"})Gateway returns 402
AgentPay responds with a payment challenge: amount, recipient wallet, and a one-time nonce.
{ "nonce": "abc123", "amount_usdc_micro": 300, "recipient": "7xKX..." }SDK pays on-chain
The SDK builds a USDC transfer on Solana devnet, embeds the nonce in a memo, and broadcasts.
# Solana tx confirmed in ~400ms tx = "5Hq2KLn..."
Request proxied, response returned
AgentPay verifies the tx, forwards the request to the provider, and returns the response.
# 200 OK — provider response
{ "temp": 22, "condition": "Sunny" }One protocol · Every API
A single SDK call.
A whole marketplace of APIs.
AgentPay is a thin gateway protocol that turns any HTTP endpoint into a pay-per-call resource. Discovery, payment, replay protection, and settlement are handled for you — your agent just writes ap.call(slug, params) and gets a response back.
50+
APIs live
<500ms
Median pay+proxy
0
Accounts to manage
$0.0001
Min. price per call
Marketplace
Featured APIs
Production endpoints already serving live agent traffic — and earning USDC every hour.
For API Providers
Monetise your API.
Zero friction.
Register your API endpoint, set a per-call USDC price, and start receiving payments directly to your Solana wallet — no Stripe, no invoicing, no chargebacks. Settlement runs hourly, on-chain, transparent.
- 5 minute setup — register an endpoint in one form
- Instant on-chain settlement every hour
- 5% platform fee, no other charges
- Full usage analytics dashboard
- Reach autonomous AI agents — a new customer segment
Provider Overview
Last 7 daysTotal Calls
4,821
+12% vs last week
Earned (USDC)
$2.43
$0.19 pending
Avg Latency
142ms
P99: 380ms
Uptime
99.98%
30-day SLA
Calls this week
Trust, by design
Cryptographic guarantees,
not just a SLA.
Payments and proofs settle on Solana — not in our database. That means providers always know who paid, agents always know what they got, and we can't silently rewrite either side of the ledger.
Single-use nonces
Every payment carries a fresh nonce, verified on-chain and in Redis to make replay attacks impossible.
Wallet-native auth
No passwords, no API keys to leak. Agents sign with the keypair that holds their USDC.
Live settlement audit trail
Every call links to its Solana transaction signature. Both sides can independently verify the books.
Open SDK, MIT licensed
Python and TypeScript clients are open source. No black-box lock-in.
Why AgentPay
Designed for autonomous traffic
Six things that legacy payment rails simply can't do — but AI agents desperately need.
Sub-cent micropayments
Solana's <$0.001 tx fees make per-call pricing as low as $0.0001 economically viable — impossible on Stripe or PayPal.
No accounts needed
Agents pay with a Solana keypair. No OAuth dance, no API key management, no rate-limit workarounds — just wallet + pay.
Instant on-chain settlement
Providers receive USDC directly to their wallet every hour. Fully auditable on Solana Explorer. Zero chargebacks.
Usage analytics
Per-call logs, latency tracking, settlement history, and revenue trends — all in a clean provider dashboard.
Replay protection
Each call uses a cryptographic nonce — payment nonces are single-use, verified on-chain and in Redis.
Open Python + TS SDK
Drop-in SDK for any agent framework — LangChain, AutoGen, CrewAI, custom. One import, handles everything.
Loved by builders
What teams are shipping with AgentPay
“Our research agent ranked dozens of providers in seconds and paid for the data it actually needed — micropayments unlocked a workflow Stripe never could.”
“We listed our latency-monitoring API on AgentPay in under ten minutes. Three weeks in we're settling 2,400+ USDC every Friday — purely from autonomous traffic.”
“The first payments protocol that actually treats agents as customers instead of bots to throttle. Onboarding is one keypair.”
Frequently asked
Questions, answered.
Yes — every agent has its own Solana keypair that holds the USDC it spends. The SDK auto-generates one if you don't supply one, and we airdrop devnet USDC on first call so you can test for free.
Start in 5 minutes.
Connect your Solana wallet, register an API, and your first agent call can happen today.
No credit card · Devnet USDC airdropped on first call · MIT-licensed SDK