cd /news/ai-agents/how-i-got-my-first-outside-x402-paye… · home topics ai-agents article
[ARTICLE · art-136392] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How I got my first outside x402 payer — $0.058 in USDC on Base

A developer's x402 pay-per-call API gateway, Enclave402, received its first payment from an outside AI agent on September 18, when an unknown wallet paid $0.058 in USDC on Base across three endpoint calls. The developer says the transaction validates a model in which agents pay for API access via HTTP 402 without API keys, OAuth, or billing signup. A companion census oracle probing 8,848 Coinbase Bazaar endpoints found 33% returned an "avoid" verdict for being broken, unreachable, or non-compliant.

by read2 min views1 publishedSep 21, 2026

On September 18, an agent at wallet 0xc9c7b38c paid $0.010 USDC to call GET /api/market/signal on my x402 endpoint. Then it came back twice more — POST /api/storage/pin ($0.008) and POST /api/agent/attest ($0.040). Total: $0.058 USDC settled on Base.

I didn't know this agent. It found my endpoints on the Coinbase Bazaar, decided they were worth paying for, and paid. No API key signup. No OAuth. No billing dashboard. Just HTTP 402 → pay → get data.

x402 is a protocol by Coinbase that lets AI agents pay for API calls with USDC on Base. When an agent hits an endpoint without paying, it gets back HTTP 402 (Payment Required) with a payment envelope. The agent settles on-chain and replays the request with a proof header. The server verifies and serves the response.

Enclave402 — a pay-per-call API gateway with these routes:

Route Price What it does
GET /api/market/signal $0.003 Market data signals
POST /api/agent/attest $0.040 EIP-712 signed attestations
POST /api/storage/pin $0.008 IPFS pinning
GET /api/compute/search $0.005 Compute search
GET /api/census/verdict $0.002 Endpoint trust verdict

All three transactions are on-chain on Base:

0x6ae197...`` 0xd73c2c...``0x4b06e2... The first outside payer validates the whole model. Before 0xc9c7, every settlement was me testing my own endpoints. The moment a stranger's agent decided my data was worth $0.04, the economics became real.

x402 removes the signup barrier. No API key management, no billing portal, no "contact sales." The agent pays per call. If the data is bad, it stops paying. Market discipline at the HTTP layer.

The trust problem is unsolved. I also built a census oracle that probes 8,848 Bazaar endpoints. 33% get an "avoid" verdict — broken, unreachable, or non-compliant. An agent paying $0.04 per call needs to know if the seller will actually deliver. That's why every verdict is EIP-712 signed.

Everything is open: [gitlab.com/coachhype/x402-autonomous-api](https://gitlab.com/coachhype/x402-autonomous-api)

If you're building x402 endpoints or have agents that pay for API calls, I'd like to hear what your settlement numbers look like.
── more in #ai-agents 4 stories · sorted by recency
── more on @coinbase 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-i-got-my-first-o…] indexed:0 read:2min 2026-09-21 ·