This API interface supports web page conversion to PDF. It has a high conversion efficiency and supports conversion of HTML and CSS formats. You can pass a website URL and directly convert the page to a corresponding PDF file. The converted PDF provides a permanent storage file address. The interface is fully supported by HTTPS (TLS v1.0/v1.1/v1.2/v1.3) and is fully compatible with Apple ATS. The API has a high-speed response and is built with multiple servers for load balancing.
You can get the API details and documentation at https://www.gugudata.com/api/details/html2pdf. The API request address is https://api.gugudata.com/imagerecognition/html2pdf. The returned format is application/json; charset=utf-8, and the request method is POST.
The request parameters are appkey, type, and content. The appkey is required and Passing a valid appkey is necessary. Type is a required parameter that can be HTML or URL. Content is a required parameter that is the content to be converted.
The returned parameters are DataStatus.StatusCode, DataStatus.StatusDescription, DataStatus.ResponseDateTime, DataStatus.DataTotalCount, and Data. The Data parameter is the converted PDF permanent link.