# URLGate > Pay-to-open short links for humans and AI agents. Links charge USDC via x402 v2 (Base, Polygon, Arbitrum). Creators keep 99.7%. Minimum link price: 0.01 USDC. ## Agents: start here - [Get started](https://urlgate.xyz/api/v2/agents/get-started) (MCP tool get_started, alias pricing_and_limits): free JSON with pricing, your quota, tier and nextSteps - [For agents](https://urlgate.xyz/agents) (also https://urlgate.xyz/agents?format=json) · [Setup guide for humans](https://urlgate.xyz/agents/guide) - 1. Own wallet: free daily quota (own_wallet): free: 10 links/day (100 with Premium; 3/day for wallets new to URLGate in their first 24 h). Then 0.01 USDC per link. Earnings: your wallet. - 2. No wallet: agent key from a human (agent_key): free within the key's daily cap (counts toward the owner's quota). Then 0.01 USDC per link. Earnings: the key owner's wallet. - 3. Anonymous or over quota: pay per link (pay_per_link): 0.01 USDC per link via x402 (one signature) Earnings: the paying wallet (or your signed-in wallet). - Limit errors carry nextSteps (sign_in, use_agent_key, pay_0.01, upgrade, wait). ## API - [OpenAPI](https://urlgate.xyz/openapi.json): full machine-readable API with x-payment-info - [Agent skill](https://urlgate.xyz/skills/urlgate/SKILL.md): step-by-step pay / create / sign-in - [Logo](https://urlgate.xyz/logo.svg): URLGate icon (SVG; PNG at https://urlgate.xyz/icon-512.png) - [MCP server](https://urlgate.xyz/mcp): Streamable HTTP, tools: open_link, get_link_info, link_status, report_link, my_unlocks, get_receipt, payment_compat_check, create_link, get_started, pricing_and_limits, my_links, get_my_link, update_link, set_link_status, link_analytics, my_analytics, link_payments, link_audit, link_grants, link_qr, membership_status, buy_membership, redeem_premium_code, dismiss_renewal_reminder, my_points, set_points_prefs, points_leaderboard, points_leaderboard_me, points_rules, site_config, verify_ledger, sign_in, whoami, sessions, agent_keys, my_preferences, list_networks, open_link_instructions - Creating links (POST https://urlgate.xyz/api/urlgate/agent/create, MCP create_link): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer ugk_…); anonymous or over quota 0.01 USDC per link via x402. The website's create form: free. - Every web-app feature has a REST endpoint and an MCP tool: my unlocks, receipts, link options, analytics, takedown status, membership, own-link audit, points, settings (colour scheme) - [x402 discovery](https://urlgate.xyz/.well-known/x402) - Paid opens need TWO signatures in one request: PAYMENT-SIGNATURE (an accepts[] entry) + PAYMENT-SIGNATURE-FEE (the extensions["platform-fee"] entry, 0.3% to URLGate); MCP: _meta["x402/payment"] + _meta["x402/payment-fee"]. Missing fee leg = fee_leg_missing, nothing charged. Paid link creation and membership: one signature. - Payment compatibility check (free, verify-only, never settled): POST https://urlgate.xyz/api/v2/payments/compat-check or the MCP tool payment_compat_check → verdict ok | fee_leg_missing | main_leg_missing | wrong_network | bad_signature | amount_mismatch. The preview testnet test link REQUIRES a wallet with Base Sepolia testnet + test USDC. If your wallet can't use testnet, follow the production path: run payment_compat_check on production (verify-only, no funds move) and, if you meet the two-signature requirements, proceed with the real paid tools. Testnet path: 1. Use a wallet on Base Sepolia (eip155:84532) holding test USDC (e.g. faucet.circle.com). Only signatures are needed, no gas. 2. Call payment_compat_check on the preview testnet deployment (urlgate-preview) without payment: you get a two-leg PaymentRequired. 3. Sign BOTH legs (an accepts[] entry + the extensions["platform-fee"].accepts[] entry on the same network) with the same wallet and call it again with both. 4. verdict "ok" = your client can pay URLGate. Nothing is ever settled. Production path: 1. Call payment_compat_check on production (https://urlgate.xyz/api/v2/payments/compat-check) without payment: a two-leg PaymentRequired on mainnet (Base). 2. Sign BOTH legs and call it again with both signatures. Verify-only: no funds move (the wallet only needs to hold the 0.001 USDC test amount for verification). 3. verdict "ok" = you meet the two-signature requirement: proceed with the real paid tools (open_link with main leg + fee leg). 4. Any other verdict names what to fix (fee_leg_missing, wrong_network, bad_signature, amount_mismatch, ...); fix it and re-run the check before paying. - Agents vs humans: every sale is tagged agent | human | unknown (owners see the tag and per-link split). Verified agent = ERC-8004 identity in the x402 payload extension "8004-reputation" whose agentWallet/owner is the payer. Details in the agent skill. ## Docs - [API docs](https://urlgate.xyz/api.html) - [Live fees and limits](https://urlgate.xyz/api/v2/config) (JSON; every number above comes from it) ## News Short dated posts on paid links, x402 and HTTP 402. Each post has an HTML page, a markdown version (.md) and a "For agents" section with the live payment facts for this host. - [News](https://urlgate.xyz/news) · [RSS feed](https://urlgate.xyz/news/feed.xml) · [Full text of every post](https://urlgate.xyz/llms-full.txt) - [Write a paid link people want to open](https://urlgate.xyz/news/write-a-paid-link-people-want-to-open) (2026-11-20; markdown: https://urlgate.xyz/news/write-a-paid-link-people-want-to-open.md) - [Sell access to a file with one link](https://urlgate.xyz/news/sell-access-to-a-file-with-one-link) (2026-11-19; markdown: https://urlgate.xyz/news/sell-access-to-a-file-with-one-link.md) - [Paywall a link with just a wallet](https://urlgate.xyz/news/paywall-a-link-with-just-a-wallet) (2026-11-18; markdown: https://urlgate.xyz/news/paywall-a-link-with-just-a-wallet.md) - [Monetize links where you already share them](https://urlgate.xyz/news/monetize-links-where-you-already-share) (2026-11-17; markdown: https://urlgate.xyz/news/monetize-links-where-you-already-share.md) - [Charge AI agents per request with x402, no API keys required](https://urlgate.xyz/news/charge-ai-agents-per-request-with-x402) (2026-11-16; markdown: https://urlgate.xyz/news/charge-ai-agents-per-request-with-x402.md) - [A link that charges. What Urlgate is, in one page.](https://urlgate.xyz/news/a-link-that-charges-what-urlgate-is) (2026-11-15; markdown: https://urlgate.xyz/news/a-link-that-charges-what-urlgate-is.md) - [HTTP 402 means Payment Required. x402 puts it to work.](https://urlgate.xyz/news/http-402-payment-required-and-x402) (2026-11-14; markdown: https://urlgate.xyz/news/http-402-payment-required-and-x402.md) - [Gate the exact file, not your homepage](https://urlgate.xyz/news/gate-the-exact-file-not-your-homepage) (2026-11-13; markdown: https://urlgate.xyz/news/gate-the-exact-file-not-your-homepage.md) - [Sell access to a link without building a storefront](https://urlgate.xyz/news/sell-access-to-a-link-without-a-storefront) (2026-11-12; markdown: https://urlgate.xyz/news/sell-access-to-a-link-without-a-storefront.md) # News: full text --- title: "Write a paid link people want to open" description: "A short how-to for the line you post next to a Urlgate shortlink. Say what is inside, show the format, and give one reason it is worth the price, so readers and AI agents know what they are paying for." date: 2026-11-20 published: 2026-11-20T08:30:00-08:00 canonical: https://urlgate.xyz/news/write-a-paid-link-people-want-to-open image: https://urlgate.xyz/news/images/2026-11-20-og.jpg --- # Write a paid link people want to open November 20, 2026 · https://urlgate.xyz/news/write-a-paid-link-people-want-to-open A Urlgate shortlink asks for a small USDC payment before it opens. That price is easy to pay, but only if the reader already knows what is behind the link. The words you post next to it do most of the selling. ## Three things to say next to a paid link 1. **What is inside.** Name the thing plainly: a 12-page report, a Notion template, a CSV of last month's data, a recorded walkthrough. 2. **The format and size.** PDF, spreadsheet, video length, number of rows. People pay faster when they can picture the file. 3. **One reason it is worth it.** The hours it saves, the question it answers, or what makes it different from the free version. ## A before and after - **Before:** "New drop, link below." - **After:** "My 2026 vendor checklist for small IT teams. 40 items, one-page PDF. Saves you a weekend of research." The second line tells the reader exactly what the payment buys, so the click turns into a purchase more often. ## Tips that help - **Match the price to one item.** New links start at 0.01 USDC by default, and a small price that fits a single file or page is an easy yes. - **Keep the promise.** If the line says one page, deliver one page. Trust is what brings buyers back to your next link. - **Write for agents too.** AI agents that hit the link over x402 see the price in the 402 response, and the page or post around the link is often what told them to fetch it. Clear, specific wording helps them pick the right resource. Ready to try it? Sign in at [urlgate.xyz](https://urlgate.xyz), paste a URL, set a price, and post your shortlink with a line that earns the click. ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Sell access to a file with one link" description: "A worked example of selling a PDF, template, or dataset with Urlgate. Put a USDC price on the file's URL and share one pay-per-link shortlink that readers and AI agents unlock over x402." date: 2026-11-19 published: 2026-11-19T08:30:00-08:00 canonical: https://urlgate.xyz/news/sell-access-to-a-file-with-one-link image: https://urlgate.xyz/news/images/2026-11-19-og.jpg --- # Sell access to a file with one link November 19, 2026 · https://urlgate.xyz/news/sell-access-to-a-file-with-one-link Say you wrote a 20-page research report, built a spreadsheet template, or cleaned up a dataset. People ask for it, and you would like to charge a little. The usual path means picking a store, building a product page, and handling checkout. With Urlgate, the file stays where it already lives and the link does the selling. ## The example 1. **Host the file.** Put the PDF, template, or dataset anywhere that gives it a URL, such as your own site or a cloud folder link. 2. **Gate the URL.** Sign in to [urlgate.xyz](https://urlgate.xyz) with your wallet, paste the file's URL, and set a USDC price. New links start at 0.01 USDC by default. 3. **Share the shortlink.** Post it in your newsletter, a reply thread, a community chat, or your link in bio. ## What happens on a click A reader who opens the shortlink sees a paywall card, pays in USDC, and is sent straight to the file. An AI agent that requests the same link gets an HTTP 402 response with the price, pays over x402, and receives the same access. One link serves both, and you do not manage accounts, license keys, or a customer list. ## Tips for selling a file - **Price for the impulse.** A small price that matches the value of one file tends to beat a big one. You can change it later. - **Say what is inside.** Next to the link, add one line on what the buyer gets, such as page count, format, or the date the data was pulled. - **One file per link.** Separate links let you price a report and its raw data differently. Creators who gate links also appear on the public leaderboard for future rewards. [Sell your first file at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Paywall a link with just a wallet" description: "Urlgate setup skips the password and the storefront. Sign in with your wallet, paste a URL, set a USDC price, and share a pay-per-link shortlink that people and AI agents unlock over x402." date: 2026-11-18 published: 2026-11-18T08:30:00-08:00 canonical: https://urlgate.xyz/news/paywall-a-link-with-just-a-wallet image: https://urlgate.xyz/news/images/2026-11-18-og.jpg --- # Paywall a link with just a wallet November 18, 2026 · https://urlgate.xyz/news/paywall-a-link-with-just-a-wallet Most ways to sell access to a file or page start with paperwork: create an account, pick a password, set up a store, wire up a checkout. Urlgate starts with the wallet you already have. ## Four steps 1. **Wallet.** Sign in to [urlgate.xyz](https://urlgate.xyz) by signing a message with your wallet (Sign-In With Ethereum). There is no password to create or reset. 2. **Link.** Paste the URL you want to paywall: a PDF, a private page, a download, or an API endpoint. 3. **Price.** Set a USDC price. New links start at 0.01 USDC by default. 4. **Share.** Post the shortlink anywhere you already share links. That is the whole setup. ## What buyers see A person who opens the shortlink sees a paywall card, pays in USDC, and goes straight to your destination. An AI agent that requests the same link gets an HTTP 402 response with the price, pays over x402, and gets the same access. You do not issue API keys or manage a customer list for either one. ## Agents can sign in too Wallet sign-in works for software as well as people. An agent can sign in with its own wallet and use a revocable session token, so a script or agent can manage its paid links, such as changing a price or pausing a link, without a browser. ## Start small Pick one link people already ask you for and put a low price on it. You can change the price later, and every creator who gates links shows up on the public leaderboard for future rewards. [Paywall your first link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Monetize links where you already share them" description: "Your newsletter, group chats, and link in bio already send people to your best work. Urlgate turns any of those URLs into a pay-per-link shortlink that readers or AI agents unlock with USDC over x402." date: 2026-11-17 published: 2026-11-17T08:30:00-08:00 canonical: https://urlgate.xyz/news/monetize-links-where-you-already-share image: https://urlgate.xyz/news/images/2026-11-17-og.jpg --- # Monetize links where you already share them November 17, 2026 · https://urlgate.xyz/news/monetize-links-where-you-already-share Most creators already have distribution. A newsletter goes out every week. A group chat or community asks for the same file again and again. A link in bio gets tapped every day. The clicks are there. What is missing is a way to charge for the one thing behind the link without building a store. Urlgate fills that gap. You keep sharing links the way you do now, and each link can carry its own price. ## Turn one link into a paid link 1. Paste the URL of the thing you want to sell into [urlgate.xyz](https://urlgate.xyz). 2. Set a USDC price. New links start at 0.01 USDC by default. 3. Share the shortlink in the same places you share everything else. A reader who opens it sees a paywall card, pays in USDC, and goes straight to your destination. An AI agent that requests it gets an HTTP 402 response with the price, pays over x402, and gets the same access. ## Ideas that work well - **Newsletter:** link a bonus deep dive or the full template behind a free issue. - **Group chat or community:** paywall a link to a recording, slide deck, or checklist people keep asking for. - **Link in bio:** sell access to a file, a single lesson, or a private page from one tap. - **Docs or API:** gate an endpoint or dataset that bots already visit, so agents pay per request. ## Why pay-per-link You do not need a subscription platform, a checkout page, or a member list. Each link stands on its own, so you can test a price on one piece of work before you commit to anything bigger. Creators who start gating links also show up on the public leaderboard for future rewards. [Make your first paid link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Charge AI agents per request with x402, no API keys required" description: "AI agents can pay for each request to your link in USDC over x402. Urlgate puts a per-request price in front of any URL, so you can sell access to an API, file, or page without keys or invoices." date: 2026-11-16 published: 2026-11-16T08:30:00-08:00 canonical: https://urlgate.xyz/news/charge-ai-agents-per-request-with-x402 image: https://urlgate.xyz/news/images/2026-11-16-og.jpg --- # Charge AI agents per request November 16, 2026 · https://urlgate.xyz/news/charge-ai-agents-per-request-with-x402 AI agents are starting to fetch data, call APIs, and read pages on their own. Most of what they hit is either free or locked behind an API key that a human had to sign up for. x402 adds a third option: the agent pays for the request itself. Urlgate brings that option to any URL. ## How a paid request works 1. You gate a URL on [urlgate.xyz](https://urlgate.xyz) and set a USDC price. New links start at 0.01 USDC by default. 2. An agent requests your shortlink and gets an HTTP 402 Payment Required response that states the price. 3. The agent pays in USDC over x402 and retries the same request. 4. Urlgate checks the payment and sends the agent on to your destination. No account, API key, or invoice sits in the middle. Every request carries its own payment. ## Why pay-per-request fits agents - **No sign-up step.** An agent cannot fill out a billing form, but it can pay a 402. - **Small, exact prices.** You charge per call instead of guessing at a monthly plan. - **One link for everyone.** The same shortlink shows people a paywall card in the browser and gives agents a machine-readable price. ## What to gate - A data or API endpoint that agents call for fresh results - A research file, dataset, or prompt pack an agent can buy and read - A single article or report instead of a full subscription If you have wanted to sell access to an API or monetize links that bots already visit, start with one URL and one price. Builders who do show up on the public leaderboard for future rewards. [Gate your first link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "A link that charges. What Urlgate is, in one page." description: "Urlgate turns any URL into a pay-per-access shortlink. People and AI agents pay in USDC over x402 to open it, so you can monetize links without building a storefront." date: 2026-11-15 published: 2026-11-15T08:30:00-08:00 canonical: https://urlgate.xyz/news/a-link-that-charges-what-urlgate-is image: https://urlgate.xyz/news/images/2026-11-15-og.jpg --- # A link that charges November 15, 2026 · https://urlgate.xyz/news/a-link-that-charges-what-urlgate-is Most links are free by default. Urlgate makes one that charges. You paste any URL into [urlgate.xyz](https://urlgate.xyz), set a price in USDC, and get a shortlink back. Share it anywhere: a post, a newsletter, a README, a chat. Whoever opens it pays first, then lands on the destination. New links start at 0.01 USDC by default. ## Who pays Two kinds of visitors can open a paid link: - **People** see a paywall card in the browser, pay from a wallet, and continue. - **AI agents** get an HTTP 402 response with the price, pay in USDC over x402, and retry the same request. No account, API key, or checkout form is needed. Both paths end in the same place: the link you gated. That is what makes it a pay-per-link model instead of an ad or a subscription. ## What people gate - A file download, such as a dataset, template, or prompt pack - One lesson, article, or video instead of a whole course - An API or data URL that agents call per request ## Why it is simple There is no storefront to build and no customer list to manage. The link is the product. You keep the destination you already have and put a price in front of it. Sign-in is agent-friendly, and early builders show up on the public leaderboard for future rewards. If you have ever wanted to paywall a link or sell access to a file or API without new infrastructure, that is the whole idea. [Make your first paid link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "HTTP 402 means Payment Required. x402 puts it to work." description: "HTTP 402 means Payment Required. x402 uses it so a client can pay in USDC and retry. Urlgate wraps any URL in that pay-per-link flow for people and AI agents." date: 2026-11-14 published: 2026-11-14T08:28:00-08:00 canonical: https://urlgate.xyz/news/http-402-payment-required-and-x402 image: https://urlgate.xyz/news/images/2026-11-14-og.jpg --- # HTTP 402 means Payment Required November 14, 2026 · https://urlgate.xyz/news/http-402-payment-required-and-x402 HTTP 402 means Payment Required. The status code has been reserved on the web for decades and barely used. Most sites that charge for a page still invent their own checkout flow, a new account, or an API key. x402 puts 402 to work. The client requests a resource. The server replies 402 with a price. The client pays in USDC and retries the same request. If the payment verifies, the request goes through. People can do this from a wallet. AI agents can do it over plain HTTP, which is the point: a machine can pay per access without a human clicking a checkout form. Urlgate wraps any URL in that flow. You get a shortlink on [urlgate.xyz](https://urlgate.xyz). A browser sees a paywall card. An agent sees a `PAYMENT-REQUIRED` header (x402 v2) and a legacy 402 JSON body. To open a paid link, the client signs two EIP-3009 USDC authorizations in one retry: one for the price (`PAYMENT-SIGNATURE`) and one for the platform fee (`PAYMENT-SIGNATURE-FEE`). Urlgate verifies and settles both itself; there is no payment facilitator in the path. New links start at 0.01 USDC by default. That is a concrete way to monetize links and to paywall a file or an API URL for both people and agents, without building a storefront. It is a pay-per-link model, not a traditional pay-per-click ad. [Put a 402 on your link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Gate the exact file, not your homepage" description: "The best way to monetize links is to paywall the specific file, report, or API endpoint worth paying for, not your whole homepage. Urlgate makes a pay-per-link shortlink for that URL." date: 2026-11-13 published: 2026-11-13T08:25:00-08:00 canonical: https://urlgate.xyz/news/gate-the-exact-file-not-your-homepage image: https://urlgate.xyz/news/images/2026-11-13-og.jpg --- # Gate the exact thing, not your homepage November 13, 2026 · https://urlgate.xyz/news/gate-the-exact-file-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. [Gate your first link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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. --- --- title: "Sell access to a link without building a storefront" description: "Monetize a prompt pack, dataset, or course lesson with a pay-per-link shortlink. Urlgate gates any URL so people and AI agents pay in USDC over x402." date: 2026-11-12 published: 2026-11-12T08:27:00-08:00 canonical: https://urlgate.xyz/news/sell-access-to-a-link-without-a-storefront image: https://urlgate.xyz/news/images/2026-11-12-og.jpg --- # Sell a prompt pack, dataset, or course lesson with a paid link November 12, 2026 · https://urlgate.xyz/news/sell-access-to-a-link-without-a-storefront If you have a prompt pack, a dataset download, or a single course lesson, you should not need a full storefront to get paid for it. One practical way to monetize links is to put a pay-per-link shortlink in front of the file or page itself. Urlgate turns any URL into a paid shortlink. You paste the destination, set a price in USDC, and share a link on [urlgate.xyz](https://urlgate.xyz). New links must be priced at least 0.01 USDC by default (the live floor is in `/api/v2/config`). A person who opens the shortlink sees a paywall and pays from a wallet. An AI agent requests the same URL, receives HTTP 402 Payment Required with an x402 price, pays in USDC, and retries. In both cases one payment unlocks that one resource. This is a link paywall, not a subscription platform and not a traditional pay-per-click ad. You sell access to a link. The destination stays hidden until payment settles. Urlgate verifies and settles the payment itself (native x402 settlement; there is no facilitator). A paid open is two USDC transfers: the price to your wallet and a small platform fee (0.3%) to Urlgate. Buyers sign EIP-3009 authorizations and do not need gas. A returning wallet can re-open the same link without paying again, using Sign-In-With-X or a session. Creating a link from the website form is free. You can also create links over the API or MCP: those are free within a daily quota when you are signed in or when you use an agent key, and otherwise are charged via x402. If you want a pay-per-click link alternative that works for people and agents, start with a single item worth paying for, price it clearly, and share the shortlink. [Gate a link at urlgate.xyz](https://urlgate.xyz) ## 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. - What: pay-to-open short links. `GET https://urlgate.xyz/{code}` (or `GET https://urlgate.xyz/api/urlgate/{code}`) with `Accept: application/json` answers `402 Payment Required`; pay in USDC, then retry the same request. - Challenge: the x402 v2 `PaymentRequired`, base64, in the `PAYMENT-REQUIRED` header. A legacy x402 v1 JSON body is also sent; pay from the header. - Networks on this host: Base (`eip155:8453`), Polygon (`eip155:137`), Arbitrum (`eip155:42161`). USDC only. The code supports Base, Base Sepolia, Polygon, Arbitrum; admins can disable networks, so read `accepts[]`, `https://urlgate.xyz/.well-known/x402` or `/api/v2/config`. - Paid opens need TWO signatures in ONE retry, same wallet, same network: `PAYMENT-SIGNATURE` (an `accepts[]` entry: the creator's share) and `PAYMENT-SIGNATURE-FEE` (the `extensions["platform-fee"].accepts[]` entry: the 0.3% platform fee to URLGate), each a base64 x402 v2 `PaymentPayload` (EIP-3009, no gas). Without the fee leg: `402` with code `fee_leg_missing`, nothing charged. - Settlement: URLGate verifies and settles the payment itself (native settlement, no facilitator). The result is in the `PAYMENT-RESPONSE` header; the JSON `200` body has `destination` and `receiptUrl`. - Already paid: send `SIGN-IN-WITH-X` or a Bearer token for the buying wallet. No second charge. - MCP: `open_link` on `https://urlgate.xyz/mcp` with `_meta["x402/payment"]` + `_meta["x402/payment-fee"]`. - Create links: the website form is free. API / MCP (`POST https://urlgate.xyz/api/urlgate/agent/create`, tool `create_link`): free within the daily quota when signed in (Bearer / SIGN-IN-WITH-X) or with an agent key (Bearer `ugk_…`); anonymous or over quota, the 0.01 USDC creation fee via x402 (one signature, no fee leg). - Minimum price for new links on this host: 0.01 USDC (up to 6 decimals). - Test your client first: `POST https://urlgate.xyz/api/v2/payments/compat-check` (free, verify-only, never settled). - Read next: [llms.txt](https://urlgate.xyz/llms.txt), [SKILL.md](https://urlgate.xyz/skills/urlgate/SKILL.md), [/agents](https://urlgate.xyz/agents) ([JSON](https://urlgate.xyz/agents?format=json)), [get-started](https://urlgate.xyz/api/v2/agents/get-started), [/.well-known/x402](https://urlgate.xyz/.well-known/x402), [OpenAPI](https://urlgate.xyz/openapi.json). 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. ### How does an AI agent pay to open a URLGate link? 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. ### What is the minimum price for a new link? 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. ### Does it cost anything to create a link? 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.