Developer API: Integrate TOXcloud seamlessly into your applications. Upload new Google Drive links programmatically using GET or POST requests.

Authentication & Base URL

All API requests must be authenticated. You can pass your API Key in one of three ways: via the URL query parameter (?api_key=), the X-API-Key header, or the standard Authorization: Bearer header.

Base API URL https://api.toxcloud.dpdns.org/

Upload Google Drive Link

Submit a Google Drive URL via GET or POST to process it across all your active proxy servers automatically.

GET POST https://api.toxcloud.dpdns.org/
Parameter Location Type Description
api_key
Required
Query / Header String Your account API key for authentication.
driveUrl
Required
Query (GET) / JSON Body (POST) String The direct Google Drive link you want to process. (You can also use url as key).
# cURL Example: Upload a file via GET (URL Parameters)
curl -X GET "https://api.toxcloud.dpdns.org/?api_key=YOUR_API_KEY_HERE&driveUrl=https://drive.google.com/file/d/1A2B3C4D5E/view"
# cURL Example: Upload a file via POST (JSON Body)
curl -X POST "https://api.toxcloud.dpdns.org/" \
     -H "Authorization: Bearer YOUR_API_KEY_HERE" \
     -H "Content-Type: application/json" \
     -d '{"driveUrl": "https://drive.google.com/file/d/1A2B3C4D5E/view"}'
// PHP cURL Example (Upload via POST)
$ch = curl_init();
$payload = json_encode(["driveUrl" => "https://drive.google.com/file/d/1A2B3C4D5E/view"]);

curl_setopt($ch, CURLOPT_URL, "https://api.toxcloud.dpdns.org/");
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
    "X-API-Key: YOUR_API_KEY_HERE",
    "Content-Type: application/json"
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
curl_close($ch);

Response Format (JSON)

The API returns standard JSON responses. Always check the success boolean to verify the result of your action.

// Success Response (Upload GET / POST)
{
    "success": true,
    "id": "abc123xy",
    "title": "Movie_Title.mp4",
    "message": "File processed successfully. Retrieval links are being generated."
}

// Error Response (HTTP 400 / 401 / 500)
{
    "success": false,
    "error": {
        "code": "UNAUTHORIZED",
        "message": "Authentication failed. A valid API key is required."
    }
}
Processing...