Skip to content
Menu
Search · Deep search · POST /v2/deep-search

Search, rank by consensus and read the best sources — one call

Deep search asks several engines, ranks the results by Echo — how many independent engines returned the same URL — and scrapes the top pages in parallel. One request instead of search plus N scrapes.

Endpoint
POST /v2/deep-search
Mode
Synchronous (default timeout 45 s)
Credits
2 per 10 results + 1 per page read · +4 with answer
Also
POST /v1/deep-search · POST /native/v1/deep-search (same handler)

What it's for

Grounded answers for agents

Give the model the five most corroborated pages as Markdown, with the URLs to cite.

Research briefs

Turn on "answer": true and get a short answer written only from the scraped sources, with the sources listed.

Fewer round-trips

No search-then-scrape loop in your code: one call, one bill, failures reported per page.

How it works

  1. Search wide

    Up to 20 candidate results are collected from several search engines (sources_considered).

  2. Rank by Echo

    Each result's Echo is the number of distinct engines that returned it. Consensus first; ties keep the original search position.

  3. Read the top pages

    The top limit results (default 5, max 10) are scraped in parallel as main-content Markdown.

  4. Report honestly

    A page that could not be read stays in the list with an error (timeout, blocked, HTTP failure) instead of silently disappearing.

How the Echo ranking works

Every candidate result carries the list of search engines that returned it (engines). Its Echo is how many distinct engines that is. Results are sorted by Echo, highest first; equal Echo keeps the original search position.

Consensus is a strong, cheap signal: a page that several independent engines rank for your query is rarely spam and usually on topic. The top limit pages are then read.

  1. example.eu/ai-act/article-50Article 50: Transparency obligations3/3 engines
  2. news.example.com/ai-act-chatbotsWhat the AI Act means for chatbots3/3 engines
  3. example.org/guide/ai-actThe AI Act, a practical guide2/3 engines

Request parameters

Full docs →
FieldType DefaultDescription
queryrequiredstring—The question or search query, up to 500 characters.
limitinteger5Pages to scrape and return, 1–10.
answerbooleanfalseAdd an LLM answer written from the scraped sources (+4 credits).
lang / countrystring"en"Result language / country.
tbsstring—Time filter, as on Search.
includeDomains / excludeDomainsstring[]—Up to 50 each; not both.
safebooleantrueSafe search.
scrapeOptionsobject{"formats": ["markdown"]}As on Search; LLM formats, screenshots and json are not available here.
timeoutinteger (ms)45000Clamped to 10000–110000.

Unknown fields do not fail the request — they are listed in the response warning, as are values that were clamped to the engine's limits.

Example request

bash
curl -X POST https://crawl.echolotnews.com/v2/deep-search \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "how do EU AI Act transparency rules apply to chatbots",
  "limit": 5,
  "answer": true
}'
python · requests
import requests

API = "https://crawl.echolotnews.com"
HEADERS = {"Authorization": "Bearer YOUR_API_KEY"}

resp = requests.post(f"{API}/v2/deep-search", headers=HEADERS, json={
    "query": "how do EU AI Act transparency rules apply to chatbots",
    "limit": 5,
    "answer": True,
}, timeout=130)
resp.raise_for_status()
data = resp.json()["data"]
for r in data["results"]:
    print(r["echo"], r["url"], r.get("error", ""))
print(data.get("answer"))
javascript · fetch
const API = "https://crawl.echolotnews.com";
const headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" };

const res = await fetch(`${API}/v2/deep-search`, {
  method: "POST",
  headers,
  body: JSON.stringify({
    "query": "how do EU AI Act transparency rules apply to chatbots",
    "limit": 5,
    "answer": true
  }),
});
const json = await res.json();
json.data.results.forEach((r) => console.log(r.echo, r.url, r.error ?? ""));
console.log(json.data.answer);
mcp
# There is no dedicated MCP tool for /v2/deep-search — call the REST endpoint
# (curl / Python / JavaScript tabs) from your agent, or connect the
# MCP server for the other tools:
claude mcp add --transport http echolot https://crawl.echolotnews.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"

Example response

json · trimmed
{
  "success": true,
  "data": {
    "query": "how do EU AI Act transparency rules apply to chatbots",
    "results": [
      {
        "url": "https://example.eu/ai-act/article-50",
        "title": "Article 50: Transparency obligations",
        "description": "Providers shall ensure that AI systems intended to interact…",
        "echo": 3,
        "engines": ["google", "duckduckgo", "startpage"],
        "position": 2,
        "markdown": "# Article 50\n\n1. Providers shall ensure…",
        "metadata": { "title": "Article 50…", "statusCode": 200 }
      },
      {
        "url": "https://example.com/blocked-page",
        "title": "AI Act explained",
        "echo": 2,
        "engines": ["google", "startpage"],
        "position": 1,
        "error": "timeout"
      }
    ],
    "sources_considered": 20,
    "answer": "Chatbots must tell users they are talking to an AI system…",
    "answerSources": ["https://example.eu/ai-act/article-50"]
  },
  "creditsUsed": 10,
  "warnings": []
}
WhatCredits
Search, per started block of 10 results returned2
Each page scraped successfully+1 (Markdown)
answer: true+4
Typical: 5 pages, no answer≈ 7

Start with 500 free credits

No card required. Every endpoint, REST and MCP.