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
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/usageendpoint to check your current usage. Manage your plan at compresto.app/dashboard/billing.

