Integrate our industrial-strength image compression, format conversion, and PDF management engines directly into your applications using our high-performance HTTP REST API.
1. Authentication
To begin using the developer API, generate an API Key from your account dashboard. Authorize your HTTP requests by including the security key header:
X-API-Key: pk_live_your_secret_api_key
2. Endpoints
A. PDF Compression
POST /api/v1/pdf/compress
Upload and compress any PDF file. Returns a secure cryptographical down-scaled download URL.
- Request Body: Multi-part Form Data containing
file - Response: JSON object containing
success,downloadUrl, and compression stats.
B. Image Conversion
POST /api/v1/image/convert
Convert uploaded image files to specified output extensions.
- Form Parameters:
file,targetFormat(e.g.png)
3. Code Example (cURL)
curl -X POST https://api.zilotools.com/v1/pdf/compress \
-H "X-API-Key: your_api_key_here" \
-F "file=@document.pdf"
4. Usage Limitations
- Free Tier: Limited to 60 queries/hour.
- Pro/Enterprise: Custom limits starting from 10,000 queries/hour.