Redact or anonymize a PDF (GDPR): permanently remove names, addresses or any terms from contracts and reports — pages are rasterised, matches blacked out, the text is provably gone. Billed per page.
curl -X POST https://api.bigapi.dev/v1/pdf/redact -H 'Authorization: Bearer $KEY' -F 'file=@contract.pdf' -F 'terms=["Max Mustermann","DE8937..."]' -o redacted.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 |
|---|---|
terms required | JSON array of terms to remove, e.g. ["name","IBAN..."] (max 100). |
file required | PDF to redact (max 300 pages). |
dpi | Resolution of the redacted result, 72 to 300. Every page becomes an image so the removed text cannot be recovered; higher is sharper and larger. Default: 150 |
padding | Extra black margin around each match, in points, up to 20. Raise it if letters peek out at the edges. Default: 2 |
requireMatch | true: if none of the terms is found, return 422 no_matches_found instead of a PDF without any redaction. Default: false |
Returns application/pdf. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).
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_redact on its own.