{}Compresskit.net
API Reference

Integrate image compression in minutes

Create an API key from your dashboard, bind your domain, and send images to the compression endpoint.

Health

GET /api/health.php

Check API availability.

Presets

GET /api/presets.php

List balanced, smallest, shop, social, and high quality presets.

System

GET /api/system.php

View server capabilities such as WebP and AVIF support.

Register domain

POST /api/register-domain.php

Bind a domain to an API key according to the active plan.

Compress image

POST /api/compress.php with X-API-Key header and a multipart image file.

The response includes download URL, preview URL, original size, compressed size, savings percentage, dimensions, and MIME metadata.