DEV Community

GuGuData
GuGuData

Posted on

PDF Splitter API Documentation

PDF Splitter API Documentation

File Processing / PDF Efficient PDF Splitting Tool with Optional ZIP Compression / Secure Cloud Storage.

1. Product Features

  • Efficient large file processing
  • Split PDFs by customizable page size
  • Support for formdata file stream parameters
  • Optional ZIP compression for output files
  • Secure cloud storage for processed files
  • Full HTTPS support (TLS v1.0 / v1.1 / v1.2 / v1.3)
  • Complete Apple ATS compatibility
  • Global CDN deployment
  • Fast response with load-balanced API servers
  • API Status and Monitoring

2. API Documentation

API Details: https://www.gugudata.com/api/details/pdf-splitter

API Endpoint: https://api.gugudata.io/v1/imagerecognition/pdf-splitter?appkey=appkey&page_size=page_size&is_zip=is_zip

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

Request Method: POST

Protocol: HTTPS

Example Request: https://api.gugudata.io/v1/imagerecognition/pdf-splitter?appkey=appkey&page_size=page_size&is_zip=is_zip

Data Preview: https://www.gugudata.com/preview/pdf-splitter

API Test: https://api.gugudata.io/v1/imagerecognition/pdf-splitter/demo

3. Request Parameters

Parameter Type Required Default Value Description
appkey string Yes YOUR_APPKEY APPKEY obtained after payment
page_size integer Yes N/A Number of pages per split PDF file
is_zip boolean Yes false Whether to compress output files into ZIP
file file Yes YOUR_VALUE The PDF file to be split

4. Response Parameters

Parameter Name Type Description
dataStatus.statusCode integer API response status code
dataStatus.status string Operation status
dataStatus.statusDescription string Detailed status description
dataStatus.responseDateTime string API response datetime
dataStatus.dataTotalCount integer Total count of data records
data.uuid string Unique identifier for the split operation
data.num_files integer Number of files generated after splitting
data.pdf_files array Array of URLs to download split PDFs or ZIP file

5. Error Codes

Error Code Description Remarks
200 Success Operation completed successfully
400 Parameter error Invalid or missing required parameters
401 Invalid APPKEY Please check if the APPKEY is valid and active
429 Rate limit exceeded Too many requests in a given time window
500 Server error Internal server error occurred

Top comments (0)