Snip URL API
Build powerful integrations with the Snip URL platform. Create short links, track analytics, generate QR codes, and manage your account — all programmatically.
Base URL: https://snipurl.click/api/v1
Authentication: Bearer token (API key)
Rate Limits: 60 req/min · 1,000 req/hr per key
Quick Example
curl -X POST https://snipurl.click/api/v1/links \
-H "Authorization: Bearer snip_live_your_key_here" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com/very/long/path"}'Response:
{
"success": true,
"data": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"short_code": "abc123",
"short_url": "https://snipurl.click/abc123",
"original_url": "https://example.com/very/long/path",
"created_at": "2024-01-15T10:30:00Z"
}
}What You Can Build
| Category | Description | Endpoints |
|---|---|---|
| Link Management | Create, update, delete, and list short links with custom aliases, passwords, and expiration | 7 endpoints |
| Click Analytics | Track clicks with breakdowns by country, device, browser, OS, and referrer | 2 endpoints |
| QR Codes | Generate customizable QR codes in PNG or SVG with custom colors and sizes | 1 endpoint |
| Account | Monitor API usage, check limits, and view account details | 2 endpoints |
Getting Started
Get your API key
Sign in to the Snip URL dashboard and create an API key. You can have up to 10 keys per account.
Make your first request
Include your API key as a Bearer token in the Authorization header of every request:
Authorization: Bearer snip_live_aBcDeFgHiJkLmNoPqRsTuVwXyZ012345Explore the full API
Browse the complete API reference for all available endpoints, parameters, and response schemas.
All Endpoints
| Endpoint | Method | Description |
|---|---|---|
/links | POST | Create a short link |
/links | GET | List all your links |
/links/:id | GET | Get link details |
/links/:id | PATCH | Update a link |
/links/:id | DELETE | Delete a link |
/links/bulk | POST | Create up to 50 links |
/links/bulk | DELETE | Delete multiple links |
/analytics/:id | GET | Get link click analytics |
/analytics/summary | GET | Account-wide analytics |
/qr/:code | GET | Generate QR code |
/account | GET | Get account info |
/account/usage | GET | Get API usage stats |
Resources
- Authentication Guide — How to create and use API keys
- Rate Limiting — Understanding limits and retry strategies
- Error Handling — Error codes and how to handle them
- SDKs & Libraries — Client libraries for JavaScript, Python, and Go
- Changelog — API version history and updates
Last updated on