Shortlink API

Dokumentasi resmi Shortlink API dari Maelyn API untuk memperpendek URL panjang

Base Information

  • BASE_URL_API: https://api.maelyn.eu/api
  • Path / Endpoint: /tools/shortlink
  • Method: GET
  • Credit Usage: 1

Authentication

Gunakan header berikut pada setiap request:

x-maelyn-auth: YOUR_API_KEY

Query Parameters

Example Request

GET /tools/shortlink?url=https://example.com/artikel-yang-sangat-panjang

Parameters

NameTypeRequiredDescription
urlstringYesURL http/https (max 2000 char).

Example Usage

GET /tools/shortlink?url=https://example.com

Success Response

{
  "success": true,
  "data": {
    "original": "https://example.com",
    "short_url": "https://cleanuri.com/qnLwMj"
  }
}

Playground