PDF beta

PDF Remove Pages API

Deletes the pages you list from a PDF and returns the rest.

Send a PDF and the pages to drop, like 2,5-6. Blank pages, cover sheets and appendices come out; the other pages keep their order and content. Removing every page is refused, not charged.

What it does

  • Page lists like 1, 5-6, -1 (the last page), odd or even
  • The other pages keep their order
  • Lossless: nothing else changes
  • A request that would remove every page is refused and free

Endpoints

MethodPathDescriptionModes
POST /v1/pdf/remove-pages Delete the listed pages sync (sync: 58 s per call)

Base URL: https://api.justapi.tech

Pricing

OperationPrice
Per call, any size$0.005first 1,000 calls a month
Per call, 1,001 to 10,000$0.004per call that month
Per call, over 10,000$0.003per call that month

You are not charged for a failed request, an unreadable or encrypted input, or a bad option. A charge happens only when you get a result.

Limits

Max File SizeYour plan's file limit, 200 MB in total per call
Result RetentionDeleted automatically within 24 hours, or at once when you acknowledge the download

Send a PDF and the pages to delete, like 2,5-6. The result keeps every other page in its original order, with nothing else changed. A list that would remove every page is refused, and you are not charged.

Questions

Can I remove the last page without knowing the page count?

Yes. Use -1 for the last page, -2 for the one before it, and so on.

What if I list every page?

The call is refused with invalid_request, because a PDF needs at least one page. Nothing is charged.

Use cases and what they cost

Use case What it does Calls a month Estimated cost a month
Scanning service Drops the blank separator sheets between documents in each batch. 3,000 $13.00
Contract tool Removes the cover and the internal checklist before sending to the client. 900 $4.50
Report generator Strips the appendix from the public version of a report. 200 $1.00
  • Scanning service: The page list comes from your blank-page detector.
  • Contract tool: pages: "1,-1".
  • Report generator: Open ranges such as "30-".

Costs use the published volume tiers: the first 1,000 calls of the month at tier 1, calls 1,001 to 10,000 at tier 2, and every call after that at tier 3. Failed calls cost nothing, so they are not in these figures.

Recommendations

  • Removing every page is refused, because an empty PDF is not a PDF. You are not charged.
  • Pair it with your own blank-page detection; we remove exactly the pages you list and nothing else.
  • Use open ranges like "30-" to cut an appendix whose length changes.
  • The result keeps fonts, links and bookmarks for the pages that stay.

How it compares

Removing two blank pages from a 120-page scan should not be priced like processing 120 pages. Here it is one flat call.

Provider How they bill Cost of one job (a 10-page PDF)
JustAPI Flat $0.005 per call at tier 1, any size; failures free $0.005
PDF.co 2 credits per page via split; no separate price in their list $0.01
iLoveAPI Remove pages via split, 5 credits per file n/a
ConvertAPI Developer plan: 35 USD a month for 1,000 conversions $0.04
Adobe PDF Services 0.05 USD per document transaction $0.05

Prices checked on 12 November 2026 on each provider's public pricing page. PDF.co figures use their Basic plan (8.99 USD a month on annual billing for 16,500 credits). iLoveAPI does not publish dollar prices for paid credits on its pricing page, so only its credit cost is shown. Plans change; check before you decide.

Pick another provider if you want blank pages detected for you in the same call; we expect you to list them. The full working is in Remove pages from a PDF by API: cost compared, and the step-by-step setup is in the PDF Remove Pages integration guide.

Try it free first

The free pdf remove pages tool runs the same job in your browser, five times a day, with no account. Use the API for workflows and bigger files. The full parameter list is in the PDF Remove Pages API reference.