API reference

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

PDF

Method Path Description
POST /v1/pdf/compress Compress a PDF, adaptively by default

Images

Method Path Description
POST /v1/image/optimize Optimize one image
POST /v1/image/batch Optimize up to 250 images in one call

Spreadsheets

Method Path Description
POST /v1/xlsx/generate Generate an .xlsx file from JSON

Document tools

One price per call, any file size. All synchronous.

Method Path Description
POST /v1/pdf/split Split a PDF by page, every N pages or by ranges
POST /v1/pdf/rotate Rotate all or some pages
POST /v1/pdf/organize Reorder, duplicate or drop pages
POST /v1/pdf/extract-pages Keep only the listed pages
POST /v1/pdf/remove-pages Delete the listed pages
POST /v1/pdf/watermark Add a text watermark
POST /v1/pdf/page-numbers Add page numbers
POST /v1/pdf/protect Encrypt with a password
POST /v1/pdf/unlock Remove the password
POST /v1/pdf/repair Repair a damaged PDF
POST /v1/pdf/to-images Render pages to JPG or PNG
POST /v1/pdf/from-images Combine images into a PDF
POST /v1/pdf/form-fields List the fillable fields
POST /v1/pdf/form-fill Fill the fields from JSON
POST /v1/pdf/from-html Render HTML or a URL to PDF
POST /v1/files/zip Create a ZIP from files
POST /v1/data/to-json Convert CSV or XLSX to JSON

Platform

Method Path Description
GET /v1/jobs/{job_id} Job status and result
POST /v1/jobs/{job_id}/cancel Cancel a queued job
POST /v1/uploads Pre-signed upload for files over 100 MB
POST /v1/files/{file_id}/ack Delete a result immediately
GET /v1/account Balance, plan and current usage
GET /v1/usage Aggregated usage over a period
GET /v1/keys List, create and revoke API keys
GET /healthz Health check. Unauthenticated, never billed
GET /openapi.json OpenAPI 3.1 specification

The full machine-readable specification lives at /openapi.json and is the source this page is generated from.

Per-API reference

Full parameter reference, one page per API — every field in options, defaults, and why some of them exist: