Zero friction. Zero storage. Convert any long URL into a clean, permanent short link in seconds.
One endpoint. Instant results. Drop it into any language, any framework, any workflow.
{ "longUrl": "https://your-url.com" }
{ "shortUrl": "https://snivio.vercel.app/xYz1234" }
const res = await fetch( 'https://snivio.vercel.app/shorten', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ longUrl: 'https://google.com' }) } ); const { shortUrl } = await res.json(); console.log(shortUrl);
import requests res = requests.post( 'https://snivio.vercel.app/shorten', json={'longUrl': 'https://google.com'} ) short_url = res.json().get('shortUrl') print(short_url)
curl -X POST \ https://snivio.vercel.app/shorten \ -H 'Content-Type: application/json' \ -d '{"longUrl":"https://google.com"}'
url — URL-encoded long URL Example: GET /api/v1/short?url=https%3A%2F%2Fgoogle.com
{ "shortUrl": "https://snivio.vercel.app/xYz1234" }