# Api2Pdf - PDF Generation, Powered by AWS Lambda API

> # Introduction [Api2Pdf](https://www.api2pdf.com) 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: [https://github.com/api2pdf/api2pdf.python](https://github.com/api2pdf/api2pdf.python) - .NET: [https://github.com/api2pdf/api2pdf.dotnet](https://github.com/api2pdf/api2pdf.dotnet) - Nodejs: [https://github.com/api2pdf/api2pdf.node](https://github.com/api2pdf/api2pdf.node) - PHP: [https://github.com/Api2Pdf/api2pdf.php](https://github.com/Api2Pdf/api2pdf.php) - Ruby: (Coming soon) # Authorization Create an account at [portal.api2pdf.com](https://portal.api2pdf.com/register) 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.

Api2Pdf - PDF Generation, Powered by AWS Lambda is a development API from api2pdf.com. Requests are authenticated with an API key. It is served over HTTPS. Its OpenAPI description documents 9 endpoints.

## At a glance

- Category: [Development](https://www.openparable.com/apis/category/development)
- Provider: api2pdf.com
- Authentication: API key
- HTTPS: Yes
- CORS: Not stated
- Base URL: https://v2018.api2pdf.com
- Documentation: https://www.api2pdf.com/
- OpenAPI description: https://api.apis.guru/v2/specs/api2pdf.com/1.0.0/openapi.json
- Version: 1.0.0
- Specification updated: 2019-01-04

## Example request

```bash
curl -X GET "https://v2018.api2pdf.com/chrome/url" \
  -H "Accept: application/json" \
  -H "X-API-Key: YOUR_API_KEY"
```

## Endpoints

- `POST /chrome/html` — Convert raw HTML to PDF
- `GET /chrome/url` — Convert URL to PDF
- `POST /chrome/url` — Convert URL to PDF
- `POST /libreoffice/convert` — Convert office document or image to PDF
- `POST /merge` — Merge multiple PDFs together
- `POST /wkhtmltopdf/html` — Convert raw HTML to PDF
- `GET /wkhtmltopdf/url` — Convert URL to PDF
- `POST /wkhtmltopdf/url` — Convert URL to PDF
- `GET /zebra` — Generate bar codes and QR codes with ZXING.

## Questions

### Does the Api2Pdf - PDF Generation, Powered by AWS Lambda API need an API key?

Yes. The Api2Pdf - PDF Generation, Powered by AWS Lambda API uses API key authentication; the documentation explains how to get credentials.

### Does the Api2Pdf - PDF Generation, Powered by AWS Lambda API support HTTPS?

Yes, the Api2Pdf - PDF Generation, Powered by AWS Lambda API is served over HTTPS.

### How many endpoints does the Api2Pdf - PDF Generation, Powered by AWS Lambda API have?

Its OpenAPI description lists 9 endpoints in version 1.0.0. All of them are shown on this page.

### What are alternatives to the Api2Pdf - PDF Generation, Powered by AWS Lambda API?

Other Development APIs include Cloudflare, Azure DevOps, IPify, App Store Connect API, StackExchange.

## Similar development APIs

- [Cloudflare](https://www.openparable.com/apis/cloudflare): Manage DNS, CDN, Workers and other services; documented with an official OpenAPI 3.0 spec
- [Azure DevOps](https://www.openparable.com/apis/azure-devops): The Azure DevOps basic components of a REST API request/response pair
- [IPify](https://www.openparable.com/apis/ipify): A simple IP Address API
- [App Store Connect API](https://www.openparable.com/apis/app-store-connect): The data structure that represents an app store connect api resource.
- [StackExchange](https://www.openparable.com/apis/stackexchange): Q&A forum for developers
- [IPinfo](https://www.openparable.com/apis/ipinfo): Another simple IP Address API
- [IBM Text to Speech](https://www.openparable.com/apis/ibm-text-to-speech): Convert text to speech
- [SiteIntel](https://www.openparable.com/apis/siteintel): Extract metadata, tech stack, emails, and screenshots from any URL
- [DigitalOcean Status](https://www.openparable.com/apis/digitalocean-status): Status of all DigitalOcean services
- [Netlify](https://www.openparable.com/apis/netlify): Netlify is a hosting service for the programmable web
- [Docker Hub](https://www.openparable.com/apis/docker-hub): Interact with Docker Hub
- [MineSkin API](https://www.openparable.com/apis/mineskin): Client implementations: Java: https://github.com/InventivetalentDev/MineskinClient NodeJS: https://github.com/InventivetalentDev/mineskin-client Examples: https://github.com/MineSkin/examples

Listed from: APIs.guru (CC0). Check the provider's terms before use.

---

Source: https://www.openparable.com/apis/api2pdf-pdf-generation-powered-by-aws-lambda (OpenParable). Cite the canonical URL above.
