{"uid":"cap_9dDmDZq420K9vsYLb6VNI","slug":"omniapi-ai-url-shortener-188e27bb","name":"OmniAPI AI 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/ai/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.073094","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.073094/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.073094","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.073094","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dnMfpWyu-ddwDkw_vavb2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.073094","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 using an AI-powered tool endpoint","exampleAgentPrompt":"Can you shorten this long URL for me so I can share it more easily: https://www.example.com/some/very/long/path?with=lots&of=query&parameters=true","exampleUseCases":[{"title":"Shorten link for social media post","prompt":"I want to tweet about this article but the URL is way too long — can you shorten https://www.nytimes.com/2024/01/15/technology/artificial-intelligence-regulation-news-update.html so it fits?"},{"title":"Compact affiliate link for newsletter","prompt":"I have this affiliate link that's really messy and long — can you shorten https://www.amazon.com/dp/B09XYZ1234?tag=myaffiliate-20&linkCode=ogi&th=1&psc=1 into something cleaner for my email newsletter?"},{"title":"Share a report URL in a chat message","prompt":"Can you make a short link out of this Google Docs report URL so I can paste it quickly into Slack? Here it is: https://docs.google.com/document/d/1aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789/edit?usp=sharing"}],"resultDescription":"Returns a shortened URL object containing the compact short link corresponding to the provided long URL input, suitable for sharing on social media, messages, or anywhere character count is limited.","failureModes":["Invalid or malformed URL input returns an error response","Missing required 'query' field causes a 400-level validation error","Service unavailability or upstream shortener failure returns a 5xx error","Rate limiting or payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call URL shortening service that accepts crypto micropayments via x402 and requires no upfront subscription. Useful in agent workflows that occasionally need to shorten URLs without integrating a dedicated shortening service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:02.554Z","isFirstParty":false}