---
title: Apply Watermark on PDF API
slug: apply-watermark-on-pdf
url: https://apyhub.com/apyhub/service/apply-watermark-on-pdf
provider: ApyHub
categories: [File Manipulation]
auth: api_key
---

# Apply Watermark on PDF API

Add a text or image watermark to each page of a PDF from an upload or URL. Get the result as a download or S3 URL.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/stamp/pdf/watermark/file` | What it does Uploads a PDF file, applies a watermark to it, and returns the watermarked PDF as a do… | 100 |
| POST | `/stamp/pdf/watermark/file/url` | What it does Uploads a PDF file and returns a URL for the watermarked PDF output. The request can i… | 100 |
| POST | `/stamp/pdf/watermark/url/file` | What it does Takes a publicly accessible PDF URL and applies a watermark to it, then returns the ge… | 100 |
| POST | `/stamp/pdf/watermark/url` | What it does Adds a watermark to a PDF fetched from a URL and returns the URL of the generated wate… | 100 |

## About

## What it does
PDF Watermarking adds a text or image watermark to each page of a PDF. Send a PDF file or a public PDF URL, choose `watermark_text` or `watermark_image`/`watermark_image_url`, and get back the watermarked document.

Use the file-based endpoints when your PDF is already in your app, or the URL-based endpoints when the source document is hosted elsewhere. The service supports both direct download responses and S3-style URL outputs, so you can either stream the result to a user or store it for later processing. The `output` field is available on the `/file/download` route if you want to set the returned filename stem.

This is useful for marking drafts, branding exported reports, or protecting shared documents before sending them to customers or internal teams. Keep the watermark consistent across pages without building PDF rendering logic yourself.

If you need to process documents from uploads or remote links, PDF Watermarking keeps the request simple and the output predictable.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/apply-watermark-on-pdf
