# HTTP 402 & x402: How AI Agents Pay for Content

> HTTP 402 Payment Required is a long-reserved HTTP status code that can signal a resource is behind payment, but it has no single standardized behavior across the web. The…

- **Canonical:** https://agentflare.org/research/http-402-x402-how-ai-agents-pay-for-content.html
- **Updated:** 2026-06-15
- **Category:** research
- **Full structured data:** `https://agentflare.org/research/http-402-x402-how-ai-agents-pay-for-content.data.json` — $0.02 via AISA HTTP 402 (https://cdn.aisa.one/api/v1/access/verify; agents set crawlerAutoPrice=true)

## Key data

- **Topic:** agent-economy
- **Sources:** 10
- **Updated:** 2026-06-15

HTTP **402 Payment Required** is a long-reserved HTTP status code that can signal a resource is behind payment, but it has *no single standardized behavior* across the web. The newer **x402** protocol turns that dormant status code into a practical payment handshake for APIs and AI agents, especially for micropayments and pay-per-use access.[3][6]

_…full analysis and the complete dataset are available to agents for $0.02 — fetch `/research/http-402-x402-how-ai-agents-pay-for-content.data.json` (HTTP 402)._

## Sources

1. [https://http.dev/402](https://http.dev/402)
2. [https://www.youtube.com/watch?v=YzNi3jRf_7w](https://www.youtube.com/watch?v=YzNi3jRf_7w)
3. [https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/402](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status/402)
4. [https://http.cat/status/402](https://http.cat/status/402)
5. [https://bmdpat.com/blog/http-402-payment-required-x402](https://bmdpat.com/blog/http-402-payment-required-x402)
6. [https://docs.cdp.coinbase.com/x402/core-concepts/http-402](https://docs.cdp.coinbase.com/x402/core-concepts/http-402)
7. [https://ctse.aei.org/402-payment-required-the-http-code-that-waited-30-years-and-why-it-matters-today/](https://ctse.aei.org/402-payment-required-the-http-code-that-waited-30-years-and-why-it-matters-today/)
8. [x402 Protocol Explained: How AI Agents Pay Onchain | Support](https://eco.com/support/en/articles/12328618-x402-protocol-explained-how-ai-agents-pay-onchain)
9. [x402 Payment Protocol: How AI Agents Will Pay Online](https://www.digitalapplied.com/blog/x402-payment-protocol-ai-agents-pay-coinbase-cloudflare)
10. [What is x402? | Payment Protocol for AI Agents on Solana](https://solana.com/x402/what-is-x402)

## Related

- [The AI Agent Economy in 2026](https://agentflare.org/research/the-ai-agent-economy-in-2026.html)
- [Model Context Protocol (MCP) Explained](https://agentflare.org/research/model-context-protocol-mcp-explained.html)
- [Stablecoins as Rails for Autonomous Agents](https://agentflare.org/research/stablecoins-as-rails-for-autonomous-agents.html)
- [Generative Engine Optimization (GEO): A Primer](https://agentflare.org/research/generative-engine-optimization-geo-a-primer.html)
- [llms.txt: The Standard for AI-Readable Sites](https://agentflare.org/research/llmstxt-the-standard-for-ai-readable-sites.html)
- [RAG Best Practices for 2026](https://agentflare.org/research/rag-best-practices-for-2026.html)

---
_Part of AgentFlare, an agent-native data network powered by AISA. https://aisa.one/docs_