Documentation

Add web browsing to your AI agents in 30 seconds.

Quick Start

  1. Create an account and generate an API key from the dashboard.
  2. Add the config below to your MCP client (Claude Desktop, Cursor, etc.).
  3. Ask your agent to browse any web page.

Claude Desktop

Add this to your Claude Desktop config file:

{
  "mcpServers": {
    "botbrowser": {
      "url": "https://api.thebotbrowser.com/sse",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Replace YOUR_API_KEY with your key from the dashboard.

Cursor

Go to Settings → MCP Servers → Add Server and enter:

Name: BotBrowser
Type: SSE
URL:  https://api.thebotbrowser.com/sse
Headers:
  Authorization: Bearer YOUR_API_KEY

MCP Tools

Once connected, your agent has access to these tools:

browse_page Free

Extract clean markdown from any public web page.

Parameters:
  • url — The URL to extract
  • format"markdown" (default) or "text"
Pro Tools Pro

Pro subscribers get access to additional tools including batch extraction, search + browse, screenshots, JS rendering, CSS selectors, and token budgets.

Full Pro documentation is available in your dashboard after upgrading.

REST API

For non-MCP clients, use the REST API directly:

curl -X POST https://api.thebotbrowser.com/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'

Request Body

{
  "url": "https://example.com",
  "format": "markdown"
}

Response

{
  "url": "https://example.com",
  "title": "Example Domain",
  "description": "...",
  "content": "# Example Domain\n\nThis domain is for...",
  "links": [
    { "text": "More information", "href": "https://www.iana.org/..." }
  ],
  "metadata": {
    "rawTokenEstimate": 1200,
    "cleanTokenEstimate": 85,
    "tokenSavingsPercent": 93,
    "wordCount": 28,
    "fetchedAt": "2026-02-27T10:00:00.000Z"
  }
}

Rate Limits

Tier HTTP Requests JS Render Price
Free 100/day $0
Pro 3,000/day 300/day $29/mo
Enterprise 30,000/day 3,000/day $199/mo

Rate limit headers are included in every response: X-RateLimit-Remaining and X-RateLimit-Reset.

Open Source Library

BotBrowser's extraction engine is open source and can be used standalone without the hosted service:

npm install botbrowser    # JavaScript / TypeScript
pip install botbrowser    # Python
import { extract } from 'botbrowser';

const result = await extract('https://example.com');
console.log(result.content);  // clean markdown

See the GitHub repo for full documentation.

Error Codes

Status Meaning
401 Missing or invalid API key
403 Feature requires a higher tier
429 Rate limit exceeded — check X-RateLimit-Reset header
400 Invalid request (missing URL, bad JSON, etc.)

Questions? hello@thebotbrowser.com