Use case

Merge PDFs on Serverless

Merge any number of PDFs into one file by posting a list of URLs. CPU-heavy merging runs on API2PDF's serverless infrastructure, not your web servers.

Merge PDFs Effortlessly with API2PDF on Google Cloud Run

At API2PDF, we understand the importance of seamless document management, especially when it comes to combining multiple PDF files into a single, cohesive document. Our robust PDF merging solution, powered by Google Cloud Run, allows you to effortlessly merge PDFs with a simple API call.

Create an account and check out our documentation to get started for free.

We also offer client libraries in popular languages:

Otherwise, you can write very simple code against the REST API. Below is a simple Merge PDFs example using Python.

#python example
import requests
import json

api_key = 'your-api-key'
endpoint = 'https://v2.api2pdf.com/pdfsharp/merge'
urls_to_pdfs = [
'https://url-to-your-pdf',
'https://url-to-your-pdf',
'https://url-to-your-pdf'
] api_response = requests.post(endpoint, json={'urls': urls_to_pdfs}, headers={'Authorization': api_key}) print(json.loads(api_response.content)['FileUrl'])

Merging PDFs on Cloud Run offers some huge benefits. First, we do not have any rate limits, unlike other services out there. Hit the API as many times as you wish. And second, the cost to service the API is substantially less, resulting in much lower fees than competing services.

Our API is also available as a standalone docker container that you can run in your own cloud environment. Contact us if you are interested in learning more.

Generate your first PDF in minutes

Create an account, grab an API key, and send one POST request. One month of free credit, then pay only for what you use.