serpdata

v0.1.0
io.github.CloudCorpRecords/serpdata Checked 4 days ago Published 26 days ago

Google search as JSON: organic results, AI Overview and AI Mode, news, shopping and products.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

hasdata_google_serp_ai_mode_getAiModeResponse google_serp_ai_mode: GET /

Get AI Mode SERP Results Captures Gemini-powered AI Mode answers from Google Search. Returns the conversational response text, cited source links, subtopic breakdowns, and, when continuable is set, a subsequentRequestToken for multi-turn continuation. Use for next-gen search interfaces, AI-answer monitoring, citation tracking, content research agents, building question-answering pipelines grounded in live Google results, and person/company data enrichment — e.g. asking `Who is the CEO of HasData?`, `What is Roman Milyushkevich's LinkedIn?`, `HasData founder email`, `HasData Instagram handle…

ParameterTypeDescription
q *stringSpecify the search term for which you want to scrape the SERP.
continuablebooleanWhether to continue an existing AI Mode conversation.
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
locationstringGoogle canonical location for the search.
subsequentRequestTokenstringToken used to continue a previous AI Mode request.
uulestringThe encoded location parameter.

hasdata_google_serp_ai_overview_getAiOverviewResponse google_serp_ai_overview: GET /

Get AI Overview Results Fetches the lazy-loaded Google AI Overview block via a pageToken returned by the Google SERP API (token valid for 1 minute). Returns the AI-generated answer text, referenced source URLs, and expanded subtopic sections. Use as a follow-up call to Google SERP for tracking AI citations in SEO, fact-checking answers against sources, and LLM retrieval pipelines grounded in live Google results.

ParameterTypeDescription
pageToken *stringToken from `aiOverview` block in Google SERP API. Valid for 1 minute.

hasdata_google_serp_events_getEventInformation google_serp_events: GET /

Get Google Event Details Looks up a single Google event by the `pageToken` returned in a `google/serp` response's `eventsResults` array (or the ready-to-call `hasdataLink` next to it). Returns the venue name/rating/reviews/website/phone, a map link, a description, ticket sources (with official/unofficial flags), and the primary ticket link — details the SERP events widget does not show inline. The `pageToken` expires a few minutes after it is minted, so fetch it and call this endpoint promptly. Use to enrich an events search result with full venue and ticketing information.

ParameterTypeDescription
pageToken *stringToken identifying a single event, taken from the `pageToken` field of an `eventsResults` entry in a `google/serp` response. Expires a few minutes after it is minted.

hasdata_google_serp_immersive_product_getImmersive_e29f691177 google_serp_immersive_product: GET /

Get Immersive Product Information Expands the Google Shopping Immersive Product pop-up given an immersiveProductPageToken from the Google Shopping API, with optional moreStores (up to ~13 merchants instead of 3–5) and nextPageToken for paginating stores. Returns multi-store offers (merchant, price, shipping, URL), product specs, images, ratings, and the storesNextPageToken. Use for price-comparison bots, merchant discovery, dropshipping research, and aggregating full offer lists per product.

ParameterTypeDescription
pageToken *stringToken for displaying more product info in the Google immersive pop-up, available in the Google Shopping API response as the `immersiveProductPageToken` property.
moreStoresbooleanFetch additional store results in a single search. By default it returns 3–5 stores, and when true it returns up to 13 or the maximum available for the product.
nextPageTokenstringToken used to retrieve the next page of store results.

hasdata_google_serp_news_getGoogleNews google_serp_news: GET /

Get Google News Results Retrieves Google News results by free-text query, topicToken (World, Business, Technology, etc.), sectionToken, publicationToken (e.g. CNN, BBC), or storyToken (full-coverage cluster with sort by relevance/date). Returns article title, snippet, source publisher, published date, thumbnail, and URL, plus tokens for navigating topics, sub-sections, and story clusters. Use for news monitoring, brand/PR tracking, topical aggregators, publisher-specific feeds, and drilling into full story coverage.

ParameterTypeDescription
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
publicationTokenstringToken for a specific publisher such as CNN or BBC. Not allowed with `q`, `storyToken`, or `topicToken`.
qstringFree-text query as used on news.google.com. Not allowed with `topicToken`, `storyToken`, or `publicationToken`.
sectionTokenstringToken for a sub-section under a topic, for example Business → Economy. Use only when `topicToken` or `publicationToken` is present.
sostringSort order for articles in a story. Use only with storyToken.
storyTokenstringToken for a single news story cluster (the “Full coverage” page).
topicTokenstringToken for a Google News topic such as World, Business, or Technology. Not allowed with `q`, `storyToken`, or `publicationToken`.

hasdata_google_serp_product_getProductInformation google_serp_product: GET /

Get Product Information Pulls detailed product data from Google Shopping by productId with searchType (offers, specs, reviews) and rich filters (free shipping, used-condition, sort by price/total price/deals/seller rating, reviews count). Returns product title, images, price, ratings, specs, merchant offers (seller, shipping, condition, total price), and review text depending on searchType. Use for price intelligence, catalog enrichment, review mining, competitor spec comparison, and building shopping assistants that surface the cheapest or highest-rated offer.

ParameterTypeDescription
productId *stringThe product ID to get results for.
domainstringGoogle domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`.
filterstringFilter parameter for refining search results. Supports various filters for offers and reviews. Multiple filters can be passed using a comma. The available filters are: Offers filters: - `freeship:1`:…
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
locationstringGoogle canonical location for the search.
searchTypestringParameter for fetching specific product information, such as 'offers', 'specs', or 'reviews'.
startnumberThis parameter specifies the number of search results to skip and is used for pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second page, and 20…
uulestringThe encoded location parameter.

