Base URL
Authentication
All API requests require an API key. Include your key in theX-API-Key header:
Get your API key from the Compresto Dashboard.
Available Endpoints
POST /v1/compress
Compress an image with quality and format options
GET /v1/usage
Check your API usage statistics
Rate Limits
The API enforces per-user rate limits based on your subscription plan:- Rate limits are enforced per user
- Monthly quotas reset on the 1st of each month
- Use the
/v1/usageendpoint to check your current usage

