Search

Google web search

Google web search results for any query: organic results (title, link, snippet, position), answer box, knowledge graph, videos, People Also Ask, and related searches. Raw payload in data, a clean readable digest in markdown. Field fullness varies by upstream backend (People Also Ask and videos can come back empty). Results are cached for 1 hour — repeat queries are free.

Credits: 1 (refunded on failure).

get/api/v1/search

Request

  • Base URL: https://scrapewhale.dev
  • URL: https://scrapewhale.dev/api/v1/search
  • Auth: one of:
    • HTTP bearer
    • API key in header x-api-key

Query parameters

qstring required

The search query.

glstring

Country code (Google gl), e.g. "us", "gb", "de".

hlstring

Language code (Google hl), e.g. "en", "es".

numinteger

Results per page (1–20, default 10).

pageinteger

Result page (1–10, default 1).

format'json' | 'markdown' | 'both'

Response shape: "json" (structured data only), "markdown" (markdown only), or "both".

Response

Success.

idstring required
status'completed' required
extractorstring required

Extractor name, e.g. "traffic", "meta-ads", "instagram-profile".

titlestring nullable
sourceUrlstring nullable

Canonical public URL of the extracted source.

creditsChargedinteger required

0 when served from the shared cache.

cachedboolean

True when served from the shared extraction cache (free).

createdAtinteger required

Unix epoch milliseconds.

dataobject nullable

Raw structured payload from the source.

markdownstring

Clean markdown rendering of the payload.

Changes

No recorded changes to this operation across all 1 revision of this API.