Skip to main content

Developer API

The PDF tagging API for accessibility.

The same PDF/UA tagging engine as the web app, as a PDF accessibility API. Send a key, submit a PDF, and get a tagged, accessible PDF back.

Base api.pdf-tagger.comAuth Bearer keyRate 120 / min
quickstart.sh
# 1 — get a presigned upload, then POST your PDF to upload_url with the returned fields
curl -X POST https://api.pdf-tagger.com/v1/uploads \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"filename":"report.pdf"}'

# 2 — submit the job (returns a job id)
curl -X POST https://api.pdf-tagger.com/v1/jobs \
  -H "Authorization: Bearer sk_live_..." \
  -H "Content-Type: application/json" \
  -d '{"key":"<key from step 1>","options":{"ocr":true,"embed_fonts":true}}'

Four steps to a tagged PDF

Jobs run asynchronously — poll for status, or let a webhook tell you.

01

Upload

Get a presigned URL and send the PDF straight to storage.

02

Submit

Start one job, or a batch of up to 100, with options for OCR and font embedding.

03

Poll or listen

Check the job's status, or receive a signed webhook when it finishes.

04

Download

Fetch a short-lived link to the tagged, accessible PDF.

The endpoints

Full reference →
POST/v1/uploadsPresigned upload for a PDF
POST/v1/jobsSubmit a tagging job
GET/v1/jobs/{id}Check a job's status
GET/v1/jobs/{id}/resultDownload the tagged PDF
GET/v1/jobs/{id}/reportGet the PDF/UA-1 report
POST/v1/batchesSubmit up to 100 PDFs as one batch
GET/v1/batches/{id}Check a batch's status

Base URL https://api.pdf-tagger.com

Use the Python SDK

Install the official package to tag a PDF, or a batch, and get its PDF/UA-1 report in a few lines.

tag_pdf.py
# pip install pdftagger

from pdftagger import PdfTaggerClient

client = PdfTaggerClient(api_key="sk_live_...")
job = client.tag_pdf("report.pdf", ocr=True)
client.download_result(job, "report.tagged.pdf")

# The PDF/UA-1 report: the result for every accessibility requirement
report = client.get_job_report(job)
print(report.summary)
client.download_report(job, "report-accessibility-report.pdf")
View the SDK on GitHub

Built for integration

✓

Per-job options

OCR scanned pages; embed fonts safely.

✓

PDF/UA-1 report

The result for every accessibility requirement in PDF/UA-1, and the report PDF.

✓

Signed webhooks

HMAC-signed callbacks you can verify.

✓

OpenAPI 3.1 spec

Browse the reference; generate a client.

✓

Keys & webhooks dashboard

Manage keys and webhooks, see recent jobs.

✓

Batches

Up to 100 PDFs in one request; one webhook when all are done.

✓

Python SDK

pip install pdftagger, then tag a PDF or a batch in a few lines.

1 credit / page

API jobs draw from the same credit balance as the web app, under the same plans. There is no separate API subscription.

Start with a key

Create an API key on the Developers page, then submit your first PDF with a single request.