Integrate link shortening, QR codes, and analytics into your applications with our simple REST API. Create and manage links programmatically.
curl -X POST "https://snipy.com/api/url/add" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/long-url",
"custom": "my-alias",
"type": "direct"
}'{
"error": 0,
"data": {
"id": 12345,
"shorturl": "https://snipy.com/my-alias",
"longurl": "https://example.com/long-url",
"click": 0,
"date": "2026-02-27"
}
}All API requests require authentication using a Bearer token. Generate your API key from the dashboard settings. Include it in the Authorization header.
Authorization: Bearer YOUR_API_KEY
{ "error": 0, "data": { ... } }{ "error": 1, "message": "..." }{ "error": 0, "data": { "result": [...] } }Complete reference of all API endpoints.
/api/url/addCreate a new short link with custom alias, targeting, and more.
/api/urlsList all your short links with pagination and filtering.
/api/url/:idGet details for a specific short link.
/api/url/:id/updateUpdate an existing short link's destination, alias, or settings.
/api/url/:id/deleteDelete a short link permanently.
/api/url/:id/statsGet click statistics, country breakdown, and analytics for a link.
/api/qr/addGenerate a QR code for any URL with custom branding.
/api/accountGet your account details and usage stats.
Everything you need to integrate Snipy into your workflow.
Generate multiple API keys with different permissions for each integration.
Free plans: 30 req/min. Paid plans: up to 1,000 req/min with burst support.
All responses are in JSON format with consistent error handling and pagination.
Get real-time notifications for link clicks, QR scans, and other events.
Pre-built integrations with Zapier, Slack, WordPress, and more.
Create, update, or delete multiple links in a single API call.
Join 150,000+ marketers, creators, and businesses who trust Snipy for smarter link management.