Skip to main content
The Compresto API provides programmatic image compression for your applications. Compress images on-the-fly with simple REST endpoints.

Base URL

https://api.compresto.app

Authentication

All API requests require an API key. Include your key in the X-API-Key header:
curl -H "X-API-Key: ck_your_api_key" https://api.compresto.app/v1/compress
Get your API key from the Compresto Dashboard.

Available Endpoints

Rate Limits

The API enforces per-user rate limits based on your subscription plan:
PlanRate LimitMonthly Quota
Free60 req/min500 requests
Pro60 req/min5,000 requests
  • Rate limits are enforced per user
  • Monthly quotas reset on the 1st of each month
  • Use the /v1/usage endpoint to check your current usage

Response Codes

CodeDescription
200Success
400Bad request - invalid parameters
401Unauthorized - invalid or missing API key
429Rate limit exceeded (per-minute) or monthly quota exceeded
500Server error

Support

Need help? Contact us at support@compresto.app or visit compresto.app.