Kit For AI Convert API

The Convert API from Kit For AI — 1 operation(s) for convert.

Operations 1

POST /api/v1/convert Convert a document or URL #

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/kitforai:kitforai-convert-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

kitforai-convert-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kit for AI — API Playground Convert API
  version: 1.0.0
  description: Welcome to the **Kit for AI** API playground.
  contact:
    name: Kit for AI
    url: https://kitforai.com
servers:
- url: https://kitforai.com
security:
- apiKey: []
tags:
- name: Convert
paths:
  /api/v1/convert:
    post:
      summary: Convert a document or URL
      description: Provide either a `file` (PDF, Word, Excel, PowerPoint, CSV, HTML, image, text) or a `url`, and receive Markdown — or structured JSON when outputFormat=json. Rate limited per key by plan.
      operationId: convertDocument
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              description: Provide exactly one of `file` or `url`.
              properties:
                file:
                  type: string
                  format: binary
                  description: The document to convert
                url:
                  type: string
                  description: A web page or document URL to fetch and convert
                outputFormat:
                  type: string
                  enum:
                  - markdown
                  - json
                  default: markdown
                jsonSchema:
                  type: string
                  description: Optional JSON schema (stringified) describing fields to extract when outputFormat=json
                deepExtract:
                  type: boolean
                  description: 'Paid plans: OCR cleanup, table normalization, and figure descriptions'
                knowledgeBaseId:
                  type: string
                  description: 'Optional: attach the converted document to this knowledge base in one call (convert → attach). Must be a knowledge base you own; returned as `data.knowledgeBaseId` when attached.'
      responses:
        '201':
          description: Converted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConvertResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '422':
          description: Unsupported file or invalid input
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit or monthly quota reached
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Convert
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            endUserMessage:
              type: string
    ConvertResponse:
      type: object
      properties:
        data:
          type: object
          properties:
            id:
              type: string
            status:
              type: string
              enum:
              - completed
              - failed
            cached:
              type: boolean
            markdown:
              type:
              - string
              - 'null'
            json:
              type:
              - object
              - 'null'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key