PDF Split Tool

FREEMIUM
By SunApis | Updated il y a 22 jours | Business Software
Popularity

6.6 / 10

Latency

1,613ms

Service Level

82%

Health Check

N/A

README

PDF Manipulation API Tutorial

This tutorial guides you through using the PDF Manipulation API to combine multiple PDFs into a single document, convert a PDF to image files, and split a PDF into multiple documents.

Features

Combine Multiple PDFs

Combine several PDF documents into a single PDF.

  • files: Required. List of PDF files that you want to combine.
  • combinedFileName: Optional. Name of the resultant file in a zip format without an extension. If not specified, a generic name will be assigned.

Convert PDF to Images

Convert a PDF document into multiple image files.

  • file: Required. The original PDF file to be converted.
  • type: Required. The image format to return (e.g., JPG, PNG).
  • dpi: Required. The resolution of the images in dots per inch.

Split a PDF Document

Divide a single PDF document into multiple separate PDF files.

  • file: Required. The original PDF file to be split.

Using the API

Combining PDFs

curl --request POST \
  --url https://api.example.com/pdf/combine \
  --header 'Content-Type: multipart/form-data' \
  --form 'files=@/path_to_your_files/file1.pdf' \
  --form 'files=@/path_to_your_files/file2.pdf' \
  --form 'combinedFileName=combined'

Converting PDF to Images

curl --request POST \
  --url https://api.example.com/pdf/convertToImages \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=@/path_to_your_file/original.pdf' \
  --form 'type=jpg' \
  --form 'dpi=300'

Splitting a PDF

curl --request POST \
  --url https://api.example.com/pdf/split \
  --header 'Content-Type: multipart/form-data' \
  --form 'file=@/path_to_your_file/original.pdf'
Followers: 0
API Creator:
Rapid account: Sun Apis
SunApis
sunapis
Log In to Rate API
Rating: 5 - Votes: 1