$ man pdf-split
/pdf-split
PRICE / CALL
$0.04
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakitCATEGORY
media
STATUS
● live
NAME
pdf-split — split a pdf into multiple files by page range or one file per page
SYNOPSIS
POST https://x402.agentutility.ai/pdf-split
Content-Type: application/json
X-PAYMENT: <signed-transferWithAuthorization>
{ ... }↳ first call →
402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.DESCRIPTION
Split a PDF into multiple files by page range or one file per page. Send a pdf_url and either ranges (like ['1-3','5','7-end']) for custom chunks, or split_each_page:true to explode every page into its own PDF. Runs on the CloudConvert split task and returns a pdfs array with a hosted url and range label per output file, plus an output_count. Use it as a PDF splitter, PDF page extractor, PDF page range downloader, or PDF-to-multiple-files converter for report chunking, contract page pulls, or batch page exports.
INPUT — request schema
| property | type | description | req? |
|---|---|---|---|
| pdf_url | string | Source PDF URL. | required |
| ranges | array | Page ranges to extract as separate PDFs, e.g. ["1-3","5","7-end"]. Max 50 entries. Provide this or split_each_page. | optional |
| split_each_page | boolean | If true, splits the PDF into one file per page. Optional; ignored if ranges is set. | optional |
OUTPUT — response shape
| field | type | description |
|---|---|---|
| pdfs | array | Array of { url, filename, file_size_bytes, range }. |
| output_count | number | Number of output PDF files produced by the split operation. |
| mode | string | 'ranges' or 'split_each_page'. |
| ranges | array | Array of page-range strings actually applied (e.g. ['1-3','5','7-end']) or per-page entries. |
| source_url | string | URL of the original input PDF that was split. |
| job_id | string | CloudConvert job ID for the split task, usable for status lookup or debugging. |
EXAMPLES — two ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/pdf-split \
-H 'Content-Type: application/json' \
-d '{ }'first response =
402 Payment Required with payment requirements; sign + retry with X-PAYMENT.EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster npx -y @agentutility/mcp-<cluster> # Required: EVM private key with USDC on Base export X402_PRIVATE_KEY=0x... # Then call the pdf-split tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
- tags
- pdfsplitpagesextract
- env
- CLOUD_CONVERT_API_KEY
- methods
- POST
- cluster
- mediakit
- price
- $0.04 USDC per call
ADJACENT — other endpoints in mediakit
| endpoint | description | price |
|---|---|---|
| split-pdf | Split a PDF into multiple files by page range or one PDF per page. | $0.04 |
| logo-detect | Brand logo detection / brand recognition in images. | $0.03 |
| office-to-pdf | Converts office documents and other file formats into PDF from a URL, no upload step required. | $0.05 |
| video-thumbnail | Pull a single still frame out of a video without transcoding the whole file. | $0.03 |
| xml-to-word | Converts an XML document into a Microsoft Word (.docx) file for delivery to systems that need Word format, not raw XML. | $0.05 |
| add-watermark | Stamp a text or image watermark onto a PDF, image, or video file. | $0.02 |
| audio-loudnorm | Normalize audio loudness to a target LUFS level for podcasts, YouTube, and Spotify delivery. | $0.02 |
| csv-to-jsonl | Converts CSV or TSV data into JSON, JSONL/NDJSON, or column-oriented arrays. | $0.02 |
SEE ALSO