DeepSeek Search & Fetch compatible
Change the base URL, keep /v1/tools/search and /fetch.
SpecStream answers DeepSeek's Search and Fetch tool routes (POST /v1/tools/search and POST /v1/tools/fetch) at https://api.specstream.ai/deepseek in DeepSeek's exact JSON shape. Searches cost $1 per 1,000 ($0.001 a call on the fast tier; $5 per 1,000 default Search API) and fetched pages cost $0.80 per 1,000 ($0.0008 a page). SpecStream is state of the art on the live web, setting a new bar in research, extraction and search. On WideSearch it outscores every search API at under a tenth of the cost, with 64.0 item F1 on all 200 tasks against 57.6 for Parallel and 56.1 for Exa (published scores, Sep 9, 2026), and holds top published scores across 12 public benchmarks: WideSearch 200x4 (7.00% Avg@4 success rate, 57.32% Avg@4 item F1), 66.7% on Seal-0, 71.26% on Seal-Hard, 60.7% on FinSearchComp Global T3, 90.78% on FRAMES, 84.9% on cloro FreshQA, 99 on SimpleQA Verified, 88.51% on TRACE Extract v6, 0.7812 on search-provider-bench Extract, 0.914 on WCXB, 0.971 on Scrapinghub, and 40 of 40 on scrapingbench (benchmarks).
Replace https://api.deepseek.com with https://api.specstream.ai/deepseek, send your SpecStream key as Authorization: Bearer, and keep your results[] (rerank_score, title, url, snippet, content, date) and {title, content} fetch parsers unchanged.
New accounts get $10 of credit, no card. It covers 10,000 fast searches or 12,500 fetched pages.
DeepSeek Search & Fetch API to SpecStream, field by field
| SpecStream (`/deepseek/v1/tools/*`) | DeepSeek (`api.deepseek.com/v1/tools/*`) | |
|---|---|---|
| Base address | https://api.specstream.ai/deepseek (POST /deepseek/v1/tools/search and POST /deepseek/v1/tools/fetch) | https://api.deepseek.com (POST /v1/tools/search and POST /v1/tools/fetch) |
| Authentication | Your SpecStream API key as Authorization: Bearer <key> | Your DeepSeek API key as Authorization: Bearer <key> |
| Search parameters | query (with site:, -site:, -term, "phrase", lang:, after:, before:), count (1 to 50, default 10), need_content (returns page passages in content) | query, count, ori_question, localization, need_content |
| Fetch response | POST /deepseek/v1/tools/fetch with {"url": "..."} returns {"title", "content"} as clean Markdown | {"title", "content"} |
| EU data residency and zero retention | Hosted in the EU (Madrid) with optional eu_egress_only and zero_retention per API key, plus engine_rule: {"deny": ["CN"]} | Operated outside EU data residency |
| Pricing | $1 per 1,000 fast searches ($0.001 a call of up to 10 results) and $0.80 per 1,000 fetched pages ($0.0008 a page). $10 free credit, no card | Metered through DeepSeek platform balance |
What changes and what stays when you move from DeepSeek Search & Fetch
Exact DeepSeek JSON and OpenAI-style error bodies
Every search reply carries results[] with rerank_score (0 to 3), title, url, snippet, summary, content (when need_content: true), site_name, site_icon, date (RFC 3339 UTC), and authority. Errors use DeepSeek's {"error": {"message", "type", "param", "code"}} envelope.
EU-hosted live search with key-level engine and retention controls
Teams using DeepSeek's tool protocol with EU privacy or engine-jurisdiction requirements can run the exact same client against SpecStream's EU infrastructure, turn on zero_retention: true and eu_egress_only: true per API key, and deny specific engine countries via engine_rule.
How SpecStream scores
The same numbers as the benchmarks page, from the official tasks and scorers.
3-line swap from DeepSeek Search & Fetch to SpecStream
1. Create a key in the workspace. New accounts get $10 of credit, no card (10,000 fast searches or 12,500 fetched pages).
2. Swap the base address in curl (https://api.deepseek.com to https://api.specstream.ai/deepseek):
# Before (DeepSeek Search API)
curl https://api.deepseek.com/v1/tools/search \
-H "Authorization: Bearer $DEEPSEEK_API_KEY" -H "Content-Type: application/json" \
-d '{"query": "open source vector databases", "count": 10}'
# After (SpecStream: $1 per 1,000 fast searches; /v1/tools/fetch $0.80 per 1,000)
curl https://api.specstream.ai/deepseek/v1/tools/search \
-H "Authorization: Bearer $SPECSTREAM_API_KEY" -H "Content-Type: application/json" \
-d '{"query": "open source vector databases", "count": 10}'3. In Python:
# Before: BASE = "https://api.deepseek.com"
# After:
import os, requests
BASE = "https://api.specstream.ai/deepseek"
reply = requests.post(
f"{BASE}/v1/tools/search",
headers={"Authorization": f"Bearer {os.environ['SPECSTREAM_API_KEY']}"},
json={"query": "open source vector databases", "count": 10, "need_content": True},
).json()4. In TypeScript:
// Before: const BASE = "https://api.deepseek.com";
// After:
const BASE = "https://api.specstream.ai/deepseek";
const res = await fetch(`${BASE}/v1/tools/fetch`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.SPECSTREAM_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://example.com/pricing" }),
});
const { title, content } = await res.json();5. Over MCP (Claude, Cursor, VS Code, ChatGPT):
// MCP client config (Claude, Cursor, VS Code, ChatGPT, Windsurf)
{
"mcpServers": {
"specstream": {
"url": "https://api.specstream.ai/mcp",
"headers": { "Authorization": "Bearer YOUR_SPECSTREAM_API_KEY" }
}
}
}
// Tools: search_web({"q": "open source vector databases"}) and read_pages({"urls": ["https://example.com/pricing"]})Test live search right now in our Web search tester or URL to Markdown extractor.
DeepSeek Search & Fetch migration questions
Something we didn't answer? Talk to a human
Do both /v1/tools/search and /v1/tools/fetch work?
POST /deepseek/v1/tools/search runs a fast web search ($1 per 1,000 calls for up to 10 results) and POST /deepseek/v1/tools/fetch runs an Extract API page read ($0.80 per 1,000 pages).Are DeepSeek search operators like site:, lang:, and after: supported?
site:, -site:, -term, quoted phrases, lang:, after:, and before: are parsed and enforced by SpecStream.What does need_content: true return?
need_content is true, SpecStream reads the top result pages and populates each result's content field with the passages closest to your query.Can I restrict search engines by jurisdiction?
"engine_rule": {"deny": ["CN"]} and "eu_egress_only": true on your SpecStream API key, or pass engines=-CN on native /v1/web-search calls.How is a page with no readable text billed on /v1/tools/fetch?
404 with not_found_error and charges nothing.Sources
Verified directly against `finder/search_dialects/deepseek.py` and DeepSeek's Search & Fetch API docs.
- SpecStream pricingspecstream.ai/pricing, read Nov 24, 2026
- SpecStream benchmarksspecstream.ai/benchmarks, read Nov 24, 2026
- DeepSeek Search API docsapi-docs.deepseek.com/guides/search, read Nov 13, 2026




