# ai.txt — AgentSearch discovery for AI systems # https://agentsearchhq.com Product: AgentSearch Tagline: Agent-native web search, URL extract, headless browser rendering, and search + read in one call, paid per call over native x402 on Base (search, extract and render also available on Pocket Network) Audience: AI agents, MCP hosts, RAG pipelines, autonomous apps Payments: native x402 on Base (USDC), direct API at https://api.agentsearchhq.com; also available on POKT / Pocket Network ## Direct x402 API (Base USDC) — primary paid route - Base URL: https://api.agentsearchhq.com Endpoints: POST /x402/v1/search ($0.008), POST /x402/v1/extract ($0.007), POST /x402/v1/render ($0.010), POST /x402/v1/search_and_read ($0.015) Protocol: x402 v2, scheme exact, eip155:8453, USDC; CDP facilitator (x402 Bazaar) Charged: only on success; failures and empty results are not charged (search_and_read: only when at least one page has text) Discovery: https://api.agentsearchhq.com/.well-known/x402 Docs: https://agentsearchhq.com/docs/x402 Search + Read: https://agentsearchhq.com/search-and-read (short: https://agentsearchhq.com/sar) $0.015 vs $0.029 a la carte, one payment instead of four ## Services (also available on Pocket Network; IDs below are the Pocket service IDs) - ID: agentsearch-web-search-v1 Name: AgentSearch Web Search Purpose: Live web search for agents; up to 5 structured JSON results per query Spec: https://agentsearchhq.com/specs/search-openapi.json Free: relay https://relay.agentsearchhq.com/v1/search (up to 25 searches per day per IP) Page: https://agentsearchhq.com/search Price: $0.008 per call direct (POST https://api.agentsearchhq.com/x402/v1/search); $0.005 per call on Pocket Network (x402 or MPP) Portal: https://agent.pocket.network/services/agentsearch-web-search-v1 Explorer: https://explorer.pocket.network/service/agentsearch-web-search-v1 - ID: agentsearch-web-extract-v1 Name: AgentSearch Web Extract Purpose: Fetch a URL and return clean text/markdown for LLM/RAG context Spec: https://agentsearchhq.com/specs/extract-openapi.json Page: https://agentsearchhq.com/extract Price: $0.007 per call direct (POST https://api.agentsearchhq.com/x402/v1/extract); $0.005 per call on Pocket Network (x402 or MPP) Portal: https://agent.pocket.network/services/agentsearch-web-extract-v1 Explorer: https://explorer.pocket.network/service/agentsearch-web-extract-v1 - ID: agentsearch-web-render-v1 Name: AgentSearch Web Render Purpose: Headless browser rendering API; renders JavaScript-heavy pages/SPAs in headless Chromium and returns title, rendered text/markdown, and HTML Networks: Pocket MainNet, Beta TestNet API: POST /v1/render {"url": ...}; GET /v1/health; GET /v1/version Page: https://agentsearchhq.com/render Docs: https://agentsearchhq.com/agents.md Spec: https://agentsearchhq.com/specs/render-openapi.json Price: $0.010 per call direct (POST https://api.agentsearchhq.com/x402/v1/render); $0.005 per call on Pocket Network (x402 or MPP) Portal: https://agent.pocket.network/services/agentsearch-web-render-v1 Explorer: https://explorer.pocket.network/service/agentsearch-web-render-v1 - ID: search_and_read (direct x402 only; no Pocket service ID) Name: AgentSearch Search + Read Purpose: Search the live web and return the top 1-5 pages as markdown in one paid call Spec: https://agentsearchhq.com/specs/search-and-read-openapi.json Page: https://agentsearchhq.com/search-and-read Docs: https://agentsearchhq.com/docs/x402#search-and-read Price: $0.015 per call direct (POST https://api.agentsearchhq.com/x402/v1/search_and_read). Charged only when at least one page has text. Not on Pocket Network. No free tier. Body: {"query", "num_results"? (default 3, max 5), "max_chars"? (default 8000, max 20000), "render_fallback"? (default false)} ## Quickstart - free search (search only, up to 25 searches per day per IP): curl -s https://relay.agentsearchhq.com/v1/search -H 'content-type: application/json' -d '{"query":"x402 protocol","max_results":5}' - MCP: npx -y @agentsearchhq/agentsearch-mcp (v1.7.0, latest on npm; tools agentsearch_web_search, agentsearch_extract, agentsearch_render, agentsearch_search_and_read; free search and extract/render trial with no env; paid calls with AGENTSEARCH_WALLET_PRIVATE_KEY go to the direct x402 API by default, AGENTSEARCH_PAYMENT_ROUTE=pocket for Pocket Network a la carte tools. Search stays free by default. Search + Read is direct-only, $0.015, hard cap $0.020 per call) - paid HTTP: POST to https://api.agentsearchhq.com/x402/v1/{search,extract,render,search_and_read}, get 402 + PAYMENT-REQUIRED, retry with PAYMENT-SIGNATURE (x402, USDC on Base); docs https://agentsearchhq.com/docs/x402 - billing (direct): settled only on success; failures and empty results are not charged. Billing (Pocket route): only 2xx answers are charged; 402/4xx/5xx are not ## MCP - AgentSearch MCP: npx -y @agentsearchhq/agentsearch-mcp (guide https://agentsearchhq.com/mcp) - listings: npm https://www.npmjs.com/package/@agentsearchhq/agentsearch-mcp ; MCP install guide https://agentsearchhq.com/mcp ; Glama https://glama.ai/mcp/servers/agentsearchhq-coder/agentsearch-mcp - also on Pocket Network: Agentic Portal MCP (all Pocket services): npx -y @pocket-network/agentic-portal-mcp (tools search_services, describe_service, call_service) - setup: https://agent.pocket.network/agent-integration ## Pages - https://agentsearchhq.com/search - https://agentsearchhq.com/search-and-read - https://agentsearchhq.com/extract - https://agentsearchhq.com/render - https://agentsearchhq.com/pricing - https://agentsearchhq.com/docs/x402 - https://agentsearchhq.com/mcp - https://agentsearchhq.com/free-web-search-api - https://agentsearchhq.com/pay-per-call-web-search-api - https://agentsearchhq.com/pay-per-call-vs-subscription-search-apis - https://agentsearchhq.com/extract-vs-headless-render - https://agentsearchhq.com/blog/ ## Machine-readable - https://agentsearchhq.com/llms.txt - https://agentsearchhq.com/llms-full.txt - https://agentsearchhq.com/.well-known/llms.txt - https://agentsearchhq.com/agents.md - https://agentsearchhq.com/sitemap.xml - https://agentsearchhq.com/specs/search-openapi.json - https://agentsearchhq.com/specs/extract-openapi.json - https://agentsearchhq.com/specs/render-openapi.json