Skip to main content
The Search endpoint queries the web and returns ad-free results. It supports web, news, and image search with AI-grounded answers that synthesize results into a single cited response. Set 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-api

Search the web and get structured JSON results. Costs 2 credits.

Search recent news articles on any topic.

Search for images on any topic.

Grounded Answer

Get an AI-synthesized answer with inline citations from search results. Ideal for RAG pipelines and AI agents. Costs 5 credits.

Search with Content Scraping

Scrape the top result pages and return their full content alongside search results. Costs 4 credits.

Markdown Output

Return results as clean Markdown instead of JSON. Ideal for feeding directly into LLMs.

Time Filtering

Limit results to a specific time range.

Domain Filtering

Include or exclude specific domains from results.

Search within a specific category for more relevant results.

Device

Set device 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

Set serp: 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.

AI Overviews

When Google shows an AI Overview for the query, it’s returned in data.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).
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 with source, time, includeDomains, excludeDomains, and limit.
  • source: web (default), news, or images. SERP mode accepts one source per request. With news or images, results appear under the news or images key of data instead of organic.
  • 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 as reddit.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, after limit is applied.

City Targeting

Pass city 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.
For localized structured results, leave out serp:
Use the city name exactly as it appears in the list of supported cities (JSON), for example London,England,United Kingdom.

All Parameters

Credits

Node.js SDK

npm install @geekflare/api-node

Python SDK

pip install geekflare-api