Hardcover API

Hardcover API as documented publicly: 4 operations. Contract generated from the documentation by API Evangelist (2026-10-28); not the provider's own document.

Operations 4

POST /oauth2/device Initiate a device authorization grant flow. #
POST /oauth2/introspect Introspect a token to check its validity (confidential clients only). #
POST /oauth2/revoke Revoke an OAuth token. #
POST /oauth2/token Exchange authorization code or refresh token for an access token. #

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/hardcover:hardcover-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

hardcover-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Hardcover API
  version: '2026-10-28'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-28: 4 operation(s) read from 1 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; Hardcover has published no machine-readable contract that the
    pipeline could find. Engine: anthropic.'
  x-evidence-tiers:
    code-example: 0
    documentation: 4
    pages-with-code: 0
    pages-read: 1
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-28'
  x-generator: generate-contract-from-docs.py
  x-engine: anthropic
  x-sources:
  - https://docs.hardcover.app/api/oauth
servers:
- url: https://api.hardcover.app
paths:
  /oauth2/device:
    post:
      operationId: post_oauth2_device
      tags:
      - Oauth2
      summary: Initiate a device authorization grant flow.
      x-source: https://docs.hardcover.app/api/oauth
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostOauth2DeviceResponse'
      x-evidence:
        kind: documentation
  /oauth2/introspect:
    post:
      operationId: post_oauth2_introspect
      tags:
      - Oauth2
      summary: Introspect a token to check its validity (confidential clients only).
      x-source: https://docs.hardcover.app/api/oauth
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /oauth2/revoke:
    post:
      operationId: post_oauth2_revoke
      tags:
      - Oauth2
      summary: Revoke an OAuth token.
      x-source: https://docs.hardcover.app/api/oauth
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /oauth2/token:
    post:
      operationId: post_oauth2_token
      tags:
      - Oauth2
      summary: Exchange authorization code or refresh token for an access token.
      x-source: https://docs.hardcover.app/api/oauth
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostOauth2DeviceResponse:
      type: object
      properties:
        device_code:
          type: string
          description: id you use to identify your polling requests
        user_code:
          type: string
          description: the code you tell the user to enter
        verification_uri:
          type: string
          description: where you tell the user to go
        verification_uri_complete:
          type: string
          description: a complete url you can turn to a QR that will prefill the code
        expires_in:
          type: integer
          description: in seconds, how long you have to do the auth before giving up
        interval:
          type: integer
          description: in seconds, how often you should poll
tags:
- name: Oauth2