FatBabyAPI
PDF API
Convert, manipulate, OCR, extract, and generate PDFs with one API key and the same credit wallet.
About the PDF API
FatBaby's PDF product covers everyday document automation: merge and split files, convert from HTML or URL, OCR and searchable PDFs, extract text/tables, and related utilities. Sync operations return immediately; heavier conversions queue as jobs you poll with GET /v1/jobs/:id. Credits are deducted only after successful work — early validation failures do not charge the wallet.
Start with the commercial PDF API landing for examples and FAQ, try matching tools under PDF tools, or jump into the full catalog below. Base URL: https://www.thefatbaby.com/api.
Capabilities
37 live operations. Async jobs use GET /v1/jobs/:id.
Metadata
1 crRead page count and document info (sync)
/v1/pdf/metadataValidate
1 crValidate PDF structure (sync)
/v1/pdf/validateMerge
1 crMerge multiple PDFs into one
/v1/pdf/mergeSplit
1 crSplit PDF into per-page files (ZIP)
/v1/pdf/splitExtract pages
1 crKeep selected pages (pages=1,3-5)
/v1/pdf/extract-pagesRemove pages
1 crDelete selected pages
/v1/pdf/remove-pagesReorder pages
1 crReorder pages
/v1/pdf/reorder-pagesRotate
1 crRotate pages
/v1/pdf/rotateCrop
1 crCrop page boxes
/v1/pdf/cropResize
2 crResize / fit pages
/v1/pdf/resizeFlatten
1 crFlatten interactive content
/v1/pdf/flattenRepair
1 crRepair damaged PDFs
/v1/pdf/repairQuick example
Merge two PDFs, then poll the job.
curl -X POST https://thefatbaby.com/api/v1/pdf/merge \
-H "Authorization: Bearer fb_live_YOUR_KEY" \
-F "files=@a.pdf" -F "files=@b.pdf"
# → { "job": { "id": "JOB_ID", "status": "queued" } }
curl https://thefatbaby.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer fb_live_YOUR_KEY"