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
Parameter | Required | Type | Default | Description |
---|
content | yes | string | | The HTML content. This can be either a URL to load HTML from or an actual HTML content string |
margin | no | integer | 10 | The PDF document margin (in mm) |
html-width | no | integer | 1024 | The width (in px) to render the HTML document at. This simulates the browser window being set to this width |
title | no | string | | The PDF document title |
Characteristic | Value | Description |
---|
Avg Latency | 20ms | Average RTT for requests within the same data center/region |
Max Rate | 6/second | Maximum inbound request rate. Exceeding this will result in request throttling |
Max Concurrency | 25 | Maximum concurrent/simultaneous requests. Exceeding this will result in error code 06 [TOO MANY CONNECTIONS] |