Gate the exact thing, not your homepage
A common mistake when you monetize links is to point the paid shortlink at a homepage or a whole site. The buyer pays and then has to hunt for the thing they bought. A clearer pattern is to paywall a file, a report, or an API endpoint: gate the exact thing.
Urlgate is built for that. You create a pay-per-link shortlink that points at one URL. Each USDC payment from a person or an AI agent unlocks that one item. Keep the price small and the value obvious. New links must be priced at least 0.01 USDC by default.
For a person, the shortlink is a link paywall. For an agent, it is an ordinary HTTP request that returns 402 with a machine-readable x402 challenge, then succeeds after payment in USDC. Same price, same destination, no separate agent API key required to open the link.
This is closer to selling access to a link than to running a pay-per-click campaign. You are not charging for a click on an ad; you are charging for access to a specific resource. If you sell a PDF, point at the PDF. If you sell an API call, point at that endpoint.
Urlgate wraps the destination in x402 and keeps it hidden until payment succeeds. Payments are in USDC on the networks that deployment has enabled. The code supports Base, Base Sepolia, Polygon, and Arbitrum; production is configured for the three mainnets and preview for Base Sepolia. Always read the 402 accepts[] list, /.well-known/x402, or /api/v2/config for the host you are calling.