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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/pdf2md-dev:pdf2md-dev-identity-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: PDF to Markdown API Facade Identity API
version: 2.1.1
description: 'API facade for the PDF → Markdown Chrome extension. Core logic for the queue and result delivery,
device identification via a WebCrypto keypair + device_token, signed requests (see docs/security.md).
v2.0.0 (EP-023): additively introduced `/api/v2/*` endpoints for accounts, API keys, hosted MCP, and
paid tiers. Authentication for `/api/v2/*` — `Authorization: Bearer p2m_...` (API key, over TLS, without
an ES256 signature) OR an OAuth session (extension/web). See docs/v2.0.0-roadmap.md §6-7, docs/security.md.
BACKWARD COMPATIBILITY (hard invariant): all v1 paths (`/register`, `/jobs`, `/jobs/{id}`,
`/jobs/{id}/download`, `/settings`) and their schemas do NOT change — the old and new extensions work
simultaneously against backend 2.0.0 without errors (docs/v2.0.0-roadmap.md §6.9).'
servers:
- url: https://pdf2md.dev
description: 'Production — PRIMARY origin (EP-024, promoted). v1 at root (/register, /jobs, …); v2 under /api/v2/*. The API is served identically on both production domains; OAuth redirect_uri and billing return URLs follow the request origin (allow-list PUBLIC_ORIGINS), so the OAuth callback host matches whichever domain you start on.
'
- url: https://pdf2md.huskyhaul.online
description: Production — alternative origin (kept for the v1 extension). Same API surface.
- url: http://localhost:8080
description: Local docker nginx (same routing — v1 root + /api/v2/*)
security:
- DeviceToken: []
tags:
- name: Identity
description: Device registration and token issuance
paths:
/register:
post:
tags:
- Identity
summary: Register device
description: 'Idempotent device registration by public key (ES256). Returns `device_id` and `device_token`.
For request signing, anti-replay, and limit details, see docs/security.md.'
security: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RegisterRequest'
responses:
'200':
description: Device registered
content:
application/json:
schema:
$ref: '#/components/schemas/RegisterResponse'
'400':
description: Invalid public key or request format
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'429':
description: Registration limits exceeded (per IP/ASN)
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
operationId: postRegister
x-operation-id-source: derived
components:
schemas:
ErrorResponse:
type: object
required:
- code
- message
properties:
code:
type: string
description: Short error code
enum:
- validation_error
- token_invalid_or_expired
- signature_invalid
- replay_detected
- rate_limited
- device_blocked
- not_ready
- gone
example: signature_invalid
message:
type: string
example: Invalid request signature
RegisterResponse:
type: object
required:
- device_id
- device_token
- expires_at
properties:
device_id:
type: string
format: uuid
example: 4b6b4b1c-7b6d-4c5d-9f70-2f4d8e7b1234
device_token:
type: string
description: bearer token for requests (see docs/security.md)
example: eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...
expires_at:
type: string
format: date-time
description: device_token expiration time
example: '2024-12-31 23:59:59+00:00'
RegisterRequest:
type: object
required:
- public_key_spki_b64
- alg
properties:
public_key_spki_b64:
type: string
description: base64(SPKI) of the ES256 public key
example: MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEsT3...
alg:
type: string
enum:
- ES256
telemetry:
type: object
description: Optional, for analytics (not used for blocking in MVP)
properties:
fingerprint_v1:
type: string
ext_version:
type: string
browser:
type: string
platform:
type: string
securitySchemes:
AdminSecret:
type: http
scheme: bearer
description: 'v2 (EP-023-T9): support read-view secret (ADMIN_SECRET). Server-only; empty → /api/v2/admin/* 404.'
DeviceToken:
type: http
scheme: bearer
bearerFormat: JWT
description: 'device_token, issued at `/register`. All protected requests are also signed (timestamp, nonce, body hash, signature) —
see docs/security.md (canonical string `METHOD\nPATH\nTIMESTAMP\nNONCE\nBODY_SHA256`, ±300s window, nonce TTL 5 min).
'
ApiKey:
type: http
scheme: bearer
bearerFormat: opaque
description: 'v2 (EP-023): API key `Authorization: Bearer p2m_...` over TLS. WITHOUT an ES256 body signature and anti-replay
(unlike DeviceToken) — this is a deliberate perimeter shift (docs/security.md §0-2). Scopes/limits/ownership
are checked by the server; the tier is not stored on the key (entitlements are resolved live).
'
Session:
type: apiKey
in: cookie
name: p2m_session
description: 'v2 (EP-023): the extension/web OAuth session (Google login). Used by the UI for /api/v2/me, /api/v2/limits, /api/v2/api-keys.'
UploadTicket:
type: apiKey
in: header
name: Upload-Ticket
description: 'v2 (EP-048): a one-time, short-TTL ticket from POST /api/v2/jobs/upload-ticket, bound
server-side to {device, account, tier, byte cap}. Authenticates the streamed
POST /api/v2/jobs/upload WITHOUT a per-body ES256 signature (so the body can stream).
Single-use (consumed on arrival) and short-lived, which bounds theft/replay.
'