x402 Protocol: How AI Agents Pay for API Calls with USDC

x402 Protocol: How AI Agents Pay for API Calls with USDC

DevForge

The x402 protocol enables AI agents to make micropayments for API calls using USDC on Base chain. No signup, no API keys — just HTTP 402 responses with payment instructions.

How It Works

  1. Agent calls an API endpoint
  2. Server responds with HTTP 402 + payment details
  3. Agent sends USDC payment on Base chain
  4. Agent retries the call with payment proof
  5. Server delivers the response

Available Endpoints

DevForge offers 10 x402-enabled endpoints:

TextForge API ($0.001-$0.005/call)

  • Text summarization
  • Sentiment analysis
  • Text transformation
  • Batch processing
  • Premium text analysis

FetchForge API ($0.001-$0.005/call)

  • Web page scraping with content extraction
  • Multi-URL batch fetching
  • Website monitoring
  • Structured data extraction
  • Screenshot capture

Try It

curl https://keeping-arbor-grand-belle.trycloudflare.com/x402/pricing

All endpoints are listed on x402scan.com marketplace.

Wallet

Payments go to: 0x2ca588E0bfdfbe87Bb06E44a8Bf6f40BFf29cd9f (USDC on Base)

Report Page