serp: true to get the full Google search results page instead, with optional city-level targeting.
Endpoint: POST https://api.geekflare.com/search
Install the official SDK:
npm install @geekflare/api-node or pip install geekflare-apiBasic Web Search
Search the web and get structured JSON results. Costs 2 credits.Response
Response
News Search
Search recent news articles on any topic.Response
Response
Image Search
Search for images on any topic.Response
Response
Grounded Answer
Get an AI-synthesized answer with inline citations from search results. Ideal for RAG pipelines and AI agents. Costs 5 credits.Response
Response
Search with Content Scraping
Scrape the top result pages and return their full content alongside search results. Costs 4 credits.Response
Response
Markdown Output
Return results as clean Markdown instead of JSON. Ideal for feeding directly into LLMs.Response
Response
Time Filtering
Limit results to a specific time range.Domain Filtering
Include or exclude specific domains from results.Category Search
Search within a specific category for more relevant results.Device
Setdevice to mobile to get results as they appear on a mobile device. Defaults to desktop. Works in standard search and in SERP mode.
SERP Results
Setserp: true to get the full Google search results page for a query including organic results, AI Overviews, related searches, People Also Ask, navigation tabs, and pagination. Returns everything on the first page of results.
Response
Response
AI Overviews
When Google shows an AI Overview for the query, it’s returned indata.ai_overview alongside the other SERP sections, with the overview as plain text (text), as the HTML Google rendered (html), and the sources it cites (references).
Response — ai_overview field
Response — ai_overview field
ai_overview is only present when Google returns one for the query. A reference’s url can be null when Google doesn’t expose one. The html value is shortened here.Which sections appear (People Also Ask, related searches, and so on) depends
on what Google returns for the query. The example above is shortened.
In SERP mode these parameters apply:
query, location, city, device,
limit, source (one value only), time, includeDomains, and excludeDomains.
format, category, scrape, scrapeLimit, and groundedAnswer are
ignored. The meta object still echoes them back.SERP filters
Narrow a SERP request withsource, time, includeDomains, excludeDomains, and limit.
source:web(default),news, orimages. SERP mode accepts one source per request. Withnewsorimages, results appear under thenewsorimageskey ofdatainstead oforganic.time: same values as Time Filtering.includeDomains/excludeDomains: applied as part of the search itself, so a filtered page still fills up with matching results. Pass bare domains such asreddit.com. Entries that are not valid domains are ignored.limit: trims the results list to the first N entries. A SERP request returns a single Google page of about 10 results, so values above 10 return no additional results.meta.count: the number of results in the returned list, afterlimitis applied.
City Targeting
Passcity to get results localized to a specific city, for example to check how a query ranks in London versus Manchester. It works in SERP mode and in standard search. Use city on its own or together with location (country code). When city is set, it takes priority over location for where the search appears to originate.
serp:
London,England,United Kingdom.
All Parameters
Credits
Node.js SDK
npm install @geekflare/api-nodePython SDK
pip install geekflare-api