{"x402Version":1,"service":"URLGate","description":"x402-enabled URL shortener - Pay to access premium shortened links","website":"https://urlgate.xyz","router":{"pattern":"/api/urlgate/{code}","description":"Access any shortened URL by replacing {code} with the shortcode"},"examples":[{"url":"https://urlgate.xyz/x402info","shortcode":"x402info","price":"0.001","description":"Access x402scan resources documentation"},{"url":"https://urlgate.xyz/claude","shortcode":"claude","price":"0.001","description":"Claude Code GitHub repository"}],"endpoints":{"create":{"path":"/api/urlgate/create","method":"POST","description":"Create a paid short link. Free from the website's create form or within the daily quota when signed in (Bearer token from SIWE sign-in, or an agent key); otherwise 0.01 USDC via x402","x402Protected":true,"price":"0.01","recommended":true},"agentCreate":{"path":"/api/urlgate/agent/create","method":"POST","description":"Alternative endpoint for AI agents (requires 0.01 USDC payment)","x402Protected":true,"price":"0.01"},"access":{"path":"/api/urlgate/{code}","method":"GET","description":"Access shortened URL (x402 payment required, price varies by link)","x402Protected":true},"info":{"path":"/api/urlgate/{code}/info","method":"GET","description":"Get link metadata without payment","public":true}},"x402Schema":{"scheme":"exact","network":"base","networkId":"eip155:8453","asset":"USDC","outputSchema":{"input":{"type":"http","method":"GET","headerFields":{"PAYMENT-SIGNATURE":{"type":"string","required":false,"description":"x402 v2 payment: base64 PaymentPayload signed for an accepts[] entry of the PAYMENT-REQUIRED header. Retry the same request with it."},"PAYMENT-SIGNATURE-FEE":{"type":"string","required":false,"description":"x402 v2 payment for the platform fee (extensions[\"platform-fee\"].accepts[] entry, same network, same wallet). Required with PAYMENT-SIGNATURE when the PAYMENT-REQUIRED extensions include platform-fee."}}},"output":{"type":"object","properties":{"success":{"type":"boolean"},"destination":{"type":"string"}}}}}}