{"uid":"cap_7hiwiaVcddPWfCNYpwgEj","slug":"omniapi-url-shortener-82e74355","name":"OmniAPI URL Shortener","description":"444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.","url":"https://omni-api-cyan.vercel.app/api/tools/url/shorten","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"input":{"type":"string","description":"Input data for the endpoint"},"query":{"type":"string","description":"Search query or input text"},"params":{"type":"object","description":"Additional parameters"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.048953","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.048953/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.048953","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.048953","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Nv5sBSb-fzDOfVuQE83BT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.048953","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Shortens a long URL into a compact, shareable short link","exampleAgentPrompt":"Can you shorten this URL for me? https://www.example.com/this-is-a-very-long-article-path/with-many-query-params?utm_source=newsletter&utm_medium=email&utm_campaign=spring2025","exampleUseCases":[{"title":"Shorten link for social post","prompt":"I'm about to post on Twitter but my article link is way too long — can you shorten https://www.myblog.com/categories/technology/articles/how-to-build-a-rest-api-in-python-step-by-step-guide-2025 into something shareable?"},{"title":"Compact URL for SMS campaign","prompt":"We're sending out an SMS marketing blast and need a short link — can you shorten https://shop.mybrand.com/sale/summer-collection?promo=SMS25&ref=blast_july so it fits in the message?"},{"title":"Clean up link for presentation","prompt":"I'm putting a URL in a slide deck and it looks terrible — please shorten https://docs.google.com/spreadsheets/d/1aBcDeFgHiJkLmNoPqRsTuVwXyZ/edit?usp=sharing&ouid=123456789 into something clean."}],"resultDescription":"Returns a shortened URL that redirects to the original long URL, typically as a compact link string or object containing the short URL and possibly metadata like creation time or click tracking info.","failureModes":["Invalid or malformed URL input returns an error response","URL is unreachable or non-existent, leading to rejection","Rate limiting or quota exceeded if too many calls are made","Generic schema means the query field may be misinterpreted if not properly formatted as a URL","API may return a vague error if required 'query' field is missing"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call URL shortening service integrated into a crypto-native or x402-payment workflow, without needing a dedicated URL shortening service account. Best when already using OmniAPI for other tools and want a single unified billing interface via USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:00:50.980Z","isFirstParty":false}