AI Web Search & Read: Google results as clean Markdown avatar

AI Web Search & Read: Google results as clean Markdown

Pricing

from $0.65 / 1,000 results

Go to Apify Store
AI Web Search & Read: Google results as clean Markdown

AI Web Search & Read: Google results as clean Markdown

AI Web Search runs a Google search, fetches the top organic results and returns clean Markdown per result — one call turns a question into LLM-ready context for agents, RAG and MCP.

Pricing

from $0.65 / 1,000 results

Rating

0.0

(0)

Developer

Murat Uzun

Murat Uzun

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

$0.65 per 1,000 results on every Apify plan (pay-per-event): a default 3-result query costs about $0.002. Error rows, thin pages and inputs skipped at the run time limit are never charged.

What is AI Web Search & Read?

AI Web Search & Read gives your agent the web in one call: send it a question, and it runs a Google search, fetches the top organic result pages, strips navigation/ads/boilerplate and returns clean Markdown per result — ready to drop straight into an LLM prompt, a RAG pipeline or a tool-calling agent. It also accepts a list of urls to skip the search step entirely and just convert specific pages to Markdown, and it can run in Standby mode as a live HTTP API instead of a batch run. Try it from the Input tab, or call it from code, MCP or the Apify API.

Why use AI Web Search & Read?

Most "give my agent web access" setups need two or three separate tools: a SERP API, a scraper, and a Readability/boilerplate remover. This Actor collapses all three into one call and one price. Typical users:

  • AI agent builders wiring a web_search tool into a LangChain, LlamaIndex, OpenAI-function or MCP agent, without standing up their own SERP + scraping infrastructure.
  • RAG pipelines that need fresh, non-indexed web content as retrieval context rather than a stale vector store.
  • Researchers and analysts who want 3-5 clean summaries of "what does the web say about X" without opening ten tabs.
  • Anyone already using urls-only mode as a lightweight, dependency-free "webpage to Markdown" reader.

What data does AI Web Search & Read extract?

FieldTypeDescription
query, positionstring, numberThe query this row came from (null for direct urls) and its SERP rank
title, url, displayedUrl, snippetstringGoogle's result title/URL/breadcrumb/snippet
markdown, textstringClean Markdown / plain text of the page's main content (text is null unless Output format is text or both; default markdown)
wordCount, charCount, truncatednumber, booleanSize of the extracted content and whether it was cut to fit
lang, publishedAt, author, siteNamestringMetadata read from JSON-LD or meta tags, when present
statusCode, fetchedAtnumber, stringHTTP status of the page fetch and when it happened
error, scrapedAtstringSet when the search or page fetch failed; always-present timestamp

How to use AI Web Search & Read

  1. Enter a Search query (or a list of Search queries, or a list of URLs to read directly, skipping search).
  2. Set Max results per query (default 3) and Output format (Markdown, plain text, or both).
  3. Click Start. Each organic result becomes one dataset row with the page's title, URL, snippet and clean Markdown.
  4. Export as JSON, CSV, Excel or HTML, or read the results back over the API/MCP.

Example input

{
"query": "what is web scraping",
"maxResults": 3,
"outputFormat": "markdown"
}

Or read specific pages directly, no search:

{
"urls": ["https://docs.apify.com/platform"]
}

Example output

{
"query": "what is web scraping",
"position": 1,
"title": "What Is Web Scraping? - Apify",
"url": "https://apify.com/web-scraping",
"displayedUrl": "apify.com › web-scraping",
"snippet": "Web scraping is the automated process of extracting data from websites...",
"markdown": "# What Is Web Scraping?\n\nWeb scraping is the automated process of...",
"text": null,
"wordCount": 842,
"charCount": 6213,
"truncated": false,
"lang": "en",
"publishedAt": "2025-03-11T00:00:00Z",
"author": null,
"siteName": "apify.com",
"statusCode": 200,
"fetchedAt": "2026-09-13T10:00:04.000Z",
"error": null,
"scrapedAt": "2026-09-13T10:00:03.500Z"
}

You can download the dataset in JSON, CSV, Excel, HTML, XML or RSS.

Input parameters

