PDF

Split PDF by pages

Split a PDF into multiple files based on page ranges.

Page Range Syntax

  • Single page: 5
  • Range: 1-10
  • Multiple ranges: 1-5,10-15,20
  • From page to end: 10-
post/pdf/split

Request

  • Base URL: https://api.filegraph.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.filegraph.ai/pdf/split
  • Auth: API key in header X-API-Key

Response

Successful Response

input_pagesinteger required

Total pages in input PDF

output_countinteger required

Number of output files created

Example response

{
  "files": [
    {
      "content_base64": "JVBERi0xLjQK...",
      "content_type": "application/pdf",
      "filename": "output.pdf",
      "size_bytes": 102400
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.