{"uid":"cap__9VWA41Wnl_aFCVrVZF3B","slug":"nexusapi-ai-url-shortener-fe16d594","name":"NexusAPI AI URL Shortener","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-peach-nine.vercel.app/api/ai/shorten?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.113406","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.113406/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.113406","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.113406","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_A4oYYdMi4it2Rd8wvGAU5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.113406","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 shortening service","exampleAgentPrompt":"Can you shorten this URL for me so I can share it easily: https://www.example.com/very/long/path/to/some/article?utm_source=newsletter&utm_medium=email&utm_campaign=spring2025","exampleUseCases":[{"title":"Generate shareable links for social media posts","prompt":"I'm posting about our new product launch across Twitter and LinkedIn. Can you shorten these long URLs so they fit better in my posts and look cleaner: https://www.ourcompany.com/products/new-ai-tool-2025?referral=social_campaign and https://www.ourcompany.com/blog/launch-announcement-detailed-guide?utm_source=linkedin"},{"title":"Create compact URLs for email campaigns","prompt":"I'm sending out a monthly newsletter with several links to blog posts and product pages. Can you make short versions of these URLs so the email doesn't look cluttered: https://www.example.com/resources/comprehensive-guide-to-machine-learning and https://www.example.com/case-studies/enterprise-ai-implementation-success-story?tracking_id=newsletter_march"},{"title":"Shorten links for messaging and chat sharing","prompt":"I need to share a few resource links with my team in Slack but the URLs are super long. Can you create shortened versions that I can paste into our chat: https://www.documentation-site.com/api-reference/v2/authentication-methods/oauth2-implementation-guide and https://www.knowledge-base.com/troubleshooting/common-integration-issues-and-solutions"}],"resultDescription":"A shortened URL or compact link that redirects to the original long URL, returned as an API response object","failureModes":["Invalid or malformed URL input returns an error response","Empty query field results in a bad request error","Unreachable or non-existent URLs may fail validation","Payment failure (insufficient USDC) results in 402 response before processing","Rate limiting or service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need to shorten URLs programmatically within an AI agent workflow, especially when no API key is available and you want to pay per call in USDC on Base. Best suited for one-off URL shortening tasks integrated into automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T06:35:58.836Z","isFirstParty":false,"canonicalSlug":"nexusapi-ai-url-shortener-fe16d594"}