Developer API
Built for scale. Integrated in minutes.
Introduction
Welcome to the URLy API. Our RESTful API allows you to programmatically shorten URLs, track performance, and manage your links from your own applications.
The base URL for all API requests is https://urly.ing/api/v1. All requests must be made over HTTPS.
Authentication
To use the API, you need an API Token. You can generate or find your token in your User Dashboard.
Never share your API token in client-side code or public repositories. Always make API calls from your server.
Shorten URL
Create a new shortened link with optional customization like custom aliases and passwords.
| Parameter | Type | Requirement | Description |
|---|---|---|---|
url |
STRING | REQUIRED | The destination URL you want to shorten. |
alias |
STRING | OPTIONAL | Custom slug (e.g. "my-link"). |
password |
STRING | PREMIUM | Password to protect the link. |
Link Statistics
Retrieve detailed analytical data for any link you've created.
WordPress Integration
Integrating URLy with your WordPress website is seamless. You can use our official plugin or make simple wp_remote_post calls in your theme's functions.php.