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

Authentication

All API requests require an API key. Include your key in the X-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

Plans and Limits

  • Monthly quotas are shared across all of an account’s API keys and reset on the 1st of each month (UTC).
  • Pro and Business keep working past the quota. Extra requests are billed with your next renewal. As a safeguard against a leaked key, paid accounts pause at 10× their quota (safety_limit_reached) until you contact support.
  • Rate limits are per minute and, like the quota, shared across all of an account’s API keys.
  • Use the /v1/usage endpoint to check your current usage. Manage your plan at compresto.app/dashboard/billing.

Response Codes

Support

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