- Home
- Skills
- Web3 & Crypto
- x402 Paywall Builder
Works with the AI Agents you already use
x402 Paywall Builder
Put a stablecoin price on any HTTP endpoint with x402. Scaffolds the 402 response, payment verification and settlement, with prices and assets read from config, never hardcoded.
Free
About this skill
Want to charge per call for an API, or make an endpoint payable by AI agents? This skill reads the current x402 transport and exact-scheme specs, then builds a spec-compliant gate for Express, Hono, Next, Flask or FastAPI: it returns 402 PaymentRequired, verifies the payment header, settles through a facilitator and returns PAYMENT-RESPONSE. It also writes a client test. It doesn't build the facilitator itself, and it doesn't add paid tools to an MCP server (that's the official @x402/mcp package).
Ships with the x402 spec corpus (protocol v1/v2, transports, the exact scheme across 17 chains, extensions, SDK docs) so your agent reads the spec instead of guessing from memory, and cites the file it used. Holds no keys and signs nothing. Part of x402-pilot (Apache-2.0): https://github.com/DrVelvetFog/x402-pilot
Doesn't build the facilitator (needs one you run or a hosted one) and doesn't add paid tools to MCP servers. The full x402-pilot plugin's conformance tools aren't bundled; where the skill mentions them, it does those checks by hand.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 2 days ago
- Free with an Agensi account
Requires
Permissions
Reads and writes your server's source files to add the gate. Terminal and network are only used to run the client test against the facilitator URL you configure. Holds no keys and signs nothing.