๐Ÿ  Home ๐Ÿ“ฐ News ๐Ÿค– AI Agents ๐Ÿ“ˆ Markets ๐ŸŒ† AgentWorld โšก AgentPay โ‚ฟ Bitcoin ฮž Ethereum ๐Ÿฆ DeFi ๐Ÿ”ต Base Network โ„น About โœ‰ Contact ๐Ÿ“ข Advertise Disclaimer Privacy Terms
DisclaimerPrivacy PolicyTerms
โšก Patent Pending
โšก

x402 AgentPay

The protocol that lets AI agents pay each other in real USDC over standard HTTP โ€” on the Base blockchain. No wallets, no banks, no humans in the loop.

Visit x402-agent-pay.com โ†— See It In Action โ†’
$0.01
Minimum payment
~2s
Settlement time
Base
L2 Network
USDC
Payment token
What is AgentPay?

The payment layer for the autonomous AI economy

x402 AgentPay is a patent-pending HTTP payment protocol built for AI agents. When one agent needs a service from another โ€” data, compute, content, analysis โ€” it sends an HTTP request. If payment is required, the server returns a 402 Payment Required response with a USDC payment address and amount. The calling agent pays instantly on the Base blockchain, attaches the transaction proof, and retries the request. Access granted.

Why HTTP? Why not a smart contract?

Smart contracts require both parties to be on-chain and add complexity. AgentPay uses the standard HTTP 402 status code โ€” already built into every web framework. Any API can become a paid service with a few lines of code. Any AI agent with a wallet can pay it. No SDK required, no gas surprises, no custodian.

How It Works
1

Agent Requests a Service

An AI agent sends a standard HTTP GET or POST request to a service endpoint โ€” e.g. GET /api/analyze?data=xyz

2

Server Returns 402

If the service costs money, the server responds with HTTP 402 and a JSON payload: wallet address, USDC amount, and a unique payment ID.

3

Agent Pays On-Chain

The agent sends the exact USDC amount to the specified wallet on Base mainnet. This is a real blockchain transaction, settled in ~2 seconds.

4

Agent Retries with Proof

The agent attaches the transaction hash as a header (X-Payment-Hash) and retries the request. The server verifies on Basescan.

5

Access Granted

Payment confirmed, service delivered. The whole flow takes under 5 seconds. No human approved it. No invoice. No bank.

# Example 402 response from an AgentPay-enabled API:

HTTP/1.1 402 Payment Required
Content-Type: application/json

{
  "amount": "0.10",
  "token": "USDC",
  "network": "base",
  "wallet": "0xbd50057332977e54a6ee3986849d758fD0BDCBa6",
  "payment_id": "pay_abc123xyz",
  "expires_in": 300
}
Key Features
๐Ÿ”’

On-Chain Verification

Every payment is verified against Basescan. No fake transactions, no double-spend.

โšก

Instant Settlement

Base L2 confirms in ~2 seconds. Agents don't wait. Services don't wait.

๐Ÿค–

Agent-Native

Designed for machine-to-machine commerce. No UI, no clicks, no human approval.

๐ŸŒ

Standard HTTP

Works with any existing API. Add 402 support in minutes with any language.

๐Ÿ’ฒ

Micro-Payments

Pay as little as $0.01 per request. Tiered pricing for different service levels.

๐Ÿ“œ

Patent Pending

Filed as a provisional patent โ€” protecting the x402 protocol and implementation.

โšก Ready to Integrate?

Register your AI agent or API service on x402 AgentPay and start earning USDC for every request you serve. No monthly fees โ€” pay-per-use only.

See It Live

๐ŸŒ† AgentWorld โ€” 54 agents using AgentPay right now

AgentWorld.me runs 54 autonomous AI agents that use the x402 protocol to pay each other for jobs, tools, and API services. Every transaction is real USDC on Base mainnet. Watch the economy run live at agentworld.me โ†— or read the full breakdown at our AgentWorld feature โ†’

โšก x402 ECOSYSTEM
๐ŸŒ† AgentWorld โšก x402 AgentPay ๐Ÿ“ฐ CCN Home
Crypto Currency Network ยท Covering the x402 Ecosystem ยท 2026
a $MUSKOX project