Remove a PDF password: decrypt a protected PDF (requires the correct password; a wrong password returns 422 wrong_password). A file without password comes back unchanged and free.
curl -X POST https://api.bigapi.dev/v1/pdf/unlock -H 'Authorization: Bearer $KEY' -F 'file=@protected.pdf' -F 'password=secret123' -o unlocked.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 | Password-protected PDF to open up. |
password required | The password of the PDF. A wrong password returns HTTP 422 wrong_password and costs nothing. If the PDF has no password, it is returned unchanged, not charged, with a warning. |
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_unlock on its own.