AgentAPIGate
Back to Catalog
GET /v1/web/site/search_and_readPack: search·MCP Tool: web_site_search_and_read

Web Search & Multi-Page Clean Markdown Reader

Run live Google search and concurrently extract clean LLM-ready Markdown from top ranked web pages in a single API call.

API Key Price:$0.0050 / call
x402 Base USDC:$0.0050 / call
Partner Credit:eligible
1. Parameters & Controls
Search query (e.g. "Model Context Protocol specification")
Top organic pages to fetch and extract concurrently (1-5, default 3)
Max Markdown chars returned per page (500-12000)
2-letter search country code (e.g. us, gb, de)
2-letter language code (e.g. en, es, fr)
Get $0.25 Free Key →
curl -sG "https://api.agentapigate.ai/v1/web/site/search_and_read" \
  --data-urlencode "query=Model Context Protocol specification" \
  --data-urlencode "num_pages=3" \
  --data-urlencode "max_chars_per_page=2500" \
  --data-urlencode "format=md" \
  -H "Authorization: Bearer aag_live_YOUR_KEY" \
  -H "X-AAG-Max-Cost: 0.0100"
1-Click Agent IDE Install
Add to Cursor (1-Click OAuth)
-93% tokens
# Web Search & Multi-Page Clean Markdown Reader (`web.site.search_and_read`)
**query**: Model Context Protocol specification · **pages_read**: 3

### 1. Specification - Model Context Protocol (https://modelcontextprotocol.io/specification/2025-06-18)
Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools.
- rank=1 | word_count=657
### 2. GitHub - modelcontextprotocol/modelcontextprotocol: Specification and documentation for the Model Context Protocol (https://github.com/modelcontextprotocol/modelcontextprotocol)
This repo contains the: MCP specification MCP. The schema is defined in TypeScript first, but made available as JSON Schema as well, for wider compatibility.
- rank=2 | word_count=166
### 3. What is the Model Context Protocol (MCP)? - Model Context Protocol (https://modelcontextprotocol.io/docs/2026-07-28/getting-started/intro)
MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems. Think of MCP like a USB-C port for AI applications.
- rank=3 | word_count=426

Endpoint Parameters, Cost & Token Economy Reference

Endpoint ID: web.site.search_and_read · Method: GET
ParameterTypeReqSample / DefaultDescription
querystringrequiredModel Context Protocol specificationSearch query (e.g. "Model Context Protocol specification")
num_pagesnumberoptional3Top organic pages to fetch and extract concurrently (1-5, default 3)
max_chars_per_pagenumberoptional2500Max Markdown chars returned per page (500-12000)
countrystringoptionalus2-letter search country code (e.g. us, gb, de)
languagestringoptionalen2-letter language code (e.g. en, es, fr)
formatenumoptionaljson | compact | mdResponse format; compact or md cuts LLM tokens.
dry_run0 | 1optional1Returns exact pre-flight price quote & validation at $0.00 cost.
Access Rail / MetricValuePolicy & SLA
API Key (PAYG)$0.0050 / call$0/mo · Balance never expires
Remote MCP Toolweb_site_search_and_readOAuth 2.1 Hub & /mcp/search
x402 Base USDC$0.0050 / callZero-signup USDC enabled
P50 Latency1418 ms$0 billed on empty or 4xx/5xx
Token Economy4302t → 287t (-93%)Partner credit: eligible

More web.site Sibling Endpoints

Frequently Asked Questions

How do I call Web Search & Multi-Page Clean Markdown Reader (web.site.search_and_read) over REST and Remote MCP?

Send GET requests to https://api.agentapigate.ai/v1/web/site/search_and_read with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool web_site_search_and_read on https://mcp.agentapigate.ai/mcp.

What does web.site.search_and_read cost per call and are failed calls billed?

Each successful HTTP 200 response costs $0.005 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.

How does ?format=md or ?format=compact optimize AI agent token usage on web.site.search_and_read?

Passing ?format=md transforms the response into normalized Markdown (~287 tokens vs ~4302 raw tokens, saving 93% of LLM context budget) while preserving structured JSON via ?format=json.

Can I restrict an AI agent key to only search endpoints with a daily USD cap?

Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["web.site.search_and_read"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.