API reference

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

PDF

Method Path Description
POST /v1/pdf/compress Compress a PDF, adaptively by default
POST /v1/pdf/analyze Inspect a PDF and project achievable reduction. Free

Images

Method Path Description
POST /v1/image/optimize Optimize one image
POST /v1/image/batch Optimize up to 250 images in one call
GET /v1/image/t/{key}/{transform}/{file} URL-based transform, cached at the edge

Spreadsheets

Method Path Description
POST /v1/xlsx/generate Generate an .xlsx file from 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: