Skip to content
Bitaloka Docs
Split PDF

Split PDF

Split a PDF into one file per page.

Request

POST https://api.bitaloka.io/v1/pdf/split
Multipart form→ application/zip

Parameters

NameTypeDescription
filerequired PDF file The PDF to process (multipart file field).Example: document.pdf

Code samples

Generated from one source and tested against the live API.

curl -sS -X POST "https://api.bitaloka.io/v1/pdf/split" \
  -H "X-API-Key: $BITALOKA_API_KEY" \
  -F "file=@document.pdf;type=application/pdf" \
  --fail-with-body -o split.zip

Uses: curl 7.x+ · example.sh

Response

Returns the processed file as application/zip. The samples save it as split.zip.

Use from an AI agent

On the Bitaloka MCP server this service is the pdf_split tool. MCP server →

Related services