POST https://api.geekflare.com/search
Basic Web Search
Search the web and get structured JSON results.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.Response
Response
Search with Content Scraping
Scrape the top result pages and return their full content alongside search results.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.| Value | Description |
|---|---|
any | No time filter (default) |
h | Past hour |
d | Past day |
w | Past week |
m | Past month |
y | Past year |
h2, d7 | Past 2 hours, past 7 days, etc. |
Domain Filtering
Include or exclude specific domains from results.Category Search
Search within a specific category for more relevant results.| Category | Description |
|---|---|
general | General web search (default) |
code | Code snippets and technical content |
pdf | PDF documents |
research | Academic and research papers |
linkedin | LinkedIn profiles and posts |
wiki | Wikipedia content |
All Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | required | Search query (max 2048 chars) |
limit | number | 10 | Number of results (1–100) |
source | web | news | images | web | Search source |
format | json | markdown | html | json | Output format |
time | string | any | Time filter (h, d, w, m, y, h2, d7, etc.) |
location | string | us | Country code (ISO alpha-2) |
category | string | general | Category (general, code, pdf, research, linkedin, wiki) |
includeDomains | array | — | Only return results from these domains |
excludeDomains | array | — | Exclude results from these domains |
groundedAnswer | boolean | false | Return AI-synthesized answer with citations |
scrape | boolean | false | Scrape content from top result URLs |
scrapeLimit | number | 3 | Number of URLs to scrape (1–10, requires scrape: true) |