{"uid":"cap_bjpzpU_SzQMeDu6fWWuLs","slug":"desknav-studio-url-shortener-pay-per-call-a21bb951","name":"DeskNav Studio — URL Shortener (pay-per-call)","description":"Studio sells 6 per-call jobs over HTTP, paid in USDC on base via x402 or direct transfer.","url":"https://short.desknav.ai/jobs/shorten","method":"POST","headers":{},"bodySchema":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Destination for the short link. Public http(s) only — loopback, private and link-local hosts are refused."},"alias":{"type":"string","description":"Optional custom code. Never overwrites an existing link; a taken alias is rejected before payment."}}},"responseSchema":{"output":{"code":"how-to-pay","shortUrl":"https://short.desknav.ai/how-to-pay","targetUrl":"https://short.desknav.ai/docs"},"status":"delivered","offerId":"shorten","invoiceId":"inv_1"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HIT7VWt8fOFoTjtqL84Fk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Creates a shortened URL for a given destination URL, optionally with a custom alias, paid per-call in USDC on Base.","exampleAgentPrompt":"Can you shorten this URL for me — https://www.example.com/some/very/long/path/to/a-page?utm_source=newsletter&utm_medium=email — and use the custom alias 'my-promo' if it's available?","exampleUseCases":[{"title":"Shareable campaign link for social media","prompt":"Shorten https://www.mybrand.com/summer-sale-2025?utm_source=twitter&utm_campaign=summer into something short I can tweet, and use the alias 'summer25' if it's free."},{"title":"Clean link for printed marketing material","prompt":"I need a short URL for https://www.acmecorp.com/products/industrial-widgets/catalog-2025.pdf to put on a flyer — can you shorten it and use the alias 'catalog' if that's available?"},{"title":"Trackable referral link for a partner","prompt":"Please shorten https://app.myplatform.io/signup?referral=partner_xyz&source=email_outreach into a compact link I can send to a partner — no custom alias needed, just whatever short code it generates."}],"resultDescription":"Returns a short URL (e.g. https://short.desknav.ai/how-to-pay), the short code used, and the original destination URL, along with an invoice ID confirming payment. The response confirms the offer ID ('shorten') and delivery status.","failureModes":["Alias already taken — rejected before payment is charged","Destination URL is a loopback, private, or link-local address — refused","Invalid or non-HTTP(S) URL supplied — rejected","Payment in USDC not completed or insufficient — request not fulfilled","Network timeout or service unavailability"],"whenToPreferThis":"Choose this endpoint when you need a fast, on-demand, pay-per-call URL shortener that charges only $0.05 USDC per link with no subscription. It supports optional custom aliases and is particularly suitable for AI agents operating with crypto wallets on Base, using the x402 payment protocol for seamless micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:33:46.843Z","isFirstParty":false}