Cloudflare Pay Per Crawl
HTTP 402 Payment Required and crawler-price and serve HTTP 200 OK with crawler-charged once a verified crawler signs crawler-exact-price or crawler-max-price. [1][2]Cloudflare Pay Per Crawl is a feature of Cloudflare AI Crawl Control, introduced by Will Allen and Simon Newton on 2025-07-01, that lets site owners control and monetize AI crawler access by setting a price per zone. [1][2][3] Acting as Merchant of Record, Cloudflare serves an HTTP 402 Payment Required price challenge or returns HTTP 200 OK when a verified crawler presents payment intent. [2] Crawlers authenticate via Web Bot Auth (Ed25519 keys at /.well-known/http-message-signatures-directory with signature-agent, signature-input, and signature) and sign either a reactive crawler-exact-price or proactive crawler-max-price header inside signature-input. Covered requests receive HTTP 200 OK with crawler-charged, whereas unpaid or invalid requests receive HTTP 402 with crawler-price (and crawler-error on mismatch). [2][4][5] The closed beta (dateModified 2026-07-28) added the charged_zones Discovery API and crawler-error codes (2025-12-10), dynamic pricing via cf-pay-per-crawl (2026-06-16), Pay Per Use search experiments with Ceramic.ai and You.com (2026-07-01), and a planned x402 deferred-payment integration. [1][3][6][7]
Problem and scope
Without an edge payment mechanism, publishers and website owners face a binary choice between leaving content open to AI scraping and locking their sites behind a walled garden, because negotiating bilateral licensing deals requires scale and leverage. [2] Pay Per Crawl introduces per-crawler Allow, Charge, and Block controls at the CDN edge—backed by Web Bot Auth cryptographic verification, pre-crawl domain discovery (GET https://crawlers-api.ai-audit.cfdata.org/charged_zones), and static or dynamic crawler-price quotes—so publishers can charge verified crawlers per request while withholding content (functionally equivalent to HTTP 403) from crawlers that lack a billing relationship. [2][3] Pay Per Crawl operates in closed beta with Cloudflare as Merchant of Record, aggregating billable crawler-charged events into a single daily card or bank charge processed through Stripe (with monthly publisher payouts) rather than settling per-request on the wire, and evaluating Allow or Charge only after existing WAF and Bot Management rulesets. [1][2][7][9][10]
Pay Per Crawl reactive and proactive challenge flows
HTTP/2 402 with crawler-price and retry with crawler-exact-price signed in signature-input, receiving HTTP 200 with crawler-charged on success or HTTP/2 402 with crawler-error (such as InvalidCrawlerExactPrice) on mismatch; proactive crawlers send crawler-max-price up front and receive HTTP 402 when the page's crawler-price exceeds that ceiling. [5]Pay Per Crawl 402 quote, 200 charge, and crawler-error
HTTP/2 402
date: Fri, 06 Jun 2025 08:42:38 GMT
crawler-price: USD 0.01
HTTP 200
date: Fri, 06 Jun 2025 08:42:38 GMT
crawler-charged: USD 0.01
HTTP/2 402
date: Fri, 06 Jun 2025 08:42:38 GMT
content-type: text/plain; charset=utf-8
crawler-price: USD 0.01
crawler-error: InvalidCrawlerExactPrice
HTTP 402 price challenge and payment headers
A paid URL without an accepted price draws HTTP 402 Payment Required and a crawler-price header. The crawler retries with crawler-exact-price or opens with crawler-max-price. Success is HTTP 200 OK plus crawler-charged. Failure carries crawler-error, such as InvalidCrawlerExactPrice. Verified crawlers can list payable domains first. [2][5][8]
- 402 price challenge: When an AI crawler requests a page protected by Pay Per Crawl without an accepted payment header, the Cloudflare edge responds with
HTTP/2 402Payment Required and acrawler-priceheader stating the cost to access the resource (documented ascrawler-price: USD 0.01). [2][5] - Exact price and max price:
crawler-exact-priceis the reactive retry after status 402 and must matchcrawler-price.crawler-max-priceis a proactive ceiling: the request proceeds when the configured price is at or below it, and returns HTTP 402 whencrawler-priceis higher. Only one price header may be sent, and it must sit insidesignature-input. [2][5] - Charged receipt and error codes: A successful fetch is HTTP 200 OK with
crawler-charged(examplecrawler-charged: USD 0.01), the amount billed to the Cloudflare account. Ifcrawler-max-priceexceeds the publisher's price, only the configured price is charged. Failures usecrawler-error, includingInvalidCrawlerExactPrice. On 2025-12-10 this header gained 11 specific error codes for programmatic handling. [2][3][5] - Discovery before crawling: Before crawling, a verified crawler can query
GET https://crawlers-api.ai-audit.cfdata.org/charged_zonesauthenticated with Web Bot Auth (Signature,Signature-Input, andSignature-Agent) to retrieve the list of domains configured to charge that crawler—eliminating discovery by trial request—though site owners may still block or allow the crawler via WAF rules orrobots.txt. [3][8]
Web Bot Auth verification, Stripe settlement, and rule precedence
Pay Per Crawl identifies the crawler with Web Bot Auth, settles through Stripe with Cloudflare as Merchant of Record, and applies per-crawler Allow, Charge, or Block only after WAF and Bot Management. Requests authenticate with Signature-Agent, Signature-Input, and an Ed25519 Signature header. [2][4][9]
- Ed25519 Web Bot Auth: The crawler generates an
Ed25519key pair and publishes the JWK public key at/.well-known/http-message-signatures-directory. Cloudflare accepts validEd25519keys from that directory. Requests must includesignature-agent,signature-input, andsignature. Unsupported IETFRFC 9421parameters inSignature-Inputfail verification. From 2025-12-10,crawler-exact-priceorcrawler-max-pricemust be covered bysignature-input, preventing payment header tampering, ensuring authenticated payment intent, validating crawler identity with payment commitment, and protecting against replay attacks with modified pricing; off-wire billing aggregation and monthly publisher payouts rely on Cloudflare as Merchant of Record. [1][2][3][4] - Crawler Stripe onboarding: AI crawler owners connect Cloudflare to Stripe, which processes payments and creates invoices. Charges post when content is delivered with valid crawler price headers. Crawlers set their own spending limits. Billable events are HTTP 200 responses carrying
crawler-charged, which Cloudflare aggregates before charging the crawler. [2][9] - Publisher Stripe Connect payouts: Publishers create a dedicated Cloudflare
Stripe Connectaccount in the dashboard; pre-existing Stripe accounts are not compatible. Onboarding collects bank details for payouts. Charges record on HTTP 200, Cloudflare reconciles them, and payout is monthly to publishers in good standing. Cloudflare is the merchant of record. [1][10] - Allow, Charge, Block, and precedence:
Allowgrants free access,Chargerequires the configured domain-wide price, andBlockdenies access with no option to pay. Charging a crawler with no billing relationship withholds the body like HTTP 403. Allow or Charge runs only after WAF and bot management, and a block in those products overrides the charge feature. [1][2]
Adoption and ecosystem
Edge platforms & participating publishers
| Actor | Role | Status | HTTP 402 enforcement & rollout scope | Source |
|---|---|---|---|---|
| Cloudflare | Edge platform & Merchant of Record | Experimental · as of 2026-07-28 | Closed/private beta edge gateway returning HTTP 402 (crawler-price) or HTTP 200 (crawler-charged) as Merchant of Record. | Cloudflare, Introducing pay per crawl [2] · Cloudflare docs, What is Pay Per Crawl [1] · Cloudflare docs, Crawl pages [5] · Cloudflare AI Crawl Control changelog [3] |
| Stack Overflow | Publisher (announced beta co-launch partner) | Supported (release announcement) · as of 2026-02-19 | Announced private-beta co-launch partner reporting WAF-wrapped HTTP 402 responses to targeted bots; live endpoint not independently verified. | Stack Overflow blog, Why Stack Overflow and Cloudflare launched a pay-per-crawl model (February 19, 2026) [14] |
| Press-release supporters | Publisher cohort (press-release supporters) | Listed · as of 2025-07-01 | Press-release supporters of permission-based AI crawling (including ADWEEK, AP, The Atlantic, Condé Nast, Fortune, Quora, Reddit, and TIME, with Quora naming Pay Per Crawl); live endpoints not independently verified. | Cloudflare press release, July 1, 2025 [15] |
Crawler authentication & payment settlement rails
| Actor | Role | Status | Settlement / signing mechanism | Source |
|---|---|---|---|---|
| Stripe | Payment processor & payout rail | Supported · as of 2026-04-23 | Invoices AI crawler owners via Stripe and pays publishers monthly via dedicated Cloudflare Stripe Connect accounts; Cloudflare's 2025-09-23 x402 post separately describes a single end-of-day card or bank fee. | Cloudflare docs, Connect Stripe [9] · Cloudflare docs, Manage payouts [10] · Cloudflare docs, What is Pay Per Crawl [1] · Cloudflare docs, Crawl pages [5][7] |
| Cloudflare Web Bot Auth | Crawler authentication & signing SDKs | Partial · as of 2026-10-08 | Ed25519 RFC 9421 request signing (Signature-Agent, Signature-Input, Signature) covering crawler-exact-price or crawler-max-price; subset of RFC 9421 supported. | Cloudflare docs, Web Bot Auth [4] · Cloudflare docs, Crawl pages [5] · cloudflare/web-bot-auth README [12] · Cloudflare docs, Discover payable content [8] |
Ecosystem censuses
- Cloudflare press release (July 1, 2025) (as of 2025-07-01): Cloudflare reported that more than one million customers had chosen its earlier one-click option (introduced in September 2024) to block AI crawlers prior to the July 1, 2025 Pay Per Crawl private-beta launch. [15]
- Akamai, quoting TollBit's website count (as of 2025-09-17): In a September 17, 2025 edge-monetization post, Akamai reported that TollBit is used by more than 3,000 websites to place a paywall in front of AI bots (an external peer benchmark for AI bot paywalls, distinct from Cloudflare Pay Per Crawl zone enrollment). [16]
See also
- L402 (Peer alternative) — Pay Per Crawl returns HTTP 402 pricing with Cloudflare as merchant. L402 returns a macaroon and BOLT 11 invoice.
- Content Signals Policy (Complements) — Content Signals records a preference for already-fetched content and is not a payment mechanism, while Pay Per Crawl is a paid crawl carried in HTTP headers.
- Really Simple Licensing (Complements) — Pay Per Crawl answers with HTTP 402 and crawler-price. RSL can state a crawl payment URL inside the license.
- AI crawler tokens in robots.txt (Complements) — Names AI crawlers via RFC 9309
User-agentproduct tokens so hosts can apply voluntaryAlloworDisallowpath rules in/robots.txt, without HTTP 402crawler-priceheaders or payment settlement. - Machine Payments Protocol (MPP) (Peer alternative) — Pay Per Crawl returns HTTP 402 with a crawler-price header; MPP's challenge is WWW-Authenticate with scheme Payment.
- Pay protocols — Category index for
paystandards. - Cloudflare Pay Per Crawl vs x402 — head-to-head comparison
- Cloudflare Pay Per Crawl vs L402 — head-to-head comparison
- Cloudflare Pay Per Crawl vs Machine Payments Protocol (MPP) — head-to-head comparison
References
- Cloudflare, What is Pay Per Crawl?, updated 2026-07-28 — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/what-is-pay-per-crawl/
- Will Allen and Simon Newton, Cloudflare Blog, Introducing pay per crawl: Enabling content owners to charge AI crawlers for access, published 2025-07-01; modified 2026-07-15 — https://blog.cloudflare.com/introducing-pay-per-crawl/
- Cloudflare, AI Crawl Control changelog, checked 2026-11-03; latest Pay Per Crawl entry 2026-06-16 — https://developers.cloudflare.com/ai-crawl-control/changelog/
- Cloudflare, Web Bot Auth, updated 2026-10-08 — https://developers.cloudflare.com/bots/reference/bot-verification/web-bot-auth/
- Cloudflare, Crawl pages, updated 2026-04-23 — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/use-pay-per-crawl-as-ai-owner/crawl-pages/
- Matthew Conroy, Cloudflare Blog, Making AI search smarter, published 2026-07-01 — https://blog.cloudflare.com/making-ai-search-smarter/
- Cloudflare Blog, Launching the x402 Foundation with Coinbase, and support for x402 transactions, published 2025-09-23; modified 2026-07-15 — https://blog.cloudflare.com/x402/
- Cloudflare, Discover payable content, updated 2026-04-23 — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/use-pay-per-crawl-as-ai-owner/discover-payable-content/
- Cloudflare, Connect Stripe, updated 2026-04-23 — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/use-pay-per-crawl-as-ai-owner/connect-to-stripe/
- Cloudflare, Manage payouts, updated 2026-04-23 — https://developers.cloudflare.com/ai-crawl-control/features/pay-per-crawl/use-pay-per-crawl-as-site-owner/manage-payouts/
- Jessica Davies and Sara Guaglione (Digiday), Media Briefing: AI payouts may be entering a new era, 10 July 2025; fetched 2026-11-06 — https://digiday.com/media/media-briefing-ai-payouts-may-be-entering-a-new-era/
- Cloudflare, Web Bot Auth, fetched 2026-10-31 — https://raw.githubusercontent.com/cloudflare/web-bot-auth/main/README.md
- Cloudflare, Cloudflare Monetization Gateway, updated 2026-11-01 — https://developers.cloudflare.com/monetization-gateway/
- Stack Overflow, Why Stack Overflow and Cloudflare launched a pay-per-crawl model, February 19, 2026 — https://stackoverflow.blog/2026/02/19/stack-overflow-cloudflare-pay-per-crawl/
- Cloudflare, Cloudflare Just Changed How AI Crawlers Scrape the Internet-at-Large; Permission-Based Approach Makes Way for A New Business Model | Cloudflare, checked 2026-10-31 — https://www.cloudflare.com/press/press-releases/2025/cloudflare-just-changed-how-ai-crawlers-scrape-the-internet-at-large/
- Akamai, From scraping to paying: monetizing AI bots at the edge, 17 September 2025; fetched 2026-11-06 — https://www.akamai.com/blog/security/from-scraping-paying-monetizing-ai-bots-edge