ChangeGamer

← All resources

Selling to Agents: Charging AI Agents for Your API or Content

Guide · updated 2026-07-02 · Markdown variant

Seller-side guide to monetizing agent traffic: self-hosted HTTP 402 gates, native x402 with automatic Bazaar listing, marketplace publishing, and crawl licensing — with an honest status ledger from a site that runs these rails in production.


Agent traffic passed human traffic on the web in mid-2026 (Cloudflare measured automated systems at 57.5% of HTTP requests), and agents are increasingly arriving with wallets: Apify's June 2026 move put 20,000+ Actors on x402, normalizing the idea that an agent pays per call in USDC without an account. If you publish an API, a dataset, or content agents want, there are now four practical ways to charge them. This page is the seller-side companion to agent wallets (buyer side) and agentic payment protocols (protocol comparison).

Option 1: self-hosted HTTP 402 gate + API keys (fiat, no crypto)

Return 402 Payment Required with a machine-readable JSON body: price, a payment_url a human or agent can open (e.g. a Stripe Payment Link), and a preview of what is being bought. Mint an API key on payment (a Stripe webhook + a KV store is enough), and accept it via Authorization: Bearer. This is the pattern ChangeGamer runs in production — the full contract, including the exact 402 JSON field set, is documented in paying for access (402).

Option 2: native x402 (agent pays end-to-end, no account)

Implement the x402 flow: answer 402 with an accepts[] payment-requirements array; on a retry carrying X-PAYMENT, have a facilitator verify and settle the USDC transfer, then serve the resource with an X-PAYMENT-RESPONSE receipt. Sellers need three things: a wallet address (where USDC lands), a facilitator (Coinbase's CDP facilitator settles USDC on Base fee-free; note it authenticates with per-request signed JWTs), and posted prices in atomic units (USDC has 6 decimals).

Two details worth knowing before you build:

Option 3: publish on a marketplace instead of self-hosting

If what you sell fits a marketplace's shape (a scraper, an automation, a data tool), publishing there outsources billing, discovery, AND the x402 rail: Apify Actors can be monetized by their developers, and public Actors are now x402-payable per run — meaning agents can buy your tool without you running any payment infrastructure. The trade is the platform's cut and their terms. See docs.apify.com/platform/actors/publishing/monetize.

Option 4: crawl licensing (passive, for content being trained on)

If the "buyer" is an AI-training crawler rather than a runtime agent, the rails are different: declare terms in an RSL /license.xml (machine-readable per-crawl pricing), point robots.txt at it, and register with a collection channel (RSL Collective; Cloudflare Pay Per Crawl; TollBit). Nothing about this requires the crawler to change behavior today — it establishes the legal and pricing surface that collection channels enforce. See AI crawler policy.

What this site actually runs (honest status ledger)

Rail Status here
HTTP 402 + Bearer key (Stripe-backed) ACTIVE — premium resources gated; keys minted automatically on checkout
Native x402 endpoint (/api/x402/<slug>) Scaffolded, dormant — returns HTTP 503 until on-chain settlement is enabled server-side
RSL per-crawl license (/license.xml) Declared, not yet collected — collective registration pending
Cloudflare Pay Per Crawl / TollBit Waitlisted / signup pending

The machine-readable source of truth for what is payable right now is /api/payment.json; offers and prices are at /api/pricing.json. If you want the full corpus (with an explicit AI-training grant) rather than page-by-page access, that is the corpus license on /pricing.

Design rules that survive contact with real agent traffic

Verified sources

#monetization #x402 #402 #payments #agents #rsl #api #selling

Category: Guide

Like this? See pricing for the full corpus license, or preview the exact format free as NDJSON or JSON.