Paste any public URL to verify gzip or brotli compression instantly.
Developer tools
Compression API for
developers
Integrate compression checking into your applications, CI/CD pipelines, and monitoring tools with our simple REST API.
1,000 req/month
Always Free
Instant Access
Get started
Your API key
in 30 seconds
No credit card required. No complex setup. Just enter your email and start integrating compression checking into your workflow.
Free tier: 1,000 requests/month • No credit card required
Quick start example
POST https://checkgzipcompression.net/api/check
curl -X POST https://checkgzipcompression.net/api/check \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'Instant results
Get compression analysis in under 2 seconds
99.9% uptime
Reliable infrastructure you can depend on
Simple REST API
Works with any language or framework
Documentation
Simple REST API for
compression testing
Everything you need to integrate compression checking into your applications and workflows.
Primary endpoint
Check any URL
instantly
POST a URL and get detailed compression analysis in under 2 seconds. Perfect for monitoring, CI/CD, and automated testing.
POST
/api/checkRequest Body
{"url": "https://example.com"}Response
{
"ok": true,
"url": "https://example.com",
"finalUrl": "https://example.com",
"status": 200,
"hasGzip": true,
"contentEncoding": "br",
"measuredRawSize": 32609,
"estimatedGzipSize": 6591,
"savingsPct": 79.79
}Full example
cURL
curl -X POST \
https://checkgzipcompression.net/api/check \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com"}'< 2 second response
Lightning fast compression analysis
Detailed metrics
Size savings, encoding type, and more
Production ready
99.9% uptime with global CDN
Usage limits
Fair usage
policy
Monthly requests
Resets on the 1st of each month
1,000
Rate limit
Requests per minute window
10
Batch requests
Maximum URLs per batch call
10
HTTP responses
200
Success
Request completed successfully with data
401
Unauthorized
Invalid, missing, or expired API key
429
Rate Limited
Too many requests, please slow down
Integration
Works with
everything
JavaScript
fetch API
const apiBase = 'https://checkgzipcompression.net';
const response = await fetch(`${apiBase}/api/check`, {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + apiKey,
'Content-Type': 'application/json'
},
body: JSON.stringify({url: 'https://example.com'})
});
const data = await response.json();
console.log(data.savingsPercent + '% savings');Python
requests
import requests
apiBase = 'https://checkgzipcompression.net'
r = requests.post(f'{apiBase}'/api/check',
headers={'Authorization': f'Bearer {api_key}'},
json={'url': 'https://example.com'})
print(f"{r.json()['savingsPercent']}% savings")Check your site’s compression now
No signup required, no personal data collected. Just enter your URL and get instant results.