Web Search Scraper
Pricing
from $0.00005 / actor start
Web Search Scraper
Advanced web search scraper and data extraction API that delivers real-time search results with comprehensive content snippets. Perfect for research, competitive analysis, content discovery, and automated information gathering.
Pricing
from $0.00005 / actor start
Rating
0.0
(0)
Developer
Akash Kumar Naik
Maintained by CommunityActor stats
1
Bookmarked
44
Total users
2
Monthly active users
8 days ago
Last modified
Categories
Security
Limited permissionsShare
Web Search Scraper is an Apify Actor that searches the web through the Ollama API and returns structured, machine-readable results — page titles, URLs, and content snippets — saved to the Apify dataset for easy export.
What Is Web Search Scraper?
Web Search Scraper (a web search & data extraction API) takes a search query, performs the search via the Ollama API, and writes each result to the Apify dataset with four normalized fields: query, title, url, and content. Results are stored in the default dataset where they can be previewed in a table view or exported as JSON, CSV, Excel, or XML. The Actor also writes run metadata (search execution info) to the key-value store.
Key Features
- Web search with customizable result limits — return 1–5 results per run
- Structured JSON output — query, title, URL, and content snippet for every result
- Ollama-powered search — runs through the Ollama API (configure the
OLLAMA_API_KEYsecret) - Dataset integration — table view in Apify Console and one-click export to JSON, CSV, Excel, or XML
- Run metadata — search execution info saved to the key-value store (
RUN_INFO) - Pay-per-event pricing — $0.01 per returned search result
- Lightweight footprint — 128 MB of memory per run
Use Cases
- Quick research — pull top web results for any question without opening a browser
- AI & LLM pipelines — feed titles, URLs, and snippets into RAG pipelines, agents, or summarization workflows
- Content discovery — find sources and references on a topic for articles or newsletters
- Monitoring & enrichment — enrich datasets with web sources for products, keywords, or brands
Input Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query | string | Yes | — | The search query to look up on the web |
maxResults | integer | No | 1 | Maximum number of search results to return (1–5) |
Example input:
{"query": "Latest advancements in AI technology","maxResults": 5}
Sample Output
Each dataset item contains one search result:
{"query": "search query","title": "Page Title","url": "https://example.com/page","content": "Content snippet..."}
| Field | Type | Description |
|---|---|---|
query | string | The search query used |
title | string | Title of the search result |
url | string | URL of the search result |
content | string | Content snippet from the search result |
How to Use
- Open the Actor page on Apify Store and click Start Actor.
- Enter your search query.
- Optionally set
maxResults(1–5). - Run the Actor and view results in the Dataset tab, then export as JSON, CSV, Excel, or XML.
How to Use via API
cURL:
curl -X POST "https://api.apify.com/v2/acts/akash9078/web-search-scraper/runs" \-H "Authorization: Bearer YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"query": "Latest advancements in AI technology", "maxResults": 5}'
Python:
import requestsresponse = requests.post("https://api.apify.com/v2/acts/akash9078/web-search-scraper/runs",headers={"Authorization": "Bearer YOUR_APIFY_TOKEN"},json={"query": "Latest advancements in AI technology", "maxResults": 5},)print(response.json())
Node.js with Apify Client:
const { ApifyClient } = require('apify-client');const client = new ApifyClient({ token: process.env.APIFY_TOKEN });const run = await client.actor('akash9078/web-search-scraper').call({query: 'Latest advancements in AI technology',maxResults: 5,});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Pricing
| Event | Price |
|---|---|
Search Result (search-result) | $0.01 per result |
You are charged for each search result returned — no subscription, no runtime fees.
Limitations
- Maximum of 5 results per run
- Requires the
OLLAMA_API_KEYsecret to be configured for the Actor (search runs through the Ollama API) - Results are snippets, not full page content
FAQ
How many results can I get per run?
Between 1 and 5, controlled by maxResults (default 1). For more coverage, run multiple queries.
What fields does each result contain?
query, title, url, and content — a normalized record for every search result.
Does the Actor need an API key?
The Actor runs through the Ollama API using the OLLAMA_API_KEY secret configured on the Actor; you don't need to supply your own key in the input.
How is billing calculated?
$0.01 per returned search result under the pay-per-event model.
Related Actors
Check out my other Apify Actors:
- Keyword Suggestion Generator — expand seed keywords for SEO research
- YouTube Search Scraper — search YouTube via the official Data API
- Website Screenshot Generator — capture PNG screenshots of any website
- Random Facts API — random facts and trivia on demand
Built and maintained by akash9078 on the Apify platform.