ParameterTypeDefaultDescription
querystringwhat is web scrapingA single search query
queriesarray–Multiple queries in one run; overrides query
urlsarray–Specific pages to read, skipping search entirely
maxResultsinteger3Organic results read per query (max 20)
outputFormatenummarkdownmarkdown, text, or both
maxCharsPerResultinteger8000Truncate long pages for LLM context control (max 100000)
countryCode, languageCodestringus, enGoogle localisation (gl/hl)
includeSnippetOnlybooleanfalseCheap mode: return SERP rows without fetching pages
maxConcurrencyinteger5Parallel page fetches

Pricing

AI Web Search & Read is priced at $0.00065 per result ($0.65 per 1,000) on every Apify plan (pay-per-event, read back November 15, 2026). You pay only for useful results: error rows and empty or thin pages are never pushed to the dataset, so they are never charged. A default 3-result run costs about $0.002. One SERP fetch (shared across up to 20 results for that query) uses roughly $0.0025 of Apify Proxy traffic internally — page fetches themselves are free, direct HTTP with no proxy. That is $0.65 per 1,000 results. For the same job (one query, 3 results) that is about $0.0021 here, against about $0.0105 for RAG Web Browser on its Free tier (start $0.000225 + search $0.00348 + 3 fetches × $0.00228; its public price list, checked 25 November 2026). RAG Web Browser charges per search and per fetched page, so compare per job, not per 1,000 pages. Typically cheaper than stacking a separate SERP API + scraper + Readability service.

AI Web Search & Read vs. apify/rag-web-browser

Both turn a query into LLM-ready Markdown. This Actor additionally offers: a pure urls-only reader mode (no search needed), a dedicated includeSnippetOnly cheap mode, both markdown+text output, and JSON-LD-aware metadata (author, publishedAt, siteName) on every row — useful for citing sources back to the LLM.

Using AI Web Search & Read with AI agents

Batch (Apify API / MCP tool call):

curl -s -X POST "https://api.apify.com/v2/acts/webdatatools~ai-web-search/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query": "best crm for startups", "maxResults": 5}'

This Actor is also discoverable through the Apify MCP Server — an MCP-connected agent (Claude, Cursor, etc.) can call it directly as a tool once added.

JavaScript (apify-client):

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('webdatatools/ai-web-search').call({ query: 'best crm for startups', maxResults: 5 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((i) => `${i.title}\n${i.url}\n${i.markdown.slice(0, 300)}`));

Python (apify-client):

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("webdatatools/ai-web-search").call(run_input={"query": "best crm for startups", "maxResults": 5})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item["title"], item["url"], item["wordCount"])

Apify CLI:

$apify call webdatatools/ai-web-search --input '{"queries": ["what is rag", "vector database pricing"], "maxResults": 3}'

LangChain (Python):

from langchain_apify import ApifyActorsTool
search_tool = ApifyActorsTool("webdatatools/ai-web-search")
result = search_tool.invoke({"query": "what is retrieval augmented generation", "maxResults": 3})

LlamaIndex:

from llama_index.tools.apify.tool import ApifyWrapper
apify = ApifyWrapper()
dataset = apify.call_actor(
actor_id="webdatatools/ai-web-search",
run_input={"query": "what is retrieval augmented generation", "maxResults": 3},
dataset_mapping_function=lambda item: {"content": item["markdown"], "url": item["url"]},
)

Standby mode: call it like a live API

This Actor supports Actor Standby — start it once and call GET /search as a normal HTTP endpoint instead of starting a new batch run every time:

GET https://ai-web-search.webdatatools.apify.actor/search?query=apify+web+scraping&maxResults=3

Response is a plain JSON array of the same rows described above. GET / returns a readiness payload for health checks.

