> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# x402 protocol: agentic payments over HTTP

> x402 is the open payment protocol that brings onchain payments to the HTTP 402 Payment Required status code. Build agentic and AI agent payments for APIs and web services. Polygon-supported networks, facilitators, and quickstart.

x402 is an open payment protocol that brings blockchain payments into the HTTP
standard. By reusing the HTTP 402 Payment Required status code, it lets
developers handle onchain and agentic payments with the same tools they already
use for APIs and web services.

Instead of building complex wallet integrations or subscription systems,
developers can treat payments like any other part of the HTTP request/response
cycle. This approach works for web2 developers experimenting with paid APIs and
for web3 builders who need a lightweight way to support pay-per-use APIs,
agent-to-agent transactions, and micropayments.

[Read more about x402 here](https://x402.gitbook.io/x402).

## Access on Polygon

Polygon supports **x402 v2** on mainnet and Amoy through the following facilitators:

1. Polygon Mainnet Facilitator: [https://x402.polygon.technology](https://x402.polygon.technology)
2. Polygon Amoy Facilitator: [https://x402-amoy.polygon.technology](https://x402-amoy.polygon.technology)

<Note>
  Both Polygon facilitators run **x402 v2**. Use the `@x402/*` packages in the
  [Quickstart for Buyers](./guides/quickstart-buyers.mdx) and
  [Quickstart for Sellers](./guides/quickstart-sellers.mdx). Upgrading from V1?
  See [Migration: V1 to V2](./guides/migration-v1-to-v2.mdx).
</Note>

Additional facilitators compatible with Polygon:

* [ThirdWeb](https://playground.thirdweb.com/payments/x402)
* [x402.rs Facilitator Endpoint](https://facilitator.x402.rs/)
* [Pay.AI](https://payai.network/)
* [Corbits](https://docs.corbits.dev/about-x402/facilitators)
* [Questflow](https://facilitator.questflow.ai/)

To implement x402 with Polygon and your applications or agents, follow the
tutorials and guides in these docs. Alternatively, the x402 community has
created
[multiple examples](https://github.com/coinbase/x402/tree/main/examples/typescript)
which can be adapted for Polygon.
