Fix what accessibility checks often find: document title (also in XMP), title shown in the viewer, language (detected from the text), tagged flag and tab order. Open issues come back in X-BigAPI-A11y.
export KEY=bigapi_… # your key, once per terminal
curl -X POST https://api.bigapi.dev/v1/pdf/accessibility/fix -H "Authorization: Bearer $KEY" -F 'file=@report.pdf' -F 'title=Annual report 2026' -F 'lang=en-GB' -o fixed.pdf
New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.
| Name | Meaning |
|---|---|
file required | The PDF to fix. |
title | Document title, up to 300 characters. Default: the existing title; if there is none, the first line of text, else the file name |
lang | Document language as a BCP 47 tag such as de-DE or en-GB, or auto to detect it from the text (11 languages; the existing language stays if detection is unsure). Default: "auto" |
Returns application/pdf. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).
400 invalid_lang | lang must be a BCP 47 tag such as de-DE or en-GB. |
400 invalid_title | The title is longer than 300 characters. |
Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds pdf_accessibility_fix on its own.
Set the title of this PDF to Annual report 2026 and make sure the language is English.