# PDF redaction API

Source: https://pdfluent.com/pdf-api/redact/

Terms in. Gone from the file.

The text is removed from the PDF, not only covered.

[Try the API for $1](https://console.pdfluent.com/signup)[Redact reference](https://pdfluent.com/docs/api/reference/pdf-redact/)

USD 0.01

per file

Up to 50 pages

Removed

not covered

Text leaves the file

1 request

per file

A list of terms in

Price

USD 0.01

per document, up to 50 pages

[All PDF API prices](https://pdfluent.com/pdf-api/pricing/)

Code

## One request.

```
curl -sS -f -X POST "$PDFLUENT_API_URL/v1/pdf/redact" \  -H "x-api-key: $PDFLUENT_API_KEY" \  -F file=@contract.pdf \  -F 'options={"terms":["Confidential"]}' \  -o redacted.pdf
```

Questions

## Questions

### Is redacted text really removed? +

Yes. The text is removed from the output file, not hidden behind a black box. Check a result on your own documents before you rely on it.

### How do I redact with the API? +

Send the file and a list of search terms in one POST request. The response is the redacted PDF.

### Can I redact for GDPR? +

Redaction is one tool for it. Whether a process complies is your decision, not the API's.

## Try it for USD 1.

[Try the API for $1](https://console.pdfluent.com/signup)[Quickstart](https://pdfluent.com/docs/api/quickstart/)

- [Available on Microsoft Marketplace](https://marketplace.microsoft.com/en-us/product/pdfluent.pdfluent-pdf-api)

More jobs: [Convert PDF](https://pdfluent.com/pdf-api/convert/)[Fill forms](https://pdfluent.com/pdf-api/forms/)[Merge PDF](https://pdfluent.com/pdf-api/merge/)[Split PDF](https://pdfluent.com/pdf-api/split/)[Compress PDF](https://pdfluent.com/pdf-api/compress/)[Watermark](https://pdfluent.com/pdf-api/watermark/)[Encrypt](https://pdfluent.com/pdf-api/protect/)[Sign](https://pdfluent.com/pdf-api/sign/)[PDF/A and e-invoice](https://pdfluent.com/pdf-api/pdfa-einvoice/)[OCR](https://pdfluent.com/pdf-api/ocr/)

[All PDF API use cases](https://pdfluent.com/pdf-api/) · [Pricing](https://pdfluent.com/pdf-api/pricing/) · [Compared](https://pdfluent.com/pdf-api/compare/) · [Free editor](https://pdfluent.com/guides/how-to-redact-a-pdf/) · [SDK](https://pdfluent.com/how-to/redaction/)
