{
"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": []
}
| Field | Type | Description |
success | boolean | Always true on success. |
fileName | string | Original filename of the file. |
sizeBytes | integer | File size in bytes. |
mime | string | MIME type of the file. |
host | string | Name of the detected file host. |
originalUrl | string | The original link you submitted. |
downloadUrl | string | โก Direct download link โ use this URL to download the file. |
expiresAt | string | ISO 8601 timestamp when the download link expires. |
ttlSeconds | integer | Seconds until the link expires (86400 = 24 hours). |
warnings | array | Optional warning messages (usually empty). |
{
"success": false,
"fileName": "",
"sizeBytes": 0,
"message": "LINK_DOWN",
"host": "rapidgator",
"originalUrl": "https://yourhost",
"expiresAt": "2026-04-23T15:37:08.496Z",
"ttlSeconds": 86400,
"warnings": []
}
| Field | Type | Description |
success | boolean | Always false on failure. |
message | string | Error code indicating the reason for failure. |
fileName | string | Empty string on failure. |
sizeBytes | integer | 0 on failure. |
host | string | Detected file host name. |
originalUrl | string | The original link you submitted. |