hasdata_google_serp_serp_getSearchResults google_serp_serp: GET /

Get Google Search Results Full-featured Google Search scraper with location/uule, country (gl), language (hl, lr), domain, device type, safesearch, time/date filters via tbs (qdr, cdr), and tbm vertical selection (images, videos, news, shopping, local), plus offset/num pagination (num capped at 10 without tbm). Returns organic results (title, link, snippet, position), ads, knowledge graph, related searches, People Also Ask, local pack, featured snippets, AI Overview pageToken, and rich SERP features. Use for SEO rank tracking, keyword research, SERP-feature monitoring, competitor analysis, gr…

ParameterTypeDescription
q *stringSpecify the search term for which you want to scrape the SERP.
deviceTypestringSpecify the device type for the search.
domainstringGoogle domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`.
filternumberDefines whether to enable or disable the filters for 'Similar Results' and 'Omitted Results'. Set to 1 (default) to enable these filters, or 0 to disable them.
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
kgmidstringGoogle Knowledge Graph ID.
locationstringGoogle canonical location for the search.
lrarrayThe 'lr' parameter specifies the language of the websites to return results from. This parameter filters results based on the language of the web content.
lsigstringAdditional Google Place ID.
ludocidstringThe Google Place ID for a specific location.
nfprnumberControls if auto-corrected results are shown. 0 includes them (default), 1 shows only the original query. Google may still return auto-corrected results if no others are available.
numnumberNumber of results per page, ranging from 10 to 100.
safestringAdult Content Filtering option.
sistringGoogle Cached Search Parameters ID.
startnumberThis parameter specifies the number of search results to skip and is used for implementing pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second…
tbmstringSpecify the type of search.
tbsstringThis parameter supports various filters that can be combined by separating them with a comma. Here are examples of these filters: - Specific Time Range: `cdr:1,cd_min:10/17/2018,cd_max:3/8/2021` -…
uulestringThe encoded location parameter.

hasdata_google_serp_serp_light_getSearchResults google_serp_serp_light: GET /

Get Google Light Search Results Google Search scraper served from the lightweight no-JS layout, cheaper and faster than the full SERP API. Returns organic results (title, link, displayed link, snippet, sitelinks, extensions, date, rating and review count), AI Overview with its text blocks and source references, answer box (featured snippet, calculator, unit and currency conversion, local time), knowledge graph, related questions, related searches, inline images, local pack, search filters, pagination, spelling correction and the location Google actually applied. Shopping, top stories, news, v…

ParameterTypeDescription
q *stringSpecify the search term for which you want to scrape the SERP.
domainstringGoogle domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`.
filternumberDefines whether to enable or disable the filters for 'Similar Results' and 'Omitted Results'. Set to 1 (default) to enable these filters, or 0 to disable them.
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
locationstringGoogle canonical location for the search.
lrarrayThe 'lr' parameter specifies the language of the websites to return results from. This parameter filters results based on the language of the web content.
numnumberNumber of results per page, ranging from 10 to 100.
safestringAdult Content Filtering option.
startnumberThis parameter specifies the number of search results to skip and is used for implementing pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second…
tbsstringThis parameter supports various filters that can be combined by separating them with a comma. Here are examples of these filters: - Specific Time Range: `cdr:1,cd_min:10/17/2018,cd_max:3/8/2021` -…
uulestringThe encoded location parameter.

