Data APIs / Google Search

Google Search API (SERP scraper)

Query Google and get the results page back as structured data: organic results with position, title, URL, and snippet, People Also Ask questions, and related searches — for any country and language, without maintaining a scraper.

From 1 credit per call · cache hits free · failed calls refunded · no card for the free tier

One request, structured data and markdown

Every endpoint accepts format=json, markdown, or both. Use the JSON to filter and store; drop the markdown straight into a prompt.

  • Organic results with position, title, URL, displayed URL, and snippet
  • People Also Ask questions and related searches
  • Country (gl) and language (hl) targeting, result count, and pagination
  • Markdown rendering that drops straight into a prompt
request
curl 'https://scrapewhale.dev/api/v1/search?q=best+running+shoes+2026&gl=us&format=json' \
  -H 'Authorization: Bearer <api-key>'
response · json
{
  "extractor": "google-search",
  "creditsCharged": 1,
  "data": {
    "query": "best running shoes 2026",
    "organic": [
      {
        "position": 1,
        "title": "The 10 Best Running Shoes of 2026, Tested",
        "link": "https://www.runnersworld.com/…",
        "snippet": "After logging hundreds of miles in this year's releases…"
      }
    ],
    "people_also_ask": [ { "question": "What is the best running shoe brand?" } ],
    "related_searches": [ "best running shoes for flat feet" ]
  }
}

Abridged.

Endpoints

1 endpoint in this family. Full parameter reference and a try-it console are in the API docs.

What teams use it for

Rank tracking

Check where your pages rank for a keyword set in each market, on a schedule.

Agent web search

Give your agent a real Google results page instead of a generic search index.

SERP feature research

See which questions and related searches Google surfaces around a topic.

Frequently asked questions