BiGapiguides
POST /v1/pdf/redact · 1 cent per page

Redact PDF (guaranteed removal)

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.

Try it

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.

Parameters

NameMeaning
terms requiredJSON array of terms to remove, e.g. ["name","IBAN..."] (max 100).
file requiredPDF to redact (max 300 pages).
dpiResolution 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
paddingExtra black margin around each match, in points, up to 20. Raise it if letters peek out at the edges.
Default: 2
requireMatchtrue: if none of the terms is found, return 422 no_matches_found instead of a PDF without any redaction.
Default: false

Result and price

1¢/p · 1 cent per page

Returns application/pdf. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

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.