LitescrapeGoogleSEO/AEO

Search Google

litescrape.google.serp.organic

Returns a Google results page as JSON: organic results plus every other result group Google served, such as ads, AI Overview, knowledge graph, and local results

Price
$0.00015/successAt provider cost
Success rate
63.9%Last 30 days · 168,903 calls
Latency p50
4.4 sp95 38 s
Last verified
Sep 29, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentationPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
qstringOptionalSearch query, up to 2,048 characters. Required unless ludocid or kgmid is supplied.coffee shops in Austin
crstringOptionalCountry restriction: one or more countryXX values joined with |, such as countryUS.countryUS
glstringOptionalLowercase two-letter country code used to localize results.us
hlstringOptionalGoogle interface and result language, such as en, en-US, or de. Defaults to en.en
lrstringOptionalLanguage restriction: one or more lang_xx values joined with |, such as lang_en.lang_en
oqstringOptionalOriginal query text from a Google URL, up to 2,048 characters; forwarded unchanged.
sistringOptionalOpaque cached Google search context, up to 4,096 characters.
ibpstringOptionalGoogle layout or expansion control, up to 4,096 characters.
latnumberOptionalLatitude between -90 and 90. Supply with lon; conflicts with location and uule.30.2672
lonnumberOptionalLongitude between -180 and 180. Supply with lat; conflicts with location and uule.-97.7431
numintegerOptionalRequested result count, 1 to 10. A best-effort hint: Google may return fewer rows, and results are never padded.
pwsstringOptionalGoogle personalization flag: 0 or 1. 0 asks for non-personalized results.
tbmstringOptionalGoogle vertical: lcl, vid, nws, shop, or pts. Google Images (isch) is rejected with 400 unsupported_search_vertical.
tbsstringOptionalGoogle search-filter string, such as qdr:w, up to 4,096 characters.
udsstringOptionalOpaque Google filter token, up to 4,096 characters.
as_qstringOptionalAdditional terms that must all match, up to 2,048 characters.
lsigstringOptionalOpaque Google local or Knowledge Graph signature, up to 4,096 characters.
nfprstringOptionalSet 1 to disable Google spelling auto-correction, or 0 to allow it.
safestringOptionalGoogle adult-content filtering: active or off.
uulestringOptionalPre-encoded Google location token, up to 2,048 characters. Use only one of location, uule, or lat and lon.
as_dtstringOptionalInclude (i) or exclude (e) the as_sitesearch host. Requires as_sitesearch.
as_eqstringOptionalWords the results must not contain, up to 2,048 characters.
as_lqstringOptionalReturn pages that link to this complete HTTP(S) URL.
as_oqstringOptionalAdditional terms of which any may match, up to 2,048 characters.
as_rqstringOptionalReturn pages related to this complete HTTP(S) URL.
gs_lpstringOptionalOpaque Google autocomplete-session value from a Google URL, up to 4,096 characters; forwarded unchanged.
kgmidstringOptionalGoogle Knowledge Graph machine ID, such as /m/0k8z. Can replace q./m/0k8z
startintegerOptionalResult offset for pagination. Defaults to 0.10
as_epqstringOptionalExact phrase the results must contain, up to 2,048 characters.
as_nhiintegerOptionalUpper bound of a number range. Supply with as_nlo.
as_nlointegerOptionalLower bound of a number range. Supply with as_nhi.
as_qdrstringOptionalDate range: d, w, m, or y with an optional positive count, such as m3 for the past three months.m3
devicestringOptionalGoogle returns its real layout for the selected device: desktop, tablet, or mobile.desktop
filterstringOptionalGoogle similar-results filtering: 0 or 1.
radiusnumberOptionalSearch radius in meters around location or lat and lon, which it requires. 1 to 199 on desktop, 1 to 1,000 on tablet or mobile.
ludocidstringOptionalDecimal Google CID for a local entity search. Can replace q.1234567890123456789
sclientstringOptionalGoogle client label such as gws-wiz-serp: up to 64 letters, digits, dots, underscores, or hyphens.
timeoutnumberOptionalOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
locationstringOptionalHuman-readable search location, up to 512 characters. Use only one of location, uule, or lat and lon.Austin, Texas, United States
peek_pwsstringOptionalGoogle personalization companion flag: 0 or 1, forwarded to Google unchanged.
fast_modebooleanOptionalSet true to return only organic_results, search_metadata, and search_parameters, skipping AI Overview and all other result groups. Only lowercase true or false are accepted.
color_schemestringOptionalGoogle's light or dark result presentation.
as_sitesearchstringOptionalHostname to include or exclude, such as example.com. A hostname, not a URL.example.com
google_domainstringOptionalA Google domain from Google's supported list, such as google.com or google.co.uk.google.com
  • Query parameters
  • qstringOptional

    Search query, up to 2,048 characters. Required unless ludocid or kgmid is supplied.

    Example: coffee shops in Austin

  • crstringOptional

    Country restriction: one or more countryXX values joined with |, such as countryUS.

    Example: countryUS

  • glstringOptional

    Lowercase two-letter country code used to localize results.

    Example: us

  • hlstringOptional

    Google interface and result language, such as en, en-US, or de. Defaults to en.

    Example: en

  • lrstringOptional

    Language restriction: one or more lang_xx values joined with |, such as lang_en.

    Example: lang_en

  • oqstringOptional

    Original query text from a Google URL, up to 2,048 characters; forwarded unchanged.

  • sistringOptional

    Opaque cached Google search context, up to 4,096 characters.

  • ibpstringOptional

    Google layout or expansion control, up to 4,096 characters.

  • latnumberOptional

    Latitude between -90 and 90. Supply with lon; conflicts with location and uule.

    Example: 30.2672

  • lonnumberOptional

    Longitude between -180 and 180. Supply with lat; conflicts with location and uule.

    Example: -97.7431

  • numintegerOptional

    Requested result count, 1 to 10. A best-effort hint: Google may return fewer rows, and results are never padded.

  • pwsstringOptional

    Google personalization flag: 0 or 1. 0 asks for non-personalized results.

  • tbmstringOptional

    Google vertical: lcl, vid, nws, shop, or pts. Google Images (isch) is rejected with 400 unsupported_search_vertical.

  • tbsstringOptional

    Google search-filter string, such as qdr:w, up to 4,096 characters.

  • udsstringOptional

    Opaque Google filter token, up to 4,096 characters.

  • as_qstringOptional

    Additional terms that must all match, up to 2,048 characters.

  • lsigstringOptional

    Opaque Google local or Knowledge Graph signature, up to 4,096 characters.

  • nfprstringOptional

    Set 1 to disable Google spelling auto-correction, or 0 to allow it.

  • safestringOptional

    Google adult-content filtering: active or off.

  • uulestringOptional

    Pre-encoded Google location token, up to 2,048 characters. Use only one of location, uule, or lat and lon.

  • as_dtstringOptional

    Include (i) or exclude (e) the as_sitesearch host. Requires as_sitesearch.

  • as_eqstringOptional

    Words the results must not contain, up to 2,048 characters.

  • as_lqstringOptional

    Return pages that link to this complete HTTP(S) URL.

  • as_oqstringOptional

    Additional terms of which any may match, up to 2,048 characters.

  • as_rqstringOptional

    Return pages related to this complete HTTP(S) URL.

  • gs_lpstringOptional

    Opaque Google autocomplete-session value from a Google URL, up to 4,096 characters; forwarded unchanged.

  • kgmidstringOptional

    Google Knowledge Graph machine ID, such as /m/0k8z. Can replace q.

    Example: /m/0k8z

  • startintegerOptional

    Result offset for pagination. Defaults to 0.

    Example: 10

  • as_epqstringOptional

    Exact phrase the results must contain, up to 2,048 characters.

  • as_nhiintegerOptional

    Upper bound of a number range. Supply with as_nlo.

  • as_nlointegerOptional

    Lower bound of a number range. Supply with as_nhi.

  • as_qdrstringOptional

    Date range: d, w, m, or y with an optional positive count, such as m3 for the past three months.

    Example: m3

  • devicestringOptional

    Google returns its real layout for the selected device: desktop, tablet, or mobile.

    Example: desktop

  • filterstringOptional

    Google similar-results filtering: 0 or 1.

  • radiusnumberOptional

    Search radius in meters around location or lat and lon, which it requires. 1 to 199 on desktop, 1 to 1,000 on tablet or mobile.

  • ludocidstringOptional

    Decimal Google CID for a local entity search. Can replace q.

    Example: 1234567890123456789

  • sclientstringOptional

    Google client label such as gws-wiz-serp: up to 64 letters, digits, dots, underscores, or hyphens.

  • timeoutnumberOptional

    Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.

  • locationstringOptional

    Human-readable search location, up to 512 characters. Use only one of location, uule, or lat and lon.

    Example: Austin, Texas, United States

  • peek_pwsstringOptional

    Google personalization companion flag: 0 or 1, forwarded to Google unchanged.

  • fast_modebooleanOptional

    Set true to return only organic_results, search_metadata, and search_parameters, skipping AI Overview and all other result groups. Only lowercase true or false are accepted.

  • color_schemestringOptional

    Google's light or dark result presentation.

  • as_sitesearchstringOptional

    Hostname to include or exclude, such as example.com. A hostname, not a URL.

    Example: example.com

  • google_domainstringOptional

    A Google domain from Google's supported list, such as google.com or google.co.uk.

    Example: google.com

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentation' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.00015/success, including the service fee.