Kagi Search API

Perform Kagi web searches.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kagi-search-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kagi-search-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Kagi Extract Search API
  description: REST API for the Kagi premium search platform, exposing web search and markdown extract endpoints. All requests are authenticated with a Kagi API token issued from the Kagi API portal.
  version: 1.0.0
  termsOfService: https://kagi.com/terms
  contact:
    name: Kagi Support
    url: https://help.kagi.com/kagi/api/overview.html
  license:
    name: Proprietary
    url: https://kagi.com/terms
servers:
- url: https://kagi.com/api/v1
  description: Kagi API production endpoint
security:
- bearerAuth: []
tags:
- name: Search
  description: Perform Kagi web searches.
paths:
  /search:
    post:
      operationId: search
      summary: Run a Kagi search query
      description: Perform a web search using the Kagi index. Supports access to premium results, Lenses, and markdown extraction features.
      tags:
      - Search
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                q:
                  type: string
                  description: Search query string.
              required:
              - q
      responses:
        '200':
          description: Search results.
          content:
            application/json:
              schema:
                type: object
    get:
      operationId: searchGet
      summary: Run a Kagi search query via GET
      description: Perform a web search using the Kagi index by passing the query as a URL parameter.
      tags:
      - Search
      parameters:
      - name: q
        in: query
        required: true
        description: Search query string.
        schema:
          type: string
      responses:
        '200':
          description: Search results.
          content:
            application/json:
              schema:
                type: object
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Kagi API token issued from https://kagi.com/api/keys, sent in the Authorization header as "Bearer <token>" (or the equivalent "Bot <token>" form documented for the legacy Search endpoint).