shorten.rest

Introduction The Shorten.rest API allows you to programmatically create short URLs (an 'alias') for longer URL (a 'destination'). Each alias you create can be used to redirect the end user (person clicking on the link) to one or more destination URLs A default destination

🔑 apikey 7 endpoints developer_tools
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (7 total)

pip install url-shortener-sdk-python
npm install url-shortener
npm install url-shortener-sdk-js
go get github.com/LinksGPT/url-shortener-sdk-go
# Maven: see https://github.com/LinksGPT/url-shortener-sdk-java
dotnet add package url-shortener-sdk-csharp
composer require clck-ru-shortener
curl examples
Get clicks
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/clicks
Get alias
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/aliases
Get aliases by domain
curl \
  -H "x-api-key: $API_KEY" \
  https://api.shorten.rest/aliases/all
Endpoints (7 total)
GET
/clicks
Get clicks
GET
/aliases
Get alias
GET
/aliases/all
Get aliases by domain
POST
/aliases
Create alias
POST
/clicks/pg
Get clicks statistics
PUT
/aliases
Update alias
DELETE
/aliases
Delete alias
At a glance
Total SDKs7
Languages7
Endpoints7
Authapikey
Categories1
https://api.shorten.rest