HTML PDF API
PAID
By effectiva
Updated a year ago

HTML PDF API API Documentation

HTML PDF API is a cloud service that allows you to convert HTML to PDF using standard web technologies

Learn more about this API
Endpoints
GETAssets List
POSTAsset Create
GETCredits count
GETAsset Get
DELETEAsset Delete
POSTPDF
POSTPDF

You can send only one of following parameters: url, file, html. Full documentation: https://htmlpdfapi.com/documentation

Authorization:

All requests must be authenticated for access to API. Authentication is done via HTTP headers.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AuthenticationHEADER
REQUIREDheaders["Authentication"] = "Token <your token>"
Optional Parameters
urlSTRING
OPTIONALUrl of a page for conversion. Must start with http or https. http://htmlpdfapi.com/examples/example.html
fileBINARY
OPTIONALFile for conversion. Accepted types are: html, htm, zip, tar.gz, tgz, tar.bz2.
htmlSTRING
OPTIONALHTML string. eg. <h1>Hello world</h1>
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication