Linkly's APIs
Looking for a high-level overview? See the URL shortener API marketing overview for features, pricing, and code examples in six languages.
For magic-link, password-reset, and other transactional integration patterns, see the transactional link shortener.
Linkly provides four ways to integrate with your applications:
- 1Link Shortening API - Create, update, and manage links programmatically
- 2Analytics API - Export click data and traffic reports
- 3QR Code Generator API - Generate QR code images via URL or REST API
- 4Webhooks - Real-time click notifications
For no-code integrations, see our Zapier integration.
Link shortening API
The Link Shortening API allows you to create, update, and manage links programmatically.
- Create single or bulk links (up to 1000 per request)
- Configure rotators, geo-redirects, and device redirects
- Set UTM parameters, Open Graph tags, and custom domains
- Rate limit: 20 requests/second (200/second available on request)
View Link Shortening API Documentation →
Analytics API
The Analytics API allows you to export click data and traffic reports.
- Export raw click data with full parameters, timestamps, and geolocation
- Generate API requests directly from the Linkly interface
- Rate limit: 200 queries/hour
View Analytics API Documentation →
QR code generator API
Generate QR code images programmatically. Append .qr.png to any short link for instant access, or use the authenticated endpoint for custom styles.
- Public URL: no authentication required
- Supports custom colors, styles, and logos
- Rate limit: 5 requests/second per IP
View QR Code Generator API Documentation →
Webhooks
Webhooks send real-time POST requests to your specified URL(s) when clicks occur.
- Link-level webhooks for specific links
- Workspace-level webhooks for all links
- Detailed click payload including country, device, browser, and more
OpenAPI specification
Linkly's APIs are documented using the OpenAPI 3.0 standard.
Postman collection
Import Linkly's API into Postman for instant exploration — no code required. The collection mirrors the OpenAPI spec, with pre-configured requests for every endpoint and example payloads you can edit and re-fire in seconds.
- Try every endpoint from the Postman UI
- Pre-filled example payloads — just paste your API key
- Stays in sync with the production API
Authorization
All API requests require:
- Your API Key
- Workspace ID
Plan availability
Included on every plan
Get 100 short links and track 500 monthly clicks for free.