serpapi-python icon indicating copy to clipboard operation
serpapi-python copied to clipboard

Support compression (gzip)

Open NateSkiles opened this issue 2 months ago • 0 comments

A customer requested that we add the ability to return compressed search results. Currently, we support this through CURL requests when setting the Accept-Encoding header to gzip.

curl -H "Accept-Encoding: gzip" -D - \
  "https://serpapi.com/search?api_key=YOUR_API_KEY&engine=google&q=Coffee&location=Austin,+Texas,+United+States&google_domain=google.com&gl=us&hl=en&no_cache=true" \
  -o output.json.gz

Front

NateSkiles avatar Oct 30 '25 19:10 NateSkiles