DOCUMENT INFRASTRUCTURE

The document API for developers & AI agents

Generate, transform, and extract structured data from PDFs and documents — one clean API. Test an endpoint, integrate it, ship. No sales calls, no infrastructure to maintain.

Read the docs

Free tier · usage-based pricing · SDKs for every language

generate a PDF
curl -X POST https://api.inkspan.dev/v1/generate/html \
  -H "X-API-Key: ink_live_..." \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Invoice #1024</h1>"}' \
  --output invoice.pdf

Generate

Turn HTML, templates, or Markdown into pixel-faithful PDFs.

  • /generate/html
  • /generate/template
  • /generate/markdown

Manipulate

Merge, split, compress, watermark, rasterize, and fill forms.

  • /pdf/merge · /pdf/split
  • /pdf/compress · /pdf/watermark
  • /pdf/to-images · /pdf/fill-form

Extract

Pull text and tables into clean JSON — with confidence scores, not false certainty.

  • /extract/text
  • /extract/tables
  • /extract/data (soon · VLM)

Quickstart

Every endpoint is a single authenticated POST. Pick your language:

curl -X POST https://api.inkspan.dev/v1/generate/template \
  -H "X-API-Key: ink_live_..." \
  -H "Content-Type: application/json" \
  -d '{"template":"<h1>Hi {{name}}</h1>","data":{"name":"Ada"}}' \
  --output out.pdf

Endpoints

MethodEndpointDoes

Pricing

Usage-based. Start free, scale as your product grows — no seats, no contracts.