Kagi web search
kagi_searchSearch the web with Kagi for ad-free results. Use operators, date ranges, region, or lenses to refine.
Instructions
Search the web with Kagi (high-quality, ad-free results). Returns titles, URLs, dates and snippets. The query supports operators: "exact phrase", site:example.com, -excludeterm, OR. Use from_date/to_date to restrict by publication date, page for more results, region for country-specific results, and lens to restrict to a curated scope (forums, academic, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lens | No | Restrict results to a Kagi lens, by name or numeric id — e.g. "Forums" (Reddit-style discussions), "Fediverse Forums" (decentralized forums like Lemmy), "Academic", "Programming", "PDFs", "Usenet/Archive", "News 360". Call kagi_lenses for the full list on this account. | |
| page | No | Result page, default 1 | |
| limit | No | Max results to return (default: the full results page, typically 20-40) | |
| query | Yes | Search query (supports quotes, site:, -exclusion, OR) | |
| region | No | Result region: 2-letter country code ("us", "cn", "jp", "de", ...). Default: "no_region" (international, location-neutral) — set a country code when the question is region-specific. | |
| to_date | No | Only results published on/before this date (YYYY-MM-DD) | |
| from_date | No | Only results published on/after this date (YYYY-MM-DD) |