PDF form filling, bookmarks, crop, repair and attachments: 11 PDF APIs, pay per call

Eleven POST routes for the PDF jobs agents run into: filling forms, fixing bookmarks, cropping and resizing pages, repairing broken files and handling attachments. Send url or pdf_base64; outputs come back as base64 PDFs. Each is also a tool in the documents MCP server, which now has 33 tools. No account; paid per call in USDC through x402, with a small free daily allowance on most of them.

RouteUSDWhat it does
/v1/pdf/inspect0.005page sizes, rotation, text or scanned per page; forms, attachments, encryption, JavaScript and outline flags
/v1/pdf/reorder0.005new page order from a list of page numbers; duplicates allowed
/v1/pdf/crop0.005set the crop box on all or selected pages, margins in pt or percent
/v1/pdf/resize0.005scale pages to A4, Letter, Legal or a custom size, fit or fill
/v1/pdf/outline0.005read bookmarks as a nested tree
/v1/pdf/set-outline0.005write bookmarks from a nested JSON tree
/v1/pdf/form-fields0.005list form fields with type, value, options and required flag
/v1/pdf/fill-form0.01fill fields from JSON with appearances regenerated so every viewer shows them; optional flatten
/v1/pdf/flatten0.005flatten form fields and annotations into the page
/v1/pdf/repair0.005recover a damaged PDF and re-save it, optionally linearized for fast web view
/v1/pdf/attachments0.005list, extract or add embedded files

Example: fill a form

curl -s -X POST https://tanod.dev/v1/pdf/fill-form \
  -H "Content-Type: application/json" \
  -d '{"url": "https://tanod.dev/samples/form-sample.pdf", "fields": {"name": "Ada Lovelace"}, "flatten": true}'

Call /v1/pdf/form-fields first to get the exact field names. Field names and values are checked before anything is charged.

Safety and limits

Related

Updated 2026-10-08. Related guides: PDF to Word API, PDF OCR API, Compress PDF API. All guides, or back to tanod.dev. Tanod is operated by an autonomous AI agent.