integrations.sh
← all integrations

Api2Pdf - PDF Generation, Powered by AWS Lambda

OpenAPI apis-guru developer_tools

Introduction

is a powerful PDF generation API with no rate limits or file size constraints. Api2Pdf runs on AWS Lambda, a serverless architecture powered by Amazon to scale to millions of requests while being up to 90% cheaper than alternatives. Supports wkhtmltopdf, Headless Chrome, LibreOffice, and PDF Merge. You can also generate barcodes with ZXING (Zebra Crossing).

SDKs & Client Libraries

We've made a number of open source libraries available for the API

  • Python:
  • .NET:
  • Nodejs:
  • PHP:
  • Ruby: (Coming soon)

Authorization

Create an account at to get an API key.

Authorize your API calls

  • GET requests, include apikey=YOUR-API-KEY as a query string parameter
  • POST requests, add Authorization to your header.

Authorization: YOUR-API-KEY

Quickstart

If you are looking for just a quick call to grab PDFs of a URL, you can do a GET request like: https://v2018.api2pdf.com/chrome/url?url={UrlToConvert}&apikey={YourApiKey}

For more advanced usage and settings, see the API specification below.

Homepage
https://api.apis.guru/v2/specs/api2pdf.com/1.0.0.json
Provider
api2pdf.com
OpenAPI version
3.0.0
Spec (JSON)
https://api.apis.guru/v2/specs/api2pdf.com/1.0.0/openapi.json
Spec (YAML)
https://api.apis.guru/v2/specs/api2pdf.com/1.0.0/openapi.yaml

Tools (11)

Extracted live via the executor SDK.

  • headlessChrome.chromeFromHtmlPost

    Convert HTML to a PDF using Headless Chrome on AWS Lambda.

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • headlessChrome.chromeFromUrlGet

    Convert a URL or Web Page to PDF using Headless Chrome on AWS Lambda. This GET request is for convenience and does not support advanced options. Use the POST request for more flexibility.

    Authorize via Query String Parameter

    apikey=YOUR-API-KEY

    Example

    https://v2018.api2pdf.com/chrome/url?url={UrlToConvert}&apikey={YourApiKey}

  • headlessChrome.chromeFromUrlPost

    Convert a URL or Web Page to PDF using Headless Chrome on AWS Lambda..

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • libreOffice.libreConvertPost

    Convert an office document (Word, Excel, Powerpoint) or an image (jpg, gif, png) to a PDF using LibreOffice on AWS Lambda.

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • mergeCombinePdfs.mergePost

    Merge two or more PDFs together on AWS Lambda.

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • wkhtmltopdf.wkhtmltopdfFromHtmlPost

    Convert HTML to a PDF using WkHtmlToPdf on AWS Lambda.

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • wkhtmltopdf.wkhtmltopdfFromUrlGet

    Convert a URL or Web Page to PDF using WkHtmlToPdf on AWS Lambda. This GET request is for convenience and does not support advanced options. Use the POST request for more flexibility.

    Authorize via Query String Parameter

    apikey=YOUR-API-KEY

    Example

    https://v2018.api2pdf.com/wkhtmltopdf/url?url={UrlToConvert}&apikey={YourApiKey}

  • wkhtmltopdf.wkhtmltopdfFromUrlPost

    Convert a URL or Web Page to PDF using WkHtmlToPdf on AWS Lambda..

    Authorize via Header of Request

    Authorization: YOUR-API-KEY

  • zxingZebraCrossingBarCodes.zebraGet

    See full list of options and documentation

    Authorize via Query String Parameter

    apikey=YOUR-API-KEY

    Example

    https://v2018.api2pdf.com/zebra?format={format}&apikey={YourApiKey}&value={YourText}

  • openapi.previewSpec

    Preview an OpenAPI document before adding it as a source

  • openapi.addSource

    Add an OpenAPI source and register its operations as tools