You open a page or call an API and get “402 Payment Required” back. Payment required, but for what?
402 is officially only reserved. The code alone therefore does not tell you what to do. I measured how often the web answers this way:
Among 7,594 reachable start pages of the Tranco top 10,000, none made a payment request on November 18, 2026; 402 appeared 4 times, all at one operator, as a block page without a price. Further down I show where 402 really means money.
- 402 Payment Required is officially only reserved for future use (RFC 9110). What a 402 response means is decided by the service that sends it.
- If you see the error in a product, the usual cause is an empty balance, a frozen shop or a failed payment. Read the response text and otherwise ask the provider.
- Own measurement from November 18, 2026: among 7,594 reachable start pages, none made a payment request. 402 appeared 4 times, all at one operator, as a block page.
- As a real payment request, 402 appears in protocols such as x402: of 200 listed endpoints, depending on the weighting 59% (one resource per host) to 87.5% (random resources) answered with 402.
1. What does HTTP 402 mean?
HTTP status codes are three-digit numbers a server uses to answer a request. 200 means “OK”, 404 “not found”. 402 stands for “Payment Required”.
According to RFC 9110, section 15.5.3, the code is reserved for future use. The standard of June 2022 defines neither a header nor a body for it. So there is no fixed flow that browsers or programs follow automatically.
You are most likely to confuse 402 with two neighbours:
- Meaning
- The server does not know you: login missing or invalid.
- What you can do
- Log in or check your credentials.
- Meaning
- Reserved for future use. The standard sets no fixed rule.
- What you can do
- Read the response body and headers, ask the provider.
- Meaning
- The server understands the request but refuses to fulfil it.
- What you can do
- Check your permissions, contact the provider.
2. Why do I see a 402 error?
There are two groups of reasons. Payment protocols for software use 402 as a request to pay and state in the same response what the request costs. You see this when a program or an AI agent calls such services (more in section 4).
The second group is open: some services use the code for their own purposes. In everyday products there is almost always a problem with money or the account behind it. The table shows what the providers write in their documentation (all opened on November 27, 2026):
- Meaning
- The shop is frozen (“The requested shop is currently frozen.”).
- What you can do
- As the owner, pay the outstanding balance in the shop admin.
- Source
- Shopify
- Meaning
- “Request Failed”: parameters valid, request failed.
- What you can do
- Read message, code and decline_code; for card errors use another payment method.
- Source
- Stripe
- Meaning
- billing_error: there is an issue with your billing or payment information.
- What you can do
- Check your payment details in the Claude Console.
- Source
- Anthropic
- Meaning
- The account or API key has insufficient credits.
- What you can do
- Add credits, then retry. With a Retry-After header, waiting can be enough.
- Source
- OpenRouter
- Meaning
- “Insufficient Balance”: you have run out of balance.
- What you can do
- Check your balance and add funds on the Top up page.
- Source
- DeepSeek
- Meaning
- DEPLOYMENT_DISABLED: deployment disabled, for example after exceeded usage limits.
- What you can do
- Check usage in the dashboard, read Vercel's emails, upgrade to Pro.
- Source
- Vercel
- Meaning
- Own observation, 19 Nov 2026, no public source: every search got 402, the account was in the red.
- What you can do
- Add credit in the developer console.
- Source
- Own observation
Other providers report the same with other codes: according to its error page, OpenAI uses 429 with the type insufficient_quota for a used-up balance. A 402 alone therefore does not tell you whether a balance, a subscription or something else is missing.
Here is what you can do:
- As a visitor: Read the text on the page. Check whether you have an open payment, an expired subscription or a used-up quota with that service. Otherwise write to the provider with the URL, the time and the response text.
- As a developer: Look at the response headers, for example
PAYMENT-REQUIRED,WWW-Authenticateorcrawler-price, and at the API documentation. - As an operator: If you use 402 yourself, say in the text what is missing and how to fix it. The code alone does not explain it. If you want to control bots, my article on blocking AI crawlers with robots.txt helps.
3. How often does the web answer with 402 today?
The starting point is the Tranco list (ID V38GN, created on November 17, 2026), a ranking of the most visited domains. For each of the top 10,000 domains I sent exactly one GET to https://domain/ on November 18, 2026.
More on the method
- Neutral client with the user agent
research-check/1.0, no browser, no AI bot - Up to 3 redirects, 10 second timeout, at most 20 requests at once, no cookies
- For every 402 I stored all headers and the first 2,000 bytes of the body and looked at them by hand
Of the 10,000 domains, 7,594 were reachable. 2,406 (24.1%) gave no answer, mostly because the domain has no web server (1,620 name errors). This is how the status codes of the reachable ones are distributed:
The large majority answers with 200. The code 403 appeared on 1,114 domains (14.7%), 429 on 26. 4 domains answered with 402, which is 0.04% of all 10,000 and 0.05% of the reachable ones. As section 3.1 shows, they belong to one operator.
3.1 What the four 402 answers contained
I looked at each of the four answers. All of them went from the domain to the address with www. and returned 402 there:
- Tranco rank
- 631
- Final URL after redirect
- https://www.usatoday.com/
- Tranco rank
- 6,516
- Final URL after redirect
- https://www.azcentral.com/
- Tranco rank
- 6,760
- Final URL after redirect
- https://www.freep.com/
- Tranco rank
- 9,077
- Final URL after redirect
- https://www.telegram.com/
In all four cases the body was a short HTML page titled “Access Restricted” with the sentence “We're unable to allow access to this page at this time.” It contained no payment details, no price and none of the headers that payment protocols use. All four answers named the same reporting endpoint (reporting-api.gannettinnovation.com). So it is one operator with four domains, not four independent sites.
Whether the operator wants to charge money with this cannot be read from the answer. It contained nothing on that. Among all 10,000 domains I found no crawler-price, no payment-required, no X-PAYMENT and no WWW-Authenticate with L402 or Payment.
4. Who uses 402 for payments?
Several schemes define what a 402 response has to contain. The table shows the headers from each documentation, which I opened on November 18, 2026:
- Server sends
- PAYMENT-REQUIRED
- Client replies
- PAYMENT-SIGNATURE
- Note
- PAYMENT-RESPONSE answer after payment
- Server sends
- JSON body
- Client replies
- X-PAYMENT
- Note
- Core specification does not name code 402 itself
- Server sends
- WWW-Authenticate: L402
- Client replies
- Authorization: L402
- Note
- Payment over the Lightning Network
- Server sends
- crawler-price
- Client replies
- crawler-exact-price / crawler-max-price
- Note
- Closed beta per docs, page changed on 28 July 2026
- Server sends
- WWW-Authenticate: Payment
- Client replies
- Authorization: Payment
- Note
- The 402 response must carry Cache-Control: no-store
In its documentation, Stripe uses x402 in version 2 and accepts payment as a stablecoin. x402 is a payment protocol. It has nothing to do with tokens of the same name.
This is what a 402 response under x402 v2 looks like. The header holds Base64-encoded JSON, shown decoded here with placeholders:
HTTP/1.1 402 Payment Required
PAYMENT-REQUIRED: <Base64-encoded JSON>
{
"x402Version": 2,
"error": "<message>",
"resource": { ... },
"accepts": [
{
"scheme": "<scheme>",
"network": "<network>",
"amount": "<amount>",
"asset": "<payment asset>",
"payTo": "<recipient>",
"maxTimeoutSeconds": <seconds>,
"extra": { ... }
}
]
}The client repeats the request with the header PAYMENT-SIGNATURE. An overview of all protocols in agentic commerce is in my protocol comparison.
5. How many pay-per-call endpoints are there?
Coinbase runs a public directory (Bazaar) where x402 services register. It can be read without an account. I read it on November 18, 2026 in pages of 100 entries. The directory is one provider's registration list, not a cross-section of the web.
The directory grows fast. Since the measurement I only read the total from the public interface:
- Entries according to the API
- 35,215
- Entries according to the API
- 89,149
- Entries according to the API
- 90,235
- Entries according to the API
- 90,125
- Entries according to the API
- 91,225
- Entries according to the API
- 91,897
From 35,215 to 91,897 entries: all samples below reflect November 18, 2026, not the newer total. Whether new services, duplicates, or test entries drove the growth is unchecked.
Share held by the largest hosts:
A few large hosts hold many entries, and 351 payment options point to test networks left unfiltered.
5.1 What the services ask for
The prices are in the listing, stated in a dollar stablecoin. I evaluated the lowest option per entry (34,832 entries, 383 without a computable price). These are requested prices, not paid ones:
The median is $0.005, so a call usually costs a fraction of a cent. The minimum is $0.00001. The maximum of $1,000 is a single case I did not check.
5.2 Do the services really answer with 402?
Two samples of 200 resources each, one GET without payment per resource. In the first, every resource counts equally, so large hosts are heavily represented. In the second, one resource per host is drawn:
All response codes across both samples:
- Per resource
- 175 (87.5%)
- One per host
- 118 (59%)
- Per resource
- 171 (85.5%)
- One per host
- 112 (56%)
- Per resource
- 8 (4%)
- One per host
- 50 (25%)
- Per resource
- 11 (5.5%)
- One per host
- 22 (11%)
- Per resource
- 3 (1.5%)
- One per host
- 5 (2.5%)
- Per resource
- 3 (1.5%)
- One per host
- 5 (2.5%)
If every resource counts equally, 87.5% answer with 402, and large hosts shape the picture. If every host counts once, it is 59%. Almost all of these answers have a readable payment structure. 405 means the service does not accept the GET, often because it expects POST. That is no fault of the service, but no hit either.
6. What the measurement does not show
- A neutral client does not see everything. Cloudflare's documentation says an AI crawler gets either 200 with payment intent or 402 with a price. My client does not present itself as one; the documentation does not say how Cloudflare treats it. My 4 holds for a neutral client only. Whether paywalls exist, the measurement does not say.
- One request, one network, one moment. I measured between 21:40 and 22:26 (MEZ) from a German network. Blocks such as 403 and 429 can depend on the network.
- Only the home page. Paid content often sits behind API paths that I did not request.
- Unreachable domains. 2,406 domains did not answer.
Breakdown
1,620 name errors, 399 timeouts, 279 certificate and TLS errors, 71 refused connections. Of 40 name errors checked again, 39 still did not resolve. I did not add
www.to the domains. - The directory is one provider's index. It contains test entries, and a few hosts account for 19% of the entries. It shows what is listed, not what is paid.
If you want to know how to make your own site readable for agents, see the article on agent readiness.






