.
perfectpdf: an html to pdf api
from scideas software
.
What is perfectpdf ?
The
perfectpdf api does one thing, perfectly: it converts html to pdf.
The perfectpdf api is low cost, high quality and simple to use.
How does perfectpdf work
perfectpdf uses
headless Google Chrome so the resulting PDF is the same quality as you would get from using the
print to PDF option from within your Chrome browser.
How to use the api
Simply send a POST request containing a JSON body to the
perfectpdf endpoint.
The JSON body has just two objects:
Please note that as perfectpdf is a low cost and simple api, it processes html strings only, it does not convert remote urls.
The api returns either:
- the PDF document as plain text
or
- a plain text error message
Full details and sample code are available here.
Register for an api key here.
perfectpdf api listing on programmable web
perfectpdf api listing on swagger