PDF Toolkit API

Four PDF operations.
One clean API.

Send a file, get a file back. No SDKs, no dashboards, no signed URLs to manage. Just HTTP and PDFs.

Request
curl -H "x-api-key: $KEY" \
  -F "files=@a.pdf" -F "files=@b.pdf" \
  https://pdf-toolkit-api.fly.dev/v1/merge -o merged.pdf
Response
{ "code": 200, "status": "success",
  "data": { "remaining": 97 } }

Four operations, nothing else

The whole surface area of the API. Each one takes a PDF, does one job, and hands a file back.

POST/v1/merge

Merge

Combine two or more PDFs, in order, into one file.

-F files=@a.pdf -F files=@b.pdf
POST/v1/split

Split

Pull specific pages out, or explode every page into its own file.

-F file=@doc.pdf -F ranges=1-3,5
POST/v1/compress

Compress

Re-save with object streams enabled to shrink the file size.

-F file=@doc.pdf
POST/v1/pdf-to-image

PDF to image

Rasterize any page to PNG or JPEG at the scale you need.

-F file=@doc.pdf -F format=png

Predictable responses

The four file endpoints hand back raw bytes on success, so a plain curl -o file.pdf just works.

Everything else, health checks, usage, and every error, uses one JSON envelope. No guessing which shape you get back.

{ "code": 200, "status": "success",
  "data": { "plan": "free", "remaining": 88 } }
{ "code": 429, "status": "error",
  "data": { "error": "Monthly quota exceeded" } }

Why this instead of a general document platform

Most PDF APIs are priced and scoped for document platforms with dozens of operations. This is scoped for the four things people actually reach for an API to do.

Transparent pricing

A flat monthly fee per tier plus $0.002 per operation past your quota. No credit systems, no "contact sales" for volume.

One response shape

File endpoints return raw bytes. Everything else is the same JSON envelope, always. No per-endpoint guessing.

No lock-in surface

Four stateless HTTP endpoints. No SDK to adopt, no proprietary dashboard your integration depends on.

Pricing

Pick a tier by monthly volume. Overage beyond your tier bills at $0.002 per operation.

Free

$0
100 ops / month
Get started

Starter

$9/mo
2,000 ops / month
Get started

Scale

$99/mo
50,000 ops / month
Get started

Every tier shares the same 4 endpoints. Higher tiers only change the monthly quota.

Questions

Is there a free tier?

Yes. 100 operations per month, no credit card required.

What operations does the API support?

Merge, split, compress, and rasterize to image. That's the whole surface area, deliberately.

What happens when I exceed my plan's quota?

Paid plans bill $0.002 per operation beyond the included quota, automatically. Free-plan requests past the quota are rejected with a 429 until the next calendar month.

Does it support OCR or e-signing?

No. The API is scoped to four operations on purpose, not a general document platform.

What format does the API return?

The four file endpoints return raw bytes directly. Everything else uses one JSON envelope: { code, status, data }.

Is there a Node.js or Python SDK?

No SDK needed. It's plain REST over HTTP; the docs show curl examples that work from any language with an HTTP client.

Send a request, get a file back.

Get started

Not ready yet?

Get occasional updates on new features and pricing changes.