Kavita OAuth API

The OAuth API from Kavita — 2 operation(s) for oauth.

Operations 2

GET /api/OAuth/start Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus #
GET /api/OAuth/callback Callback from KavitaPlus #

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/kavita:kavita-oauth-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

kavita-oauth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kavita OAuth API
  description: Kavita provides a set of APIs authenticated via an Auth Key passed in the `x-api-key` header. Generate an Auth Key under User Settings → Manage Auth Keys, paste it into the Authorize panel, and all Try It requests will include it. Assume all fields of a payload are required unless marked optional. Built against v0.9.1.15
  license:
    name: GPL-3.0
    url: https://github.com/Kareadita/Kavita/blob/develop/LICENSE
  version: 0.9.1.15
servers:
- url: '{protocol}://{hostpath}'
  variables:
    protocol:
      default: http
      enum:
      - http
      - https
    hostpath:
      default: localhost:5000
security:
- AuthKey: []
tags:
- name: OAuth
paths:
  /api/OAuth/start:
    get:
      tags:
      - OAuth
      summary: Start the OAuth flow for the given upstream, redirect (302!) to KavitaPlus
      parameters:
      - name: upstream
        in: query
        description: ''
        schema:
          $ref: '#/components/schemas/OAuthUpstream'
      responses:
        '200':
          description: OK
      operationId: getApiOAuthStart
      x-operation-id-source: derived
  /api/OAuth/callback:
    get:
      tags:
      - OAuth
      summary: Callback from KavitaPlus
      parameters:
      - name: upstream
        in: query
        description: ''
        schema:
          $ref: '#/components/schemas/OAuthUpstream'
      - name: token
        in: query
        description: ''
        schema:
          type: string
      - name: apiKey
        in: query
        description: Encrypted ApiKey
        schema:
          type: string
      - name: refreshToken
        in: query
        description: ''
        schema:
          type: string
      - name: expiresIn
        in: query
        description: ''
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
      operationId: getApiOAuthCallback
      x-operation-id-source: derived
components:
  schemas:
    OAuthUpstream:
      enum:
      - 0
      - 1
      - 2
      - 3
      - 4
      type: integer
      description: 'Members:

        - `0` — Discord

        - `1` — MangaBaka

        - `2` — AniList

        - `3` — MyAnimeList

        - `4` — Hardcover'
      format: int32
      x-enum-varnames:
      - Discord
      - MangaBaka
      - AniList
      - MyAnimeList
      - Hardcover
      x-enum-descriptions:
      - Discord
      - MangaBaka
      - AniList
      - MyAnimeList
      - Hardcover
  securitySchemes:
    AuthKey:
      type: apiKey
      description: Auth Key authentication. Enter your Auth key from your user settings
      name: x-api-key
      in: header