API Reference
Base URL: https://api.nocturneapi.com · Auth: Authorization: Bearer ntn_live_...
Generate
POST /v1/generate/pdf— HTML or URL to PDF via Chromium (headers, footers, page ranges, PDF/A, encryption, watermarks).
Render
POST /v1/render/image— full-page screenshots with device emulation, dark mode, ad/cookie-banner suppression, retina output.
Enrich
POST /v1/enrich— structured metadata, OpenGraph cards, favicons, or readable article content from any URL.
Extract
POST /v1/extract/text·/v1/extract/tables·/v1/extract/markdown·/v1/extract/ocr
Jobs
GET /v1/jobs/{type}/{job_id}— poll async render/extract jobs.
Agents
Every endpoint is exposed as a typed MCP tool at https://api.nocturneapi.com/mcp.