beatapi

Web Search API

Search the web, extract page content and research across sources. One API key for your application or AI agent.

set up https://beatapi.io/SKILL.md

Give this to your agent

  • Claude Code
  • Codex
  • Hermes
  • OpenClaw
  • Manus
  • Grok Bot
  • WorkBuddy
  • 4 · Search / Read / Map / Research
  • REST / MCP
  • Markdown · JSON

Four BeatAPI Web Search API endpoints: Search, Read, Map, and Research

Inspect POST /v1/web/* requests, MCP tools (web_search, web_read, web_map, web_research), and structured Markdown or cited JSON responses.

Search

Ranked results for a query. Queries in Chinese, Japanese or Korean search in that language and region by default.

POST/v1/web/search
query
OpenAPI 3.1 webhooks
max_results
3
Example response
POST/v1/web/search200 OK
web.search1 Source

OpenAPI Specification v3.1.0

The OpenAPI Specification defines a standard, language-agnostic interface to HTTP APIs.

How AI agents combine Web Search, Read, Map, and Research

From checking documentation to comparing products, combine the tools around the answer you need.

POST /v1/web/searchPOST /v1/web/read
Example response
webhooks object

Find the current specification or release notes, then read the relevant passage before writing an integration.

web.readtruncated: falsefailed: 0
OpenAPI Specification v3.1.0
Markdown
https://spec.openapis.org/oas/v3.1.0

Webhooks Object

A map of possibly out-of-band callbacks related to the parent operation.

Read the page before you cite it

Search results are leads. Read the pages your answer depends on, with a query that keeps the response short.

How to connect BeatAPI Web Search API via MCP or REST

The same key works for web tools, models and social data.

Integrations

Use the same request bodies from your backend, or connect an MCP client for web_search, web_read, web_map and web_research. Keep the API key in your application's secret settings.

POST /v1/web/search

cURL
curl https://api.beatapi.io/v1/web/search \
  -H "Authorization: Bearer $BEATAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"OpenAPI 3.1 webhooks","max_results":3}'

How BeatAPI Web Search API billing works per endpoint

Each response includes usage and cost. Billing follows the work each tool performs.

Review pricing and billing
Searchweb_search · POST /v1/web/searchPer successful call.
Readweb_read · POST /v1/web/readPer URL read. Unreadable URLs are not charged.
Mapweb_map · POST /v1/web/mapPer URL returned. Empty maps are not charged.
Researchweb_research · POST /v1/web/researchPer successful run, including partial results. Failed runs are not charged.

Budget, AI prompts & engineering guardrails

See what $1 buys, copy ready-to-run prompts for Claude or Cursor, and review real edge cases before writing code.

50001

Pages read per $1 ($0.002 / URL)

web_read bills per readable URL (failed URLs cost $0); web_map bills $0.001 per returned URL.

20002

Web searches per $1 ($0.005 / call)

Flat $0.005 across all 8 search types (web, news, scholar, patents, shopping, places, images, videos).

$0.0503

Per cited web_research brief

Multi-source research with inline source URLs ($1 buys 20 runs); failed runs cost $0.

One API key across Social, SEO, Web Search & AI Models. Unlike single-vertical data APIs, BeatAPI lets your agent chain Social Data, SEO metrics, live Web Search, and leading LLMs from one balance and one MCP server.

Social Data (9+ platforms)SEO Data (12 tools)Web Search & ResearchAI Models

Say this to your AI

Once BeatAPI MCP is connected, paste any of these directly into Claude Code, Cursor, or Codex.

Map docs first, then read selectively

Use web_map on https://docs.example.com filtered to /guides and /pricing, pick the 3 most relevant URLs, read them with web_read, and build a comparison table.

web_mapweb_read

Edge cases & operational limits

04
01
web_research vs search + read
Use search + read when you already know the target sites (lower latency and cost); use web_research when you need multi-source cited synthesis.
02
Filter large sites with select_paths
Pass select_paths (e.g. ["/docs", "/pricing"]) to web_map before batch-reading so agents never crawl irrelevant pages.
03
Public pages only
BeatAPI does not bypass logins, paywalls, or anti-bot gates; private or gated URLs return restricted or empty results.
04
Python 403 & timeout hygiene
Set generous client timeouts (60s+ for web_research) and send standard Authorization: Bearer headers in requests/httpx.

Web Search API FAQ

Use Search to find ranked results, Read to extract content from URLs you already have, Map to discover a site's pages, and Research to investigate a question across several sources.

Give your agent the live web

Create a key, connect your agent, and let it search, read and research with one balance.