Skip to the page

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 addresshttps://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)
AuthenticationYour SpecStream API key as Authorization: Bearer <key>Your Moonshot API key as Authorization: Bearer <key>
Search Basic and Protext_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_proSame JSON request and search_results[] response schema
Fetch routePOST /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 expiresMetered separately per Basic, Pro, and Fetch tool calls
BenchmarksWideSearch 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)

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?
Yes. /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?
Yes. Send up to 5 domains in 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?
Up to 10 results cost $1 per 1,000 searches ($0.001 a call) on the fast tier, the same price as Basic search.
How does error handling match Moonshot?
Refusals return {"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?
Yes. The same API key works on 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.

  1. SpecStream pricingspecstream.ai/pricing, read Nov 24, 2026
  2. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 24, 2026
  3. Kimi tools API docsplatform.kimi.ai/docs/api/tools-search.md, read Nov 13, 2026