API Basics
Data Tools
WWW
Browser Bot
HTML Clean
URL Info
Telephony
Geolocation
Security and Networking
E-commerce
Imaging
Legacy APIs

HTML to PDF

Convert HTML content into PDF documents.

NOTE
This API is deprecated. You should try the new and improved HTML Render API.
We will continue to operate this API into the future but no more updates will be applied.



This API will work with any well-formed HTML and CSS content but will not execute java-script code. One of the key advantages of this rendering API is that your resulting PDF document will retain correct text and hyper link information making your PDF document small, selectable and navigable.

End Point

https://neutrinoapi.net/html-to-pdf
Test API
API Request
ParameterRequiredTypeDefaultDescription
contentyesstringThe HTML content. This can be either a URL to load HTML from or an actual HTML content string
marginnointeger10The PDF document margin (in mm)
html-widthnointeger1024The width (in px) to render the HTML document at. This simulates the browser window being set to this width
titlenostringThe PDF document title
API Response
API Performance
CharacteristicValueDescription
Avg Latency20msAverage RTT for requests within the same data center/region
Max Rate6/secondMaximum inbound request rate. Exceeding this will result in request throttling
Max Concurrency25Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS]