Skip to content

Search parameters

Send parameters as a JSON body to POST /v1/search. Only q is required.

FieldTypeDefaultDescription
qstring (1–500)—Required. The search query.
glenumusCountry edition (see below).
hlstringcountry defaultUI / results language, BCP-47 (e.g. en, pt-BR).
tbsenumall timeTime filter: qdr:h (past hour), qdr:d (day), qdr:w (week).
pageinteger (1–99)1Result page (1-indexed; ~10 organic results each).
freshnessenumdefaultCache control: default, realtime (force fresh), cached. See Caching.
scrapeobject—Attach scraped page content to each organic result (see below). Billed per page — see Pricing.

br, us, gb, de, fr, es, it, mx, ca, au, jp, nl.

{ "q": "melhores tênis de corrida", "gl": "br", "hl": "pt-BR" }

Restrict results to recent content — ideal for news and trending topics.

{ "q": "nvidia earnings", "tbs": "qdr:d" }

Add scrape to pull each result page’s content as markdown — optionally rendering JavaScript and capturing a screenshot. Or call POST /v1/scrape directly for a single arbitrary URL.

FieldTypeDefaultDescription
render_jsbooleanfalseRender with a headless browser first (JS-heavy sites).
screenshotbooleanfalseCapture a screenshot (1920×1080 by default, 48h presigned URL). Implies a render.
top_ninteger (1–20)5How many of the top organic results to scrape.
wait_forstring—CSS selector to wait for before extracting (render_js only).
wait_msinteger (0–5000)—Extra settle time after load (render_js only).
screenshot_widthinteger (320–1920)1920Screenshot width in px.
screenshot_heightinteger (320–1920)1080Screenshot height in px.
{ "q": "best running shoes", "scrape": { "render_js": true, "screenshot": true, "top_n": 3 } }

Each scraped result gains content (markdown), optionally screenshot_url, or scrape_error when a page couldn’t be fetched. Only pages scraped successfully are billed.

Each page returns roughly 10 organic results. Request pages 1–99; to collect the first 100 results, loop pages 1–10. The SDKs expose helpers (searchPages / search_pages) that iterate pages for you.