Skip to content

Support compression (gzip) #21

@NateSkiles

Description

@NateSkiles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions