Advertisement Space

API Reference

High-Performance Core Engine

v1.5.0

Integration Authentication

Secret Key Required

Authorization is strictly required for every API request via the secret payload property. The system enforces timing-attack protection to guarantee secure data transmission.

Endpoints List

POST

/api/add/

Creates a new shortlink for the given url. If the same URL already exists for the same user_id and domain, the existing shortlink is returned instead (idempotent). The properties user_id, domain, use_mp4, and alias are OPTIONAL. If alias is provided, it must be 3-50 alphanumeric characters (letters and numbers only); if it's already taken, the request returns a 400 Bad Request error. Omitting domain picks a random configured domain.

Request
Response (201)
POST

/api/list/

Returns a paginated list of shortlinks belonging to a specific user. user_id is REQUIRED. page is optional (default: 1). Returns 25 items per page, ordered newest first.

Ultra-Fast Cached Response (Auto-Purges on New Additions)
Request
Response (200)
POST

/api/domain/

Returns the list of shortlink domains configured on this server. Only secret is required. The response is a JSON array of full base URLs (e.g. "https://laju.asia"). Pass any value from this list as the domain field in /api/add/ or /api/bulk-add/.

Ultra-Fast Cached Response
Request
Response (200)
POST

/api/bulk-add/

Creates multiple shortlinks in a single request (max 50 URLs). Send URLs as an array in the urls field. Like /api/add/, existing links are returned instead of duplicated (is_new: false). Invalid URLs per item return an error key instead of being skipped. user_id, domain, and use_mp4 are OPTIONAL.

Request
Response (201)
Advertisement Space
Dakila Software Development Services
Get API Access API Secret Key

Need an API Secret Key?

To get your API secret key and start integrating Dakila Shortlink into your app, contact us directly via Telegram. We'll set you up quickly.

Contact via Telegram

Support Our Infrastructure

Keep Dakila Engine fast, secure, and free forever.

Donate via Saweria