PDF beta

PDF Page Numbers API

Adds page numbers like "Page 3 of 12" in the corner or edge you pick.

Writes page numbers as vector text with a format you choose, such as {n}, Page {n} or {n} / {total}. Pick the position, size, color and first number, and skip the cover by numbering only some pages.

What it does

  • Formats with {n} and {total}
  • Eight positions, size, color and bold
  • Start at any number; skip pages like the cover
  • Correct on rotated pages

Endpoints

MethodPathDescriptionModes
POST /v1/pdf/page-numbers Add page numbers 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 a format, like Page {n} of {total}. Numbers are written as vector text at the position you pick. Start at any number, and number only some pages to skip a cover or a table of contents.

Questions

How do I skip the cover page?

Set pages to 2- so numbering starts on page 2, and start_at to 1 if that page should read 1.

What does {total} count?

Every page in the document, including pages you do not number.

Use cases and what they cost

Use case What it does Calls a month Estimated cost a month
Report builder Numbers generated reports from page 2, skipping the cover. 2,000 $9.00
Legal filings Adds Bates-style "Page n of total" footers to exhibit bundles. 700 $3.50
Merged packs Numbers a pack after merging several PDFs into one. 5,000 $21.00
  • Report builder: pages: "2-" with start_at set.
  • Legal filings: Format string with {n} and {total}.
  • Merged packs: Merge first, then number once.

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

  • Number after merging, never before; otherwise each part restarts at 1.
  • Use {n} and {total} in the format, for example "Page {n} of {total}".
  • Skip the cover with pages: "2-" and set start_at to 1 so the first numbered page reads 1.
  • Bottom-right is the safest position for documents that will be bound or stapled on the left.

How it compares

Page numbers touch every page by definition, so per-page pricing scales straight with the length of the document. Flat pricing does not.

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 Add text: 21 credits per page $0.11
iLoveAPI 10 credits per file n/a
ConvertAPI Developer plan: 35 USD a month for 1,000 conversions $0.04
Adobe PDF Services Not in their published operation list (checked) n/a

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 need true Bates numbering with a prefix and a running counter across separate files. The full working is in Add page numbers to PDF by API: pricing compared, and the step-by-step setup is in the PDF Page Numbers integration guide.

Try it free first

The free pdf page numbers 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 Page Numbers API reference.