Word to PDF API on Serverless
Api2Pdf’s LibreOffice API runs on Google Cloud Run and supports the generation of PDFs from Word, Excel, PowerPoint, Publisher, images, and any other file that can be opened by LibreOffice.
Create an account and check out our documentation to get started for free.
Word to PDF conversion, Excel to PDF, etc, etc 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.
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 Word to PDF example using Python.
#python example
import requests
import json
api_key = 'your-api-key'
endpoint = 'https://v2.api2pdf.com/libreoffice/any-to-pdf'
url_to_file = 'your-publicly-accessible-file-url' # some URL to your file, like on S3
api_response = requests.post(endpoint, json={'url': url_to_file}, headers={'Authorization': api_key})
print(json.loads(api_response.content)['FileUrl'])
Word Doc to PDF conversion 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.