hasdata_google_serp_shopping_getSearchResults google_serp_shopping: GET /

Get Shopping Search Results Scrapes Google Shopping listings for a query with location/uule, country/language/domain, time/date filters, device type, shoprs filter-helper IDs, and offset pagination. Returns product title, price, merchant/source, rating, reviews count, thumbnail, product link, productId, immersiveProductPageToken, and filter chips with hasdata_link for refining by brand/price/condition/promotions. Use for e-commerce price tracking, catalog building, promotion discovery, and feeding productIds into the Product API or tokens into the Immersive Product API for deeper data.

ParameterTypeDescription
q *stringSpecify the search term for which you want to scrape the SERP.
deviceTypestringSpecify the device type for the search.
domainstringGoogle domain to use. Default is google.com. Provide one exact documented value (195 allowed), e.g. `google.ac`, `google.ad`.
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
locationstringGoogle canonical location for the search.
shoprsstringSpecifies the helper ID for applying search filters. Must be used with the updated `q` parameter, which includes the selected filter (e.g., Coffee sale). To apply filters, use the `hasdata_link` from…
startnumberThis parameter specifies the number of search results to skip and is used for implementing pagination. For example, a value of 0 (default) indicates the first page of results, 40 refers to the second…
tbsstringThis parameter supports various filters that can be combined by separating them with a comma. Here are examples of these filters: - Specific Time Range: `cdr:1,cd_min:10/17/2018,cd_max:3/8/2021` -…
uulestringThe encoded location parameter.

hasdata_google_serp_short_videos_getShortVideosSearchResults google_serp_short_videos: GET /

Get Short Videos Search Results Scrapes the Google Short Videos carousel (TikTok, YouTube Shorts, Instagram Reels, etc.) for a query with location/uule, country (gl/cr), language (hl/lr), device type, and page-based pagination. Supports Google's advanced filters (tbs). Returns video title, thumbnail, duration, source platform, channel/creator, direct video URL, the platform's video ID and profile handle, and ready-to-call HasData API links (hasdataLinks) for the video's comments, transcript, profile, posts or channel. Use for short-form content discovery, viral-trend monitoring, influencer re…

ParameterTypeDescription
q *stringSearch query term for retrieving short videos results.
crstringThe country code for the country you want to limit the search to. Provide one exact documented value (237 allowed), e.g. `countryAF`, `countryAL`.
deviceTypestringSpecify the device type for the search.
glstringThe two-letter country code for the country you want to limit the search to. Provide one exact documented value (245 allowed), e.g. `ac`, `af`.
hlstringThe two-letter language code for the language you want to use for the search. Provide one exact documented value (159 allowed), e.g. `af`, `ak`.
locationstringGoogle canonical location for the search.
lrarrayThe 'lr' parameter specifies the language of the websites to return results from. This parameter filters results based on the language of the web content.
pagenumberPage number for paginated results, where 0 is the first page.
tbsstringGoogle advanced search filters, combined with commas. For example: - `qdr:h`, `qdr:d`, `qdr:w`, `qdr:m`, `qdr:y` - Show videos from the past hour, day, week, month, or year.
uulestringThe encoded location parameter.