PDF to Markdown API Facade
API by Pdf2md · rest
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).
Endpoint: https://pdf2md.dev/
Verification: observed. Source: crawl.
Capabilities (45)
- Device-to-account link status (device-signed)
- Link device to the current session's account (device-signed + session)
- Start device linking (device-signed)
- Unlink device from account / sign out in the extension (device-signed)
- Read-only support view of an account (tier/limits/usage/slots)
- Read purchase-availability flags (EP-023-T23 EP-024 per-domain web)
- Enable/disable new purchases for a channel/domain (audited)
- List keys (secret is not returned)
- Create a key (secret is shown once)
- Revoke a key (immediately)
- Google OAuth callback
- Start Google login (redirect to consent)
- Logout (revoke web session)
- Create checkout (server-side start-checkout)
- Mint a checkout-intent token (extension Upgrade → web checkout binding)
- Redeem a checkout-intent token for a web session (public)
- Plans (proxied prices price_id→tier mapping)
- Customer portal (server-side get-customer-portal)
- Refresh subscription from the provider (post-checkout fast plan update)
- Webhook from monetize.software (server→server)
- List the actor's jobs
- Create a job (upload or URL)
- Batch create (≤ the number of free slots)
- Streamed upload with a ticket (paid UI upload)
- Mint a paid upload ticket (device-signed)