Google's results page carries organic links, featured snippets, "People Also Ask" boxes, and an AI Overview, each with its own layout and its own custom HTML. None of it is meant to be parsed — it's meant to be looked at. That's fine for a person searching once. It breaks down fast for anyone who needs the same query's results, structured the same way, every day.
If you're an agent (or building one) reading this rather than a human, the full machine-readable schema for every endpoint below lives at mindcase.co/skills.md.
What makes structured search data useful?
A search results page answers more questions than "where do I rank."
- Rank tracking. The same query, pulled on a schedule, tells you when a competitor overtakes you — not just that they eventually did.
- AI Overview visibility. Google now attaches an AI-generated answer to many queries, with its own source list. Whether you're cited there is a separate question from whether you rank organically, and most rank trackers don't check it at all.
- Content gap analysis. Pull the same query across ten related terms and see which ones nobody in your space has a strong result for yet.
- "People Also Ask" and related searches. These are questions real searchers already typed — a free list of exactly what your content should answer next.
- Geo and language variance. The same query returns different results depending on where the search runs from and what language it's set to — a ranking that holds in the US can look completely different from a UK or German search.
Most rank-tracking tools stop at the first one. The rest sit unused in the same results page, every time you check.
Why doesn't scraping Google search results yourself hold up?
The results page isn't built to be parsed. Organic links, sponsored results, knowledge panels, and the AI Overview each have their own markup, and some of it only loads once you interact with the page — featured snippets and "People Also Ask" boxes both expand dynamically rather than shipping in the initial HTML. A scraper has to handle all of that conditionally, and Google changes the layout without notice, so a selector that worked last month can quietly stop matching anything.
None of that is a one-time setup cost. It's upkeep on a page you don't control, for data you could get as a clean response instead.
How do you pull search results for a query?
curl -X POST "https://api.mindcase.co/v1/data/google/search/run?wait=true" \
-H "Authorization: Bearer $MINDCASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"params": {
"queries": "expense management software",
"maxPages": 2
}
}'
# $0.001 per result page ($0.002 for this 2-page pull)Each row is one result: rank, title, link, domain, snippet,
publishedDate, plus relatedSearches and relatedQuestions for the
"People Also Ask" list. Two fields matter more than the rest here —
aiAnswer and aiAnswerSources, the actual text of Google's AI Overview
and which domains it cited. That's how you check AI-answer visibility
without opening the page yourself.
aiAnswerSources is the part most rank trackers skip entirely, because
it isn't a ranking at all — it's a short list of domains an algorithm
picked to synthesize into one answer, and being cited there doesn't
require the top organic spot. A page ranking #6 organically can still
show up in aiAnswerSources while the #1 result doesn't appear at all.
Pull the same query weekly and diff the aiAnswerSources
list against last week's — that's the whole mechanism for noticing you
dropped out of an AI Overview days before it would show up in a normal
rank-tracking dashboard, since organic rank and AI-citation status move
independently of each other.
queries also takes a full search URL or Google's own operators —
site:, intitle:, OR — directly in the query string, so a query you'd
already type into Google works unchanged. maxPages caps out around 10:
Google itself stops returning new results past roughly 100 per query, so
paying for more pages than that buys nothing.
How do you track rankings across countries and languages?
The same query doesn't return the same page everywhere. country sets
which google.<tld> domain the search runs against (240 options — US,
UK, DE, and so on), and searchLanguage filters results to a specific
language. Run the same query with both set and you get the actual page a
searcher in that market sees, not an assumption based on your own
results.
That's the difference between "we rank" and "we rank in the US, in English" — a distinction that matters the moment you're tracking a competitor operating in more than one market.
What can't you get from Mindcase?
Two cases.
Committed volume you've already negotiated a rate for. Per-page pricing is the right shape when your query volume moves — heavy one week, light the next — because you're never paying for a quota you didn't use. If you've locked in a high-volume contract elsewhere at a lower unit cost than $0.001/page, that deal is the better one purely on price, not because per-result billing has a flaw.
A search box on your own site, not Google's results page. That's what Google's own Custom Search API is built for — a different product with its own quota and pricing, meant for embedding search into your own app. This endpoint reads what Google shows a real searcher on google.com; it isn't a way to run your own search engine.
Which endpoint should you use for which job?
| Endpoint | Input | Price | Best for |
|---|---|---|---|
| Google Search | A query, or a full search URL | $0.001 / result page | Rank tracking, AI Overview visibility, content gap analysis |
FAQ
No. Requests go straight to Mindcase — no Google account, API key, or quota of your own required.
$0.001 per result page, roughly 10 organic results per page. A 2-page pull for one query costs $0.002.
Yes. Pass a domain in the site parameter to restrict results to it, or relatedToSite to find pages similar to it.
Yes, when Google shows one for that query. The aiAnswer field returns the answer text and aiAnswerSources lists which domains it cited.