REST API Documentation

Explore our powerful API endpoints and integrate Visolix Downloader into your applications.

Download Endpoint

HTTP Method: GET

URL: https://developers.visolix.com/api/download

Headers

Header Description
X-API-KEY Your API key (required)
X-PLATFORM The platform for the download (e.g., youtube, instagram) (required)
X-URL The encoded URL of the content to download (required)
X-FORMAT The desired format (required for YouTube URLs only)

Request Example

GET https://developers.visolix.com/api/download
Headers:
    X-API-KEY: Your API key
    X-PLATFORM: youtube
    X-URL: https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dabcd1234
    X-FORMAT: mp3

Response

Returns a JSON object containing the download information.

Response Properties
  • success: A boolean value indicating the success of the download operation.
  • id: A unique identifier for the download request.
  • info: An object containing additional information about the downloaded content.

Status Codes

Code Description
200 OK Successful response.
400 Bad Request Missing or invalid parameters.
401 Unauthorized Invalid API key.
402 Payment Required Insufficient balance.
500 Internal Server Error Server error.

Progress Endpoint

HTTP Method: GET

URL: https://developers.visolix.com/api/progress

Query Parameters

Parameter Description
id The unique ID for the download (required)

Request Example

GET https://developers.visolix.com/api/progress?id=abcd1234

Response

Returns a JSON object containing the progress information.

Response Properties
  • progress: Progress of the download in percentage. (0 to 1000; 1000 = 100%)
  • download_url: The URL to download the file. (optional)
  • success: Indicates if the operation was successful. (1 for success, 0 for failure)
  • text: Status of the Download in text

Response Example

{
  "progress": 500,
  "success": 0,
  "download_url": null,
  "text": "Downloading"
}

Status Codes

Code Description
200 OK Successful response.
400 Bad Request Missing download ID.
401 Unauthorized Invalid API key.
500 Internal Server Error Server error.

Pricing

Platform Price per Download
youtube $0.00060
instagram $0.00060
tiktok $0.00012
facebook $0.00060
snapchat $0.00009

Usage Examples