REST API ยท v1

GetLinkPro - API

Generate direct download links from supported file hosting services with a single API call.

Endpoint
POST https://api.getlinkpro.net/api/generate
Authentication
API Key Header
Content-Type
application/json
Header Name
X-Api-Key
Response Format
JSON
JSON
{"link": "https://rapidgator.net/file/...", "password": ""}
Parameter Type Required Description
link string Required The URL of the file you want to unlock from the supported file host.
password string Optional Password for the file, if it is password-protected. Leave empty if not needed.
Example Request
cURL
curl --location 'https://api.getlinkpro.net/api/generate' \
     --header 'Content-Type: application/json' \
     --header 'X-Api-Key: YOUR_API_KEY' \
     --data '{"link":"https://rapidgator.net/file/...","password":""}'
Response
JSON
{
                    "success": true,
                    "fileName": "filename.zip",
                    "sizeBytes": 5476083302,
                    "mime": "application/octet-stream",
                    "host": "rapidgator",
                    "originalUrl": "https://yourhost",
                    "downloadUrl": "https://urldownload",
                    "expiresAt": "2026-04-23T15:34:41.342Z",
                    "ttlSeconds": 86400,
                    "warnings": []
}
FieldTypeDescription
successbooleanAlways true on success.
fileNamestringOriginal filename of the file.
sizeBytesintegerFile size in bytes.
mimestringMIME type of the file.
hoststringName of the detected file host.
originalUrlstringThe original link you submitted.
downloadUrlstringโšก Direct download link โ€” use this URL to download the file.
expiresAtstringISO 8601 timestamp when the download link expires.
ttlSecondsintegerSeconds until the link expires (86400 = 24 hours).
warningsarrayOptional warning messages (usually empty).
JSON
{
                    "success": false,
                    "fileName": "",
                    "sizeBytes": 0,
                    "message": "LINK_DOWN",
                    "host": "rapidgator",
                    "originalUrl": "https://yourhost",
                    "expiresAt": "2026-04-23T15:37:08.496Z",
                    "ttlSeconds": 86400,
                    "warnings": []
}
FieldTypeDescription
successbooleanAlways false on failure.
messagestringError code indicating the reason for failure.
fileNamestringEmpty string on failure.
sizeBytesinteger0 on failure.
hoststringDetected file host name.
originalUrlstringThe original link you submitted.
Error Codes
LINK_HOST_NOT_SUPPORTED
Unsupported host.
LINK_DOWN
The file is not available on the host.
LINK_NOT_SUPPORTED
Your file requires a subscription to download. We only support the default premium.
NO_SERVER
The server is undergoing maintenance, please try again later!
LINK_HOST_UNAVAILABLE
The host file you downloaded is under maintenance, please try a different host!
MUST_BE_PREMIUM
Your account free, please upgrade premium to download!
LINK_HOST_LIMIT_OVER
You've reached the limit, you need more than 1 Premium day to exceed the size limit.
LINK_HOST_LIMIT_SIZE
The limit has been reached, your download link has exceeded the allowed size.
LINK_HOST_LIMIT_REACHED
You have reached the day limit for this host, please try a different host!
LIMIT_BW_DAILY
You have reached your limit, you have used up your daily download allowance.
SERVER_BUSY
Server is busy.
Try It

๐Ÿš€ Test the API

Send a live request directly from your browser. Your API key is never stored.