From idea to first request

Give your agent
a way into the web.

Three small steps. One API key. Search, fetch, and summarize through REST or MCP.

Set up Cloud access

01 /

Create your account

Sign in with an email code.
Add a passkey whenever you like.

Create an account
02 /

Add some credit

Start from €5 in prepaid credits.
Only successful operations are charged.

Add credit
03 /

Make an API key

Create a key and copy it when it appears.
Store it somewhere secure.

Create a key
Make the connection

A familiar API.
Compact results.

Send a search request with REST and get back titles, URLs, and snippets. Your agent decides which pages are worth reading.

Set SEARCHBASE_API_KEY in your environment. The examples on this page read your key from there.

REST / SEARCH
curl https://api.searchbase.md/api/v1/search \
  -H "Authorization: Bearer $SEARCHBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"independent web search","limit":5}'
Connect your agent

An open protocol.
Your choice of agent.

Add Searchbase to any MCP client that supports remote HTTP servers and bearer authentication. Pick yours, then add the server to its configuration.

Claude Code reads .mcp.json in your project, OpenCode opencode.json, Codex ~/.codex/config.toml, VS Code .vscode/mcp.json, and Cursor .cursor/mcp.json. VS Code asks for your key when the server first starts.

New MCP clients should use Streamable HTTP at https://mcp.searchbase.md/mcp/http. For clients requiring SSE, use https://mcp.searchbase.md/mcp/sse with the same bearer header on the connection and follow-up requests. Initialization, tool discovery, and ping are free.

{
  "mcpServers": {
    "searchbase": {
      "type": "http",
      "url": "https://mcp.searchbase.md/mcp/http",
      "headers": {
        "Authorization": "Bearer ${SEARCHBASE_API_KEY}"
      }
    }
  }
}
Read a page

Have a URL?
Get the content.

Fetch a web page as Markdown. The MCP equivalent is fetch_url; search uses web_search.

Cloud fetch runs JavaScript on every page. Pages that need a sign-in or interaction, or that block automated access, may return limited content. Fetch respects robots.txt, and a failed fetch returns a code that says why.

REST / FETCH
curl https://api.searchbase.md/api/v1/fetch \
  -H "Authorization: Bearer $SEARCHBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com"}'
Ask about a page

Need the answer?
Skip the page.

Summarize fetches a page, then a smaller language model hosted in Europe answers your prompt from it, or summarizes the page when you send no prompt. Your agent gets the answer instead of the full page. The MCP equivalent is summarize_url.

A successful summarize costs €0.07, fetch included. Very long pages are cut before the model reads them, and the response says so. Pages can contain text written to mislead AI models, so treat answers as untrusted web content, and use fetch when you need the page itself.

REST / SUMMARIZE
curl https://api.searchbase.md/api/v1/summarize \
  -H "Authorization: Bearer $SEARCHBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://example.com","prompt":"What is this page for?"}'
A useful request ID. No saved search content.
Every API response includes X-Request-ID. When you need help, email support@searchbase.md and include it. Keep API keys in authorization headers, never in URLs. Read our privacy approach.