Google Search results
google_searchCollects the real Google results page (SERP) for one or more keywords, rendered in a real browser, and returns every block (organic results, ads, local pack, People Also Ask, AI Overview with its citations and sources...) with, for each item, its rank in its block (rank_type), its rank on the page (rank_serp), its Google page and its pixel position. Use it to know what Google actually shows for a query, in a given country, language, city and device. Paid from the account balance: about EUR 0.0003 per keyword for the first page, EUR 0.0002 per extra page. Takes about 30 seconds per keyword (about a minute for 10 pages); the tool waits for the results. Returns titles, snippets and URLs, not the full content of the pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of Google result pages to collect, 1 (about 10 results) to 10 (about 100). Each extra page costs more and takes longer. | |
| blocks | No | Only return these result blocks, e.g. ["organic"] or ["ai_overview*"] (a trailing * matches a prefix). Block types: organic, paid_top, paid_bottom, local_pack, people_also_ask, featured_snippet, knowledge_graph, top_stories, videos, images, shopping, sitelinks, ai_overview_citation, ai_overview_citation_source, ai_overview_panel, related_searches... | |
| device | No | Device to emulate. | desktop |
| domain | No | Only return the positions of this domain (e.g. "example.com", subdomains included) in every block, with its best organic rank and whether it appears in the AI Overview, instead of the whole SERP. Much shorter: use it to answer "where does this site rank". | |
| keywords | Yes | Keywords to search, one search per keyword (max 100). Google operators work (site:, inurl:, intitle:, quotes, -term). No comma inside a keyword. | |
| language | Yes | Interface language code, e.g. fr, en, de, es, it, pt, ja. Must form a valid pair with location (see list_google_versions). | |
| location | Yes | Google version as a country code: fr for google.fr, de for google.de, br for google.com.br, jp for google.co.jp, us for google.com. Must form a valid pair with language (see list_google_versions). | |
| priority | No | Priority in the account queue, 1 to 10 (10 first). Use a high value for a few urgent searches when a large batch is already running. | |
| geolocation | No | Optional city-level geolocation: "City, Region, Country" (e.g. "Lyon, Rhone, France") or a GPS position "latitude,longitude" (e.g. "43.7102,7.2620"). | |
| wait_seconds | No | How long this call waits for the results, in seconds (default 45, max 55). Searches still running are returned in pending_ids: fetch them with get_serp_results. Use 0 to start a large batch and return right away. | |
| max_items_per_block | No | Maximum number of items returned per block, to keep the answer short. |