Image Optimizer
Compress and resize images without losing quality. Supports WebP conversion.
Utility
Premium
Overview
Integrate the Image Optimizer into your applications with ease. This API offers high performance, reliability, and comprehensive documentation to get you started quickly.
Features
- 99.9% Uptime Guarantee
- 1,000+ requests per hour
- JSON formatted responses
- Secure HTTPS endpoints
- Real-time data processing
Endpoints
GET
https://devapi.autoplannerx.com/api/v1/image-optimizer
Returns a sample response for this API
Code Examples
Pick an endpoint and a language. Replace YOUR_API_KEY with a key from your dashboard.
curl -X GET "https://devapi.autoplannerx.com/api/v1/image-optimizer" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://devapi.autoplannerx.com/api/v1/image-optimizer', {
method: 'GET',
headers: {
'X-API-Key': 'YOUR_API_KEY'
}
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status}`);
}
const data = await response.json();
console.log(data);
// Node.js 18+ as an ES module (.mjs). Set DEVAPI_KEY in your environment.
const response = await fetch('https://devapi.autoplannerx.com/api/v1/image-optimizer', {
method: 'GET',
headers: {
'X-API-Key': process.env.DEVAPI_KEY
}
});
if (!response.ok) {
throw new Error(`Request failed: ${response.status}`);
}
console.log(await response.json());
<?php
$ch = curl_init('https://devapi.autoplannerx.com/api/v1/image-optimizer');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'X-API-Key: YOUR_API_KEY',
],
]);
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($status !== 200) {
die('Request failed: ' . $response);
}
$data = json_decode($response, true);
print_r($data);
import requests
response = requests.get(
"https://devapi.autoplannerx.com/api/v1/image-optimizer",
headers={"X-API-Key": "YOUR_API_KEY"},
)
response.raise_for_status()
print(response.json())
Try It
Requests go to the live gateway with your key. They count toward your rate limit and are billed like any other call ($0.0400 per call before account discounts). Your key is only used for this request and is never saved.