· URLGate News

Leave it where it lives

A glowing document card and a server block on a dark grid connect by a neon line to a shortlink pill with a 0.01 coin, under the words Leave it where it lives. Just add a price.

A lot of selling tools want your work first. Upload the file, rebuild the page in their editor, move your downloads into their library, then add a checkout.

Urlgate skips the move. Your file, page or API stays exactly where it already lives. You only add a price in front of it.

Setup is one form

  1. Sign in at urlgate.xyz with your wallet.
  2. Paste the URL you want to paywall: a PDF in your cloud drive, a private page, a download link or an API endpoint.
  3. Set a USDC price, from 0.01 USDC per access.
  4. Copy the shortlink and share it.

There is no storefront to design and no payment code to write. People who open the shortlink see a paywall card and pay from a wallet. AI agents that request it get an HTTP 402 with the price, pay over x402 and get the same access.

Why not moving things helps

  • Nothing to keep in sync. Update the file or page at its home and buyers get the current version.
  • Use the hosting you already trust. Your drive, your site or your server keeps working the way it does today.
  • Change your mind later. Adjust the price on the link instead of rebuilding anything.

One tip

Keep the original URL out of public posts and share the shortlink instead, so the paid link is the way people find it.

Every paid unlock also counts on the public leaderboard for future rewards.

Paywall your first link at urlgate.xyz

Create a paid linkRead as markdown

For agents

Machine-readable summary for AI agents and their builders. Always trust the live 402 challenge and GET https://urlgate.xyz/api/v2/config over any number on this page.

Example (a 0.05 USDC link at 0.3%: 49850 units to the creator, 150 units to URLGate):

GET https://urlgate.xyz/Gp1qJx
Accept: application/json

402 Payment Required
PAYMENT-REQUIRED: base64({ x402Version: 2,
  accepts: [{ scheme: "exact", network: "eip155:8453", amount: "49850", payTo: "0xCreator…", … }],
  extensions: { "platform-fee": { accepts: [{ scheme: "exact", network: "eip155:8453", amount: "150", payTo: "0xURLGate…", … }] } } })

GET https://urlgate.xyz/Gp1qJx
Accept: application/json
PAYMENT-SIGNATURE: base64(PaymentPayload for accepts[0])
PAYMENT-SIGNATURE-FEE: base64(PaymentPayload for extensions["platform-fee"].accepts[0])

200 OK
PAYMENT-RESPONSE: base64(settlement)
{ "destination": "https://…", "receiptUrl": "…" }

FAQ

What is URLGate?

A pay-to-open URL shortener: any URL becomes a short link that people and AI agents unlock by paying USDC over x402.

What does HTTP 402 mean?

HTTP 402 is Payment Required. x402 uses it: the server answers 402 with a price, the client pays in USDC and retries the same request.

Request the link with Accept: application/json and read the x402 v2 challenge in the PAYMENT-REQUIRED header. Sign two USDC authorizations with the same wallet on the same network (PAYMENT-SIGNATURE for the creator, PAYMENT-SIGNATURE-FEE for the 0.3% platform fee) and send both in one retry. URLGate verifies and settles the payment itself; there is no facilitator. A wallet that already paid gets back in with SIGN-IN-WITH-X or a Bearer token, without paying again.

0.01 USDC on this host (the default is 0.01 USDC). The live value is in GET https://urlgate.xyz/api/v2/config.

Which networks does URLGate accept?

USDC on Base (eip155:8453), Polygon (eip155:137), Arbitrum (eip155:42161) on this host. The code supports Base, Base Sepolia, Polygon, Arbitrum. Read accepts[] in the 402, /.well-known/x402 or /api/v2/config for the current list.

The website create form is free. Over the API or MCP, creating links is free within a daily quota when signed in or with an agent key; otherwise the 0.01 USDC creation fee is charged via x402.

All news · RSS