Bestseller
PDF Processing File Splitting

PDF Splitting

Split PDFs by page count with public or private downloads

What can this API do?

Split PDFs into predictable page ranges

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

Upload a PDF or provide a public PDF URL

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

Download individual PDF parts or one ZIP archive

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

Keep output private with short-lived download links

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

Use stable file ordering in document workflows

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

Preview the workflow with a real four-page PDF

This PDF Splitting feature is available through the documented endpoint and can be used in application, automation, or data workflows.

PDF Splitting
Annual plan
$19$49
Try it for free!
Sign in to get a trial key and test all APIs.
Sign In
Secure checkout powered by Stripe

API Document

HTTP Protocol:HTTPS

HTTP Method:POST

HTTP Endpoint:https://api.gugudata.io/v1/imagerecognition/pdf-splitter

Response Type:application/json; charset=utf-8

DEMO Endpoint:https://api.gugudata.io/v1/imagerecognition/pdf-splitter/demo

Live Demo:Try Interactive Demo

Full API Docs:developers.gugudata.io

API Request Parameters

NameTypeIs RequiredDefault ValueRemark
appkeystringtrueYOUR_APPKEYYour API credential. Keep it on the server and out of public code or logs.
filefilefalseA PDF upload. Provide exactly one of file or file_url. Maximum 20 MiB and 100 pages.
file_urlstringfalsehttps://storage.gugudata.io/pdf/demo.pdfA public HTTP or HTTPS PDF URL. Provide exactly one of file or file_url.
page_sizeintegerfalse100Pages per output PDF, from 1 to 100.
is_zipbooleanfalsetrueReturn one ZIP archive when true, or individual PDF files when false.
storagestringfalsepublicUse public for direct download URLs or private for controlled downloads.

API Response Parameters

NameTypeRemark
dataStatus.requestParameterstringA safe request summary without the AppKey or source URL query.
dataStatus.statusCodeintegerBusiness status code.
dataStatus.statusDescriptionstringBusiness status description.
dataStatus.responseDateTimestringServer response time.
dataStatus.dataTotalCountintegerNumber of returned data records.
data.uuidstringIdentifier for this split result.
data.num_filesintegerNumber of logical PDF parts created.
data.pdf_filesarray<string>Public download URLs. Empty in private storage mode.
data.storagestringThe selected storage mode when private output is used.
data.filesarray<object>Private file references for controlled downloads.
data.files[].file_idstringPrivate file identifier used to create a temporary download link.
data.files[].file_namestringGenerated output file name.
data.files[].content_typestringGenerated file media type.
data.files[].size_bytesintegerGenerated file size in bytes.
data.files[].indexintegerStable output order.

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200Request processed successfully.Some endpoints expose a separate application-level status field in the response body, such as `dataStatus.statusCode`.
400Invalid request parameters or request format.Check required fields, data types, and request body format.
401Missing or unknown application key.Provide a valid `appkey` with the request.
403The application key is recognized but access is not allowed.The key may be expired, inactive, or not permitted for the requested API.
429Request rate or trial usage limit exceeded.Reduce concurrency or retry after the limit window resets.
500Internal service error.Retry later or contact support if the error persists.
503Upstream service unavailable.Retry later; the requested upstream dependency is temporarily unavailable.

Remote MCP

AI client access

Use this API through GuGuData Remote MCP

Connect your AI client once, authorize in the browser, and the client can use the GuGuData API tools available to your account. You do not need to paste an appkey into the MCP client.

Endpoint https://mcp.gugudata.io/mcp
Open MCP Guide
Generic MCP configuration
{
  "mcpServers": {
    "gugudata": {
      "url": "https://mcp.gugudata.io/mcp",
      "transportType": "streamable-http"
    }
  }
}

Code Snippets