Kimi (Moonshot) compatible
Change api.moonshot.ai to api.specstream.ai/moonshot.
SpecStream answers Moonshot Kimi's web tool routes (POST /v1/tools/search, POST /v1/tools/search_pro, and POST /v1/tools/fetch) at https://api.specstream.ai/moonshot in Kimi's exact JSON format (search_results[] with chunks or text, and {url, markdown, title}). Searches cost $1 per 1,000 ($0.001 a call on fast tier) 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.moonshot.ai with https://api.specstream.ai/moonshot and send your SpecStream key as Authorization: Bearer. sites, time_window, include_content, and limit keep working without code rewrites.
New accounts get $10 of credit, no card. It covers 10,000 fast searches or 12,500 fetched pages.
Kimi (Moonshot) Web Tools to SpecStream, route by route
| SpecStream (`/moonshot/v1/tools/*`) | Kimi / Moonshot (`api.moonshot.ai/v1/tools/*`) | |
|---|---|---|
| Base address | https://api.specstream.ai/moonshot (/v1/tools/search, /v1/tools/search_pro, /v1/tools/fetch) | https://api.moonshot.ai (/v1/tools/search, /v1/tools/search_pro, /v1/tools/fetch) |
| Authentication | Your SpecStream API key as Authorization: Bearer <key> | Your Moonshot API key as Authorization: Bearer <key> |
| Search Basic and Pro | text_query, limit (1 to 20, default 5), include_content (Basic text), plus sites (up to 5) and time_window (start, end) returning chunks: [{text, score}] on search_pro | Same JSON request and search_results[] response schema |
| Fetch route | POST /moonshot/v1/tools/fetch with {"url": "..."} answers {"url", "markdown", "title"} | POST /v1/tools/fetch answers {"url", "markdown", "title"} |
| Pricing | $1 per 1,000 searches ($0.001 a call of up to 10 results) and $0.80 per 1,000 fetched pages ($0.0008 a page). Credit never expires | Metered separately per Basic, Pro, and Fetch tool calls |
| Benchmarks | WideSearch 64.0 item F1 (all 200 English & Chinese tasks; 7.00% Avg@4 success rate, 57.32% Avg@4 item F1), SimpleQA Verified 99, TRACE Extract v6 88.51% (benchmarks) | No independent multi-benchmark search leaderboard score |
What changes and what stays when you move from Kimi (Moonshot)
Both Basic search and Search Pro chunks work out of the box
POST /moonshot/v1/tools/search returns every Kimi field (authority, date, icon, mime, site_name, snippet, title, url, text), and POST /moonshot/v1/tools/search_pro filters by sites and time_window and populates chunks[] with scored passages from the live pages.
Top bilingual search accuracy across English and Chinese tasks
WideSearch's official 200-task suite splits 100 English and 100 Chinese deep research tasks. SpecStream ranks first across the full 200x4 official protocol (7.00% Avg@4 success rate, 13.00% Pass@4, 57.32% Avg@4 item F1, 64.0 single-trial item F1) with EU data residency and optional zero-retention API keys.
How SpecStream scores
The same numbers as the benchmarks page, from the official tasks and scorers.
3-line swap from Kimi (Moonshot) 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.moonshot.ai to https://api.specstream.ai/moonshot):
# Before (Kimi / Moonshot Search Pro)
curl https://api.moonshot.ai/v1/tools/search_pro \
-H "Authorization: Bearer $MOONSHOT_API_KEY" -H "Content-Type: application/json" \
-d '{"text_query": "open source vector databases", "limit": 5}'
# After (SpecStream: $1 per 1,000 fast searches; /v1/tools/fetch $0.80 per 1,000)
curl https://api.specstream.ai/moonshot/v1/tools/search_pro \
-H "Authorization: Bearer $SPECSTREAM_API_KEY" -H "Content-Type: application/json" \
-d '{"text_query": "open source vector databases", "limit": 5}'3. In Python:
# Before: BASE = "https://api.moonshot.ai"
# After:
import os, requests
BASE = "https://api.specstream.ai/moonshot"
reply = requests.post(
f"{BASE}/v1/tools/search_pro",
headers={"Authorization": f"Bearer {os.environ['SPECSTREAM_API_KEY']}"},
json={"text_query": "open source vector databases", "limit": 5},
).json()4. In TypeScript:
// Before: const BASE = "https://api.moonshot.ai";
// After:
const BASE = "https://api.specstream.ai/moonshot";
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 { url, title, markdown } = 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"]})Try live queries right now in our Web search tester.
Kimi (Moonshot) migration questions
Something we didn't answer? Talk to a human
Are all three Kimi web tool endpoints supported?
/moonshot/v1/tools/search, /moonshot/v1/tools/search_pro, and /moonshot/v1/tools/fetch all answer in Kimi's exact JSON shape.Does search_pro support sites and time_window filters?
sites and time_window: {"start": "2026-01", "end": "2026-11"} in YYYY, YYYY-MM, or YYYY-MM-DD format.What does search_pro cost on SpecStream?
How does error handling match Moonshot?
{"error": {"message", "type", "code"}} with Moonshot's error types (invalid_authentication_error, exceeded_current_quota_error, rate_limit_reached_error).Can I also call SpecStream natively or over MCP?
GET /v1/web-search, POST /v1/extract, Deep Search, and MCP at https://api.specstream.ai/mcp.Sources
Verified directly against `finder/search_dialects/kimi.py` and Moonshot Kimi web tool docs.
- SpecStream pricingspecstream.ai/pricing, read Nov 24, 2026
- SpecStream benchmarksspecstream.ai/benchmarks, read Nov 24, 2026
- Kimi tools API docsplatform.kimi.ai/docs/api/tools-search.md, read Nov 13, 2026