Limitations

  • Results per query: 1 to 20. maxResults is capped at 20; a query returns fewer rows when Google returns fewer usable pages.
  • Pages under 30 words are not returned as results. Thin pages (404 shells, empty SPAs) are skipped and not billed; the run's OUTPUT.skippedReasons lists them.
  • No browser, no JavaScript rendering. Content injected client-side is missing from markdown/text; wordCount shows how much text was read.
  • No login, no paywalls, no cookies. Pages that need an account return what the public page shows, or an error row.
  • Google-dependent search. Search results are Google organic results for the chosen countryCode and languageCode (defaults us, en). Google blocks or rate limits can make a query fail (run FAILED with a clear message when nothing usable came back).
  • Page length is capped. Each page is cut at maxCharsPerResult (default 8,000, max 100,000) and marked truncated: true.
  • Not a crawler. It reads the search results and the URLs you pass, not whole sites. Use Website to Markdown Crawler for site-wide crawls.
  • Run time limit. New queries and URLs stop starting about 75 seconds (at most half the run) before the run's timeout, so a short timeout or a long list ends SUCCEEDED with the rows already read instead of TIMED-OUT. The first query or URL always starts. Inputs that were not started are listed in OUTPUT.notReachedBeforeTimeLimit and are not charged.
  • Direct URLs and queries together. When you give both, each URL is read and each query is searched; URL rows come first in the dataset.

Run outcome and error codes

Every batch run writes an OUTPUT record to its key-value store: resultCount, errorCode, skippedRowCount, skippedReasons, notReachedCount and notReachedBeforeTimeLimit (plus zeroResultReason when nothing was delivered). Nothing in this table is charged.

CodeRun statusMeaning
nullSUCCEEDEDResults delivered; any skipped pages are listed in skippedReasons
TIME_LIMITSUCCEEDEDThe run time limit came first; rows already read are kept, unstarted queries/URLs are in notReachedBeforeTimeLimit
INVALID_INPUTSUCCEEDEDEmpty input, a malformed URL or an out-of-range value; no search is made
NO_RESULTSSUCCEEDEDGoogle returned no results, or every page was a 404 or had no readable content
CHARGE_LIMITSUCCEEDEDYour max total charge allows no result; no search is made
DATASET_NOT_FOUNDSUCCEEDEDinputDatasetId does not exist
SOURCE_FAILEDFAILEDSearch or page fetches were blocked or failed (HTTP 403/429/5xx, network) and nothing usable came back

FAQ

Is this legal? Scraping public Google search results and public web pages for personal or internal use is generally accepted practice, but you are responsible for complying with the target sites' terms of service and applicable law in your jurisdiction.

Why is markdown sometimes short or empty? JavaScript-rendered pages (heavy React/Vue SPAs that inject content client-side) return little or no text to a plain HTTP fetch — this Actor does not run a browser. For those sites, wordCount will be low and text/markdown sparse; this is an honest limitation, not a bug.

Why did I get no row for a result I expected? A page fetch can fail (404, timeout, blocked), the SERP fetch can be rate-limited, or a page can have no readable content. Those results are not pushed to the dataset and not charged. The run's OUTPUT record lists them as skippedRowCount and skippedReasons (for example https://example.com/page: HTTP 403), so you can see what was skipped. When no result is usable at all, the run ends with a clear status message and OUTPUT.zeroResultReason, and it is not billed.

Are the result URLs the real pages? Yes. Google often wraps result links in an opaque /goto tracker that hides the destination. Since 14 November 2026 the Actor follows Google's own redirect to read the real address (for example https://www.tiktok.com/@nasa/video/…), then fetches that page. A result whose address cannot be resolved is dropped and never charged; the Actor never guesses an address from the breadcrumb text. Earlier versions did guess, and could return addresses such as https://www.tiktok.com/video for every TikTok result.

Does this work with n8n / Make / Zapier? Yes — use the official Apify integration in any of those tools, or call the REST API directly.

Related Actors: Google Search Results Scraper (raw SERP data), Website to Markdown Crawler (full-site crawling), Article Extractor (single-article metadata).

Support

Found a bug or have a feature request? Use the Issues tab on this Actor's page — we read every report.

Part of the webdatatools web-intelligence suite — every Actor is pay-per-event, reads public data without a login, and returns one clean row per entity:

Browse the whole suite at webdatatools, or call ten of these Actors straight from Claude, Cursor or Cline with the webdatatools MCP server.

Website & domain intelligence

Content for AI, LLMs and RAG

Search, video and social

Leads, jobs and company data

Developer, app and research data

If AI Web Search & Read saves you time, a short review on the Apify Store helps other builders find it.