Api2Pdf - PDF Generation, Powered by AWS Lambda
  1. wkhtmltopdf
Api2Pdf - PDF Generation, Powered by AWS Lambda
  • Headless Chrome
    • Convert raw HTML to PDF
      POST
    • Convert URL to PDF
      GET
    • Convert URL to PDF
      POST
  • LibreOffice
    • Convert office document or image to PDF
      POST
  • Merge
    • Combine Pdfs
      • Merge multiple PDFs together
  • wkhtmltopdf
    • Convert raw HTML to PDF
      POST
    • Convert URL to PDF
      GET
    • Convert URL to PDF
      POST
  • ZXING (Zebra Crossing) Bar Codes
    • Generate bar codes and QR codes with ZXING.
      GET
  • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
    POST
  • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy
    GET
  • /2015-03-31/functions/{FunctionName}/policy
    POST
  • /2015-03-31/functions/{FunctionName}/policy
    GET
  • /2015-03-31/functions/{FunctionName}/aliases
    POST
  • /2015-03-31/functions/{FunctionName}/aliases
    GET
  • /2020-04-22/code-signing-configs/
    POST
  • /2020-04-22/code-signing-configs/
    GET
  • /2015-03-31/event-source-mappings/
    POST
  • /2015-03-31/event-source-mappings/
    GET
  • /2015-03-31/functions
    POST
  • /2015-03-31/functions/{FunctionName}/aliases/{Name}
    DELETE
  • /2015-03-31/functions/{FunctionName}/aliases/{Name}
    GET
  • /2015-03-31/functions/{FunctionName}/aliases/{Name}
    PUT
  • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
    DELETE
  • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
    GET
  • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}
    PUT
  • /2015-03-31/event-source-mappings/{UUID}
    DELETE
  • /2015-03-31/event-source-mappings/{UUID}
    GET
  • /2015-03-31/event-source-mappings/{UUID}
    PUT
  • /2015-03-31/functions/{FunctionName}
    DELETE
  • /2015-03-31/functions/{FunctionName}
    GET
  • /2020-06-30/functions/{FunctionName}/code-signing-config
    DELETE
  • /2020-06-30/functions/{FunctionName}/code-signing-config
    GET
  • /2020-06-30/functions/{FunctionName}/code-signing-config
    PUT
  • /2017-10-31/functions/{FunctionName}/concurrency
    DELETE
  • /2017-10-31/functions/{FunctionName}/concurrency
    PUT
  • /2019-09-25/functions/{FunctionName}/event-invoke-config
    DELETE
  • /2019-09-25/functions/{FunctionName}/event-invoke-config
    GET
  • /2019-09-25/functions/{FunctionName}/event-invoke-config
    PUT
  • /2019-09-25/functions/{FunctionName}/event-invoke-config
    POST
  • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
    DELETE
  • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}
    GET
  • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
    DELETE
  • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
    GET
  • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
    PUT
  • /2016-08-19/account-settings/
    GET
  • /2019-09-30/functions/{FunctionName}/concurrency
    GET
  • /2015-03-31/functions/{FunctionName}/configuration
    GET
  • /2015-03-31/functions/{FunctionName}/configuration
    PUT
  • /2018-10-31/layers
    GET
  • /2015-03-31/functions/{FunctionName}/invocations
    POST
  • /2014-11-13/functions/{FunctionName}/invoke-async/
    POST
  • /2019-09-25/functions/{FunctionName}/event-invoke-config/list
    GET
  • /2015-03-31/functions/
    GET
  • /2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions
    GET
  • /2018-10-31/layers/{LayerName}/versions
    GET
  • /2018-10-31/layers/{LayerName}/versions
    POST
  • /2018-10-31/layers
    GET
  • /2019-09-30/functions/{FunctionName}/provisioned-concurrency
    GET
  • /2017-03-31/tags/{ARN}
    GET
  • /2017-03-31/tags/{ARN}
    POST
  • /2015-03-31/functions/{FunctionName}/versions
    GET
  • /2015-03-31/functions/{FunctionName}/versions
    POST
  • /2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}
    DELETE
  • /2015-03-31/functions/{FunctionName}/policy/{StatementId}
    DELETE
  • /2017-03-31/tags/{ARN}
    DELETE
  • /2015-03-31/functions/{FunctionName}/code
    PUT
  1. wkhtmltopdf

Convert URL to PDF

The AWS Lambda multi-region endpoint
http://lambda.{region}.amazonaws.com
The AWS Lambda multi-region endpoint
http://lambda.{region}.amazonaws.com
GET
/wkhtmltopdf/url
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}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://lambda.{region}.amazonaws.com/wkhtmltopdf/url?url='
Response Response Example
200 - Example 1
{
    "cost": 0.0007979,
    "mbIn": 0.06463,
    "mbOut": 0.73327,
    "pdf": "https://link-to-your-pdf",
    "success": true
}

Request

Query Params

Responses

🟢200A PDF file or a JSON object depending on the `output` query parameter
application/json
Body

🟠401Failed to generate PDF
Modified at 2023-08-15 08:35:15
Previous
Convert raw HTML to PDF
Next
Convert URL to PDF
Built with