Search Google
litescrape.google.serp.organicReturns 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/successZum Anbieterpreis
- Success rate
- 63,9 %Last 30 days · 168.903 calls
- Latency p50
- 4.4 sp95 38 s
- Last verified
- 29.09.2026Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentationPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
q | Zeichenkette | Optional | Search query, up to 2,048 characters. Required unless ludocid or kgmid is supplied. | coffee shops in Austin |
cr | Zeichenkette | Optional | Country restriction: one or more countryXX values joined with |, such as countryUS. | countryUS |
gl | Zeichenkette | Optional | Lowercase two-letter country code used to localize results. | us |
hl | Zeichenkette | Optional | Google interface and result language, such as en, en-US, or de. Defaults to en. | en |
lr | Zeichenkette | Optional | Language restriction: one or more lang_xx values joined with |, such as lang_en. | lang_en |
oq | Zeichenkette | Optional | Original query text from a Google URL, up to 2,048 characters; forwarded unchanged. | |
si | Zeichenkette | Optional | Opaque cached Google search context, up to 4,096 characters. | |
ibp | Zeichenkette | Optional | Google layout or expansion control, up to 4,096 characters. | |
lat | Zahl | Optional | Latitude between -90 and 90. Supply with lon; conflicts with location and uule. | 30.2672 |
lon | Zahl | Optional | Longitude between -180 and 180. Supply with lat; conflicts with location and uule. | -97.7431 |
num | Ganzzahl | Optional | Requested result count, 1 to 10. A best-effort hint: Google may return fewer rows, and results are never padded. | |
pws | Zeichenkette | Optional | Google personalization flag: 0 or 1. 0 asks for non-personalized results. | |
tbm | Zeichenkette | Optional | Google vertical: lcl, vid, nws, shop, or pts. Google Images (isch) is rejected with 400 unsupported_search_vertical. | |
tbs | Zeichenkette | Optional | Google search-filter string, such as qdr:w, up to 4,096 characters. | |
uds | Zeichenkette | Optional | Opaque Google filter token, up to 4,096 characters. | |
as_q | Zeichenkette | Optional | Additional terms that must all match, up to 2,048 characters. | |
lsig | Zeichenkette | Optional | Opaque Google local or Knowledge Graph signature, up to 4,096 characters. | |
nfpr | Zeichenkette | Optional | Set 1 to disable Google spelling auto-correction, or 0 to allow it. | |
safe | Zeichenkette | Optional | Google adult-content filtering: active or off. | |
uule | Zeichenkette | Optional | Pre-encoded Google location token, up to 2,048 characters. Use only one of location, uule, or lat and lon. | |
as_dt | Zeichenkette | Optional | Include (i) or exclude (e) the as_sitesearch host. Requires as_sitesearch. | |
as_eq | Zeichenkette | Optional | Words the results must not contain, up to 2,048 characters. | |
as_lq | Zeichenkette | Optional | Return pages that link to this complete HTTP(S) URL. | |
as_oq | Zeichenkette | Optional | Additional terms of which any may match, up to 2,048 characters. | |
as_rq | Zeichenkette | Optional | Return pages related to this complete HTTP(S) URL. | |
gs_lp | Zeichenkette | Optional | Opaque Google autocomplete-session value from a Google URL, up to 4,096 characters; forwarded unchanged. | |
kgmid | Zeichenkette | Optional | Google Knowledge Graph machine ID, such as /m/0k8z. Can replace q. | /m/0k8z |
start | Ganzzahl | Optional | Result offset for pagination. Defaults to 0. | 10 |
as_epq | Zeichenkette | Optional | Exact phrase the results must contain, up to 2,048 characters. | |
as_nhi | Ganzzahl | Optional | Upper bound of a number range. Supply with as_nlo. | |
as_nlo | Ganzzahl | Optional | Lower bound of a number range. Supply with as_nhi. | |
as_qdr | Zeichenkette | Optional | Date range: d, w, m, or y with an optional positive count, such as m3 for the past three months. | m3 |
device | Zeichenkette | Optional | Google returns its real layout for the selected device: desktop, tablet, or mobile. | desktop |
filter | Zeichenkette | Optional | Google similar-results filtering: 0 or 1. | |
radius | Zahl | Optional | 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. | |
ludocid | Zeichenkette | Optional | Decimal Google CID for a local entity search. Can replace q. | 1234567890123456789 |
sclient | Zeichenkette | Optional | Google client label such as gws-wiz-serp: up to 64 letters, digits, dots, underscores, or hyphens. | |
timeout | Zahl | Optional | 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. | |
location | Zeichenkette | Optional | Human-readable search location, up to 512 characters. Use only one of location, uule, or lat and lon. | Austin, Texas, United States |
peek_pws | Zeichenkette | Optional | Google personalization companion flag: 0 or 1, forwarded to Google unchanged. | |
fast_mode | Boolean | Optional | 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_scheme | Zeichenkette | Optional | Google's light or dark result presentation. | |
as_sitesearch | Zeichenkette | Optional | Hostname to include or exclude, such as example.com. A hostname, not a URL. | example.com |
google_domain | Zeichenkette | Optional | A Google domain from Google's supported list, such as google.com or google.co.uk. | google.com |
- Abfrageparameter
qZeichenketteOptionalSearch query, up to 2,048 characters. Required unless ludocid or kgmid is supplied.
Beispiel:
coffee shops in AustincrZeichenketteOptionalCountry restriction: one or more countryXX values joined with |, such as countryUS.
Beispiel:
countryUSglZeichenketteOptionalLowercase two-letter country code used to localize results.
Beispiel:
ushlZeichenketteOptionalGoogle interface and result language, such as en, en-US, or de. Defaults to en.
Beispiel:
enlrZeichenketteOptionalLanguage restriction: one or more lang_xx values joined with |, such as lang_en.
Beispiel:
lang_enoqZeichenketteOptionalOriginal query text from a Google URL, up to 2,048 characters; forwarded unchanged.
siZeichenketteOptionalOpaque cached Google search context, up to 4,096 characters.
ibpZeichenketteOptionalGoogle layout or expansion control, up to 4,096 characters.
latZahlOptionalLatitude between -90 and 90. Supply with lon; conflicts with location and uule.
Beispiel:
30.2672lonZahlOptionalLongitude between -180 and 180. Supply with lat; conflicts with location and uule.
Beispiel:
-97.7431numGanzzahlOptionalRequested result count, 1 to 10. A best-effort hint: Google may return fewer rows, and results are never padded.
pwsZeichenketteOptionalGoogle personalization flag: 0 or 1. 0 asks for non-personalized results.
tbmZeichenketteOptionalGoogle vertical: lcl, vid, nws, shop, or pts. Google Images (isch) is rejected with 400 unsupported_search_vertical.
tbsZeichenketteOptionalGoogle search-filter string, such as qdr:w, up to 4,096 characters.
udsZeichenketteOptionalOpaque Google filter token, up to 4,096 characters.
as_qZeichenketteOptionalAdditional terms that must all match, up to 2,048 characters.
lsigZeichenketteOptionalOpaque Google local or Knowledge Graph signature, up to 4,096 characters.
nfprZeichenketteOptionalSet 1 to disable Google spelling auto-correction, or 0 to allow it.
safeZeichenketteOptionalGoogle adult-content filtering: active or off.
uuleZeichenketteOptionalPre-encoded Google location token, up to 2,048 characters. Use only one of location, uule, or lat and lon.
as_dtZeichenketteOptionalInclude (i) or exclude (e) the as_sitesearch host. Requires as_sitesearch.
as_eqZeichenketteOptionalWords the results must not contain, up to 2,048 characters.
as_lqZeichenketteOptionalReturn pages that link to this complete HTTP(S) URL.
as_oqZeichenketteOptionalAdditional terms of which any may match, up to 2,048 characters.
as_rqZeichenketteOptionalReturn pages related to this complete HTTP(S) URL.
gs_lpZeichenketteOptionalOpaque Google autocomplete-session value from a Google URL, up to 4,096 characters; forwarded unchanged.
kgmidZeichenketteOptionalGoogle Knowledge Graph machine ID, such as /m/0k8z. Can replace q.
Beispiel:
/m/0k8zstartGanzzahlOptionalResult offset for pagination. Defaults to 0.
Beispiel:
10as_epqZeichenketteOptionalExact phrase the results must contain, up to 2,048 characters.
as_nhiGanzzahlOptionalUpper bound of a number range. Supply with as_nlo.
as_nloGanzzahlOptionalLower bound of a number range. Supply with as_nhi.
as_qdrZeichenketteOptionalDate range: d, w, m, or y with an optional positive count, such as m3 for the past three months.
Beispiel:
m3deviceZeichenketteOptionalGoogle returns its real layout for the selected device: desktop, tablet, or mobile.
Beispiel:
desktopfilterZeichenketteOptionalGoogle similar-results filtering: 0 or 1.
radiusZahlOptionalSearch 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.
ludocidZeichenketteOptionalDecimal Google CID for a local entity search. Can replace q.
Beispiel:
1234567890123456789sclientZeichenketteOptionalGoogle client label such as gws-wiz-serp: up to 64 letters, digits, dots, underscores, or hyphens.
timeoutZahlOptionalOptional 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.
locationZeichenketteOptionalHuman-readable search location, up to 512 characters. Use only one of location, uule, or lat and lon.
Beispiel:
Austin, Texas, United Statespeek_pwsZeichenketteOptionalGoogle 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_schemeZeichenketteOptionalGoogle's light or dark result presentation.
as_sitesearchZeichenketteOptionalHostname to include or exclude, such as example.com. A hostname, not a URL.
Beispiel:
example.comgoogle_domainZeichenketteOptionalA Google domain from Google's supported list, such as google.com or google.co.uk.
Beispiel:
google.com
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentation' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentation",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.serp.organic?q=OpenAI+API+documentation", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.00015/success einschließlich Servicegebühr abgerechnet.