Kagi Extract API

Extract markdown content from web URLs.

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-extract-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-extract-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Kagi Search Extract 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: Extract
  description: Extract markdown content from web URLs.
paths:
  /extract:
    post:
      operationId: extract
      summary: Extract markdown from URLs
      description: Extract clean markdown content from up to 10 URLs per request using the Kagi extraction service.
      tags:
      - Extract
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                urls:
                  type: array
                  description: One or more URLs to extract markdown from (up to 10 per call).
                  items:
                    type: string
                    format: uri
              required:
              - urls
      responses:
        '200':
          description: Extracted markdown payload.
          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).