Docraptor
Docraptor

The best and easiest HTML-to-PDF API

Completely Secure
5VIEWS
2372USERS

Tools

1 of 2

Create Async Document

Tool to create documents asynchronously from HTML content. Use when generating PDF, XLS, or XLSX documents and you need to poll for completion status or use a callback URL for notification.

Create Document

Tool to create a PDF or Excel document synchronously from HTML content or URL. Use when you need to generate a document file from HTML data. The document is returned immediately as a downloadable file. Either document_content or document_url must be provided, but not both.

Create Document From Referrer

Tool to convert webpages into documents using referrer-based authentication without an API key. Use when you need to generate PDFs or Excel files from registered domains without explicit API credentials.

Create Hosted Async Document

Tool to create a hosted document asynchronously. Use when you need to generate a PDF, XLS, or XLSX document and track its completion status via callback_url or the status API.

Download Async Document

Tool to download a completed asynchronous document using the download URL from status response. Use when you have a download_id and need to retrieve the generated document file.

Get Async Document Status

Tool to check the status of an asynchronously created document. Use when monitoring progress of async documents by polling for completion status.