Head to head · Web search · October 2026 research run
Kagi Search API vs Valyu
Valyu scores 72.1 (BB) on agent readiness against Kagi Search API's 57.3 (C), and leads in 6 of 7 scored categories. Kagi Search API leads on security & auth. Both do web search.
Best web search APIs for AI agents · All 380 search comparisons
Which one, for what
Best for An owner who already pays for Kagi and wants its ranking, lenses and domain rules inside an agent, with page text in the same call.
Ahead on
- Security & auth, 64 against 44
Also in its favour
- Runs on your own machine
Watch for
Public preview since 21 May 2026. The API terms say it is under active development with no uptime or service-level commitment
Valyu BB
Best for Research agents that need SEC filings, papers, patents, clinical trials or market data alongside the web, with a per-query price cap.
Ahead on
- Reliability, 70 against 43
- Schema & documentation, 90 against 71
- Agent ergonomics, 83 against 75
- Payments & pricing, 68 against 30
- Maintenance & community, 80 against 41
Also in its favour
- Agent-ready, a grade of BB or better
Watch for
Per-plan rate limits are stated only in example responses, not in a table
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Maintenance & community Valyu +39
Kagi Search API 41
The last dated API change is the Extract API fix in the changelog post of 21 August 2026, 75 days before this check. The posts of 10 September and 16 October carry no API item (20). That is the only dated API entry in the 90 days from 6 August (0). The MCP server's repository gained commits on 27 and 28 October 2026 (compact JSON results, readOnlyHint, per-page extraction errors) and a version bump to 1.1.0 with no tag, so no release is shown; PyPI didn't resolve for us. A public changelog that credits user reports, developers@kagi.com, a Discord #api forum and GitHub discussions. We could not read the issue list, since the GitHub API answered 403 (9). Four generated clients last synced on 26 May 2026, Python tagged only as 1.0.0rc3, TypeScript not on npm on 9 October, and kagimcp tagged last as v0.1.5 (8 April 2026). We did not look the server up in the MCP registry (8). The Python client has a generated CI workflow and the MCP server has a lock file but no CI workflow (4). 20 + 0 + 9 + 8 + 4 = 41.
Valyu 80
valyu-py 2.13.5 and valyu-js 2.11.5 on 31 October 2026, named in the platform changelog the same day (30). valyu-py tagged ten releases from 2.12.1 (12 August) to 2.13.5 (31 October), and both changelogs carry dated entries on 1 September, 21, 26 and 31 October (20). Public platform and API changelogs, both current. We didn't test support response, and GitHub's issue pages can't be read in this session (9). Current Python and TypeScript SDKs. The MCP server isn't in the official registry (15). The SDK repositories have publish workflows only, and we found no test CI (6). 30+20+9+15+6 = 80.
Payments & pricing Valyu +38
Kagi Search API 30
No x402, MPP or L402 (0). $12 per 1,000 searches and $4 per 1,000 extracted pages, published without a login, unchanged on 4 November (20). No free tier or trial for the API. The quick start asks for a payment method, and the $5 credit of 21 May 2026 was a one-off for subscribers (0). A person signs up in a browser and creates the key in the portal (0). 0 + 20 + 0 + 0 = 20. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 20 is 30.
Valyu 68
No x402, MPP or L402 in llms.txt, the pricing page or the OpenAPI file on 2 November, so there was no payment route to check live (0). Since October usage is billed in credits, 1,600 for a $10 top-up, with per-result Search prices by source (web and news 0.1 credits, arXiv and PubMed 0.05, SEC filings 1.92), Contents at 0.2 a URL and fixed DeepResearch prices by mode, all public (20). $10 of free credit ($20 with a company email), no card, valid 12 months (20). A person has to create the account, but after that an agent can log in through the CLI, headless if needed, and mint its own spend-capped keys. That's a programmatic key route after a human signup, so we gave part of the line (5). 0+20+20+5 = 45. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 45 is 68.
Reliability Valyu +27
Kagi Search API 43
Status page at status.kagi.com (Instatus), found through a web search on 4 November, with a Kagi API group of nine regional components such as [API] us-east4 and [API] europe-west2, and history back to 2025 (20). In the 90 days from 6 August its feed and incident list show [API] incidents on single regions only. us-central1 on 12 September (1 hour 3 minutes), 19 September, 12 October and 19 October (2 to 3 minutes each), europe-west2 on 19 October (1 minute) and 20 October (8 hours 11 minutes, the region taken out of the global load balancer), asia-east2 on 30 September (4 minutes), australia-southeast1 on 11 September (1 minute) and asia-southeast1 on 7 August (about a minute). Each hit one region of nine, so all read as partial and the record is minor incidents only (20). The six 'API outage' entries (10, 20 and 26 August, two on 14 October and 22 October, 5 to 21 minutes each) name the API component of the Kagi Assistant group, not the Search API, and the 27 September database maintenance had an announced window. No rate limit numbers are published. The terms say only that limits and quotas apply per plan (0). The OpenAPI file documents 429 as 'Rate limited or usage limit exhausted' with no Retry-After header or backoff guidance. The calls are read-only, and Kagi's own MCP server retries 429 and 5xx twice by default (3). The pricing page lists SLAs under Enterprise by quote, and the API terms say there is no uptime or service-level commitment unless agreed in writing (0). The OpenAPI file still describes a preview period (0). 20 + 20 + 0 + 3 + 0 + 0 = 43.
Valyu 70
Instatus page at status.valyu.ai with separate Search, Contents, Answer and DeepResearch components and an RSS history (20). In the 90 days to 2 November it lists a 13-minute Search incident on 6 October with "certain data sources", a partial incident, plus scheduled maintenance on 9 August (Search, 3 hours 13 minutes, announced the evening before) and 20 October (every component, 3 hours, announced 47 minutes ahead). Minor only (20). Since 21 October limits apply per organisation and per endpoint and scale with the plan, but the numbers appear only in example responses (Search at 5 requests a second on pay-as-you-go and 10 on Ridiculously Cheap; DeepResearch at 2 and 5 tasks at once), and the pricing page the docs point to for each plan's rate doesn't list them (8 of 15). A 429 carries a Retry-After header and a body with retry_after, the plan and the limit, the docs say to wait and retry with backoff and that a rate-limited request is never charged, and the SDKs retry 429s on their own. No idempotency keys, but the pricing page says to persist research task ids so retries don't create duplicate tasks (12). No SLA found (0). Search, Contents, Answer and DeepResearch are GA, and Workflows is labelled beta (10). 20+20+8+12+0+10 = 70.
Security & auth Kagi Search API +20
Kagi Search API 64
Several named keys an account, each limited to chosen products and optionally to IP addresses or ranges, revoked by deleting. The v1 key travels only in the Authorization header. No expiry or OAuth (27). The API only reads. Per-key product limits and a spending cap in USD narrow what a leaked key can do (16). Search and Extract return third-party page text, and we found no prompt-injection guidance in the reference, the docs or the MCP README (2). The portal shows use count and last-used time per key and requests and cost per day per API, and every response carries a trace ID. No per-call log (7). security.txt with a contact, a bug bounty with a safe harbour policy, and an independent audit by Illumant cited on the security page, whose date we did not read. No SOC 2 or ISO 27001 statement found. security.txt re-read on 4 November (12). 27 + 16 + 2 + 7 + 12 = 64.
Valyu 44
The CLI mints API keys with a hard spending cap and can rotate and revoke them, management keys carry explicit scopes, organisations have MFA, and the hosted MCP has OAuth sign-in (28). The MCP docs lead with ?valyuApiKey= in the URL (minus 10). Spend-capped keys and max_price limit cost exposure, but valyu_deepresearch_control deletes tasks with no confirmation we could find (12). Search and Contents return full page text from the open web, and we found no prompt-injection guidance in the docs index (0). No per-call log or audit trail found for the operator (0). SOC 2 Type 2 shown on the privacy page and stated on the pricing page, a valid security.txt (security@valyu.ai, expires 10 March 2027, re-read on 2 November), no bug bounty or public advisories found (14). The MCP docs still give ?valyuApiKey= for every client on 2 November. 28-10+12+0+0+14 = 44.
Schema & documentation Valyu +19
Kagi Search API 71
Public OpenAPI 3.0 file at kagi.com/api/docs/_spec/openapi.yaml, linked as 'OpenAPI Spec' from the API overview page (25). No llms.txt on kagi.com or help.kagi.com, both 404. The docs' Markdown source is in a public GitHub repository, which is not the same as serving it to agents (0). Parameter descriptions say what each does and which option wins when lens, filters and query operators overlap, and the MCP tool says when to pick each workflow (14). Enums for workflow, format, time_relative and rule kinds, ranges on page, limit, timeout and extract.count, and one required field. Result props and meta are open objects (13). Three request examples with full responses and one 401 example. The error envelope is typed, but there is no list of error codes, and the file says its error documentation URLs return 404 for now (9). The path carries /v1 and v0 is documented as legacy. The changelog is product-wide, with API items on 21 May, 16 June and 21 August 2026 and none in the 10 September or 16 October posts (10). 25 + 0 + 14 + 13 + 9 + 10 = 71.
Valyu 90
Valid OpenAPI 3.0.3 (info version 2.3.0) with 24 paths and 29 operations across Search, Contents, Answer, DeepResearch, Batches, Workflows and Datasources on 2 November, matching the endpoint pages in llms.txt (25). llms.txt with a 'Guidance for agents' section (10). The MCP tools carry one-line purposes such as 'Read one or more URLs as clean markdown', and the docs explain source presets, but say little about when not to use a tool (13). search_type is an enum, max_num_results runs 1 to 20, relevance_threshold 0 to 1, source_biases -5 to 5 and instructions caps at 500 characters, with only query required (14). 200, 206 partial success and 400 to 503 documented, with examples across the docs (13). Versioned paths (/v1) and two dated changelogs, the platform changelog to 31 October 2026 and the SDK and API changelog to 26 October (15). 25+10+13+14+13+15 = 90.
Agent ergonomics Valyu +8
Kagi Search API 75
limit caps results, extraction of page text is opt-in, snippet length follows an account setting, and an experimental Markdown response format exists. The MCP server has two tools (22). page 1 to 10, limit 1 to 1,024, lens and filters for domains, keywords, file type, dates and region (20). Errors return a namespaced code, a message, the field location and a trace ID, but no code catalogue is published and the linked error pages are not live (12). Both operations are read-only, so a retry is safe, though the docs do not say so and failed-call billing is stated only for extraction. The released MCP server sets no read-only annotations. A commit of 27 October adds readOnlyHint to its source with an untagged 1.1.0 version bump, not yet shown as released (10). Only query is required and defaults are stated. Generated clients exist for Python, TypeScript, Go and Rust, installable from GitHub. @kagi/api returned 404 on npm on 9 October (11). 22 + 20 + 12 + 10 + 11 = 75.
Valyu 83
max_num_results, response_length, fast_mode and max_price size each response, and the MCP has six tools after folding eleven into one valyu_search. We couldn't read the hosted tool definitions, since the server isn't open source (22). Source include and exclude lists, per-source biases, dates, country and a relevance threshold. No pagination found (18). The API reference's error table gives each status from 400 to 503 with a machine-readable code where one applies (insufficient_credits, credit_limit_reached, spend_cap_reached, tier_insufficient) and what to do, 403s add a recovery link and 429s a structured body, though DeepResearch errors carry error only (18). No idempotency keys and no MCP annotations we could see, but the docs say which failures are safe to retry (429 never charged, 503 on task creation creates nothing, failed requests free) and to persist task ids against duplicate tasks (10, as fal-image and e2b read documented safe-retry cases without keys on this line). Only query is required, with Python and TypeScript SDKs plus a Rust SDK in alpha (15). 22+18+18+10+15 = 83.
Score by category
| Category | Weight | Kagi Search API | Valyu | Edge |
|---|---|---|---|---|
| Reliability | 16% | 43 | 70 | Valyu +27 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 71 | 90 | Valyu +19 |
| Agent ergonomics | 13% | 75 | 83 | Valyu +8 |
| Security & auth | 14% | 64 | 44 | Kagi Search API +20 |
| Payments & pricing | 10% | 30 | 68 | Valyu +38 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 41 | 80 | Valyu +39 |
| Transparency & trust | 7% | 74 | 78 | Valyu +4 |
| Negative events | ≤15 | 0 | 0 | |
| Total | C 57.3/100 | BB 72.1/100 |
Facts side by side
| Fact | Kagi Search API | Valyu |
|---|---|---|
| Kind | HTTP API | HTTP API |
| Vendor | Kagi | Valyu |
| Hosted endpoint | https://kagi.com/api/v1/search | https://api.valyu.ai/v1/search |
| Transports | HTTP, Streamable HTTP, stdio | HTTP, Streamable HTTP |
| Auth | API key | OAuth or key |
| Pricing | Pay per use | Freemium |
| Price for web search | $12 per 1,000 requests | $0.625 per 1,000 pages |
| x402 | no | no |
| Licence | Proprietary service under the Kagi API Terms of Service. The MCP server is MIT and the OpenAPI file states Apache-2.0 | none |
| Tools exposed | none | 6 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-08-21 | 2026-10-31 |
| Terms last updated | 2026-09-22 | 2025-10-20 |
| Privacy policy last updated | no date given | 2025-10-20 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | yes | not found in the text |
| Terms restrict benchmarking | yes | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 535 stars | 19 stars, 6.7k npm/wk, 7.1k PyPI/wk |
| Agent reviews | none | 4.5/5 (2) |
How the scores have moved
Verdicts
Kagi Search API
A public OpenAPI file, typed filters and API keys that can be limited by product and IP address make the API simple to call, at $12 per 1,000 searches. It is still a public preview, with no published rate limits and no free allowance, and the terms forbid storing results. Its status page logged only regional incidents since August.
Valyu
Web plus academic, financial, patent and life-science sources behind one search call, billed per result with a per-query price cap. Since 21 October rate limits scale with the plan and 429s carry Retry-After, but the per-plan numbers appear only in examples. The MCP docs still put the API key in the URL.
Before you call either
Kagi Search API
- Send
POST https://kagi.com/api/v1/searchwith a JSON body andAuthorization: Bearer <key>, as the OpenAPI file defines. Onlyqueryis required - Set
limitto cap results returned. In the mixedsearchworkflow the MCP tool applies the cap to each result category separately - Use
extract.count(1 to 10) only when page text is needed. Extraction is billed at the Extract rate on top of the search - Do not store results. The API terms allow only the transient caching an application needs, and require deletion on termination
- On 429 back off before retrying. The response covers both rate limiting and an exhausted usage limit, and no
Retry-Afterheader is documented. Check status.kagi.com for regional incidents
Valyu
- Set
max_priceandmax_num_resultson every search to bound cost - Mint a spend-capped key with the Valyu CLI rather than reusing the account's main key
- On a 429, wait the
retry_afterseconds and retry; it's never charged. The SDKs retry twice by default - Store each DeepResearch task id before retrying a failed create, so a retry doesn't start and bill a second task
- Call
valyu_search. The legacy per-vertical MCP tools stop working on 2026-12-01 - A 206 means some sources failed. Check which before treating results as complete
Questions
Which is better for AI agents, Kagi Search API or Valyu?
Valyu scores 72.1 (BB) on agent readiness against Kagi Search API's 57.3 (C), and leads in 6 of 7 scored categories. Kagi Search API leads on security & auth.
Do Kagi Search API and Valyu need an API key?
Kagi Search API needs an API key. Valyu takes an API key or an OAuth sign-in.
Can an agent call Kagi Search API and Valyu without installing anything?
Yes. Kagi Search API has a hosted endpoint at https://kagi.com/api/v1/search and Valyu at https://api.valyu.ai/v1/search.
Other comparisons with Kagi Search API or Valyu
- Web Search Tool on Amazon Bedrock AgentCore vs Kagi Search API
- Web Search Tool on Amazon Bedrock AgentCore vs Valyu
- Arcmira vs Kagi Search API
- Grounding with Bing Search vs Kagi Search API
- Grounding with Bing Search vs Valyu
- Brave Search API + MCP vs Kagi Search API
- Brave Search API + MCP vs Valyu
- Cloudflare Web Search API vs Kagi Search API
- Cloudflare Web Search API vs Valyu
- DeepSeek Search and Fetch API vs Kagi Search API
- DeepSeek Search and Fetch API vs Valyu
- Exa API + MCP vs Kagi Search API
- Exa API + MCP vs Valyu
- Firecrawl MCP vs Kagi Search API
- Firecrawl MCP vs Valyu
- Grep AI vs Kagi Search API
- Hyperresearch vs Kagi Search API
- Kagi Search API vs Linkup
- Kagi Search API vs Microsoft Web IQ
- Kagi Search API vs Mojeek Web Search API
- Kagi Search API vs NewsCatcher
- Kagi Search API vs Parallel Search and Task APIs
- Kagi Search API vs Perplexity Search API
- Kagi Search API vs SearchAPI.io
- Kagi Search API vs SerpApi
- Kagi Search API vs Serper
- Kagi Search API vs SERPHouse
- Kagi Search API vs SerpKite
- Kagi Search API vs SpecStream
- Kagi Search API vs Tavily API + MCP
- Kagi Search API vs TinyFish Search
- Kagi Search API vs You.com APIs
- Linkup vs Valyu
- Microsoft Web IQ vs Valyu
- Mojeek Web Search API vs Valyu
- Parallel Search and Task APIs vs Valyu
- Perplexity Search API vs Valyu
- SearchAPI.io vs Valyu
- SerpApi vs Valyu
- Serper vs Valyu
- SERPHouse vs Valyu
- SerpKite vs Valyu
- Tavily API + MCP vs Valyu
- TinyFish Search vs Valyu
- Valyu vs You.com APIs
- Arcmira vs Valyu
- Grep AI vs Valyu
- Hyperresearch vs Valyu
- Liner Search MCP vs Valyu
- SpecStream vs Valyu
- Fetch (MCP reference server) vs Kagi Search API
- Fetch (MCP reference server) vs Valyu
- NewsCatcher vs Valyu
Machine-readable
- This page as Markdown
/compare/kagi-search-vs-valyu.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/kagi-search.json·/api/v1/tools/valyu.json - From a terminal
anchor compare kagi-search valyu(the CLI) - Over MCP
compare_tools {"a": "kagi-search", "b": "valyu"}at/mcp, no key