Convert URL to PDF API#

@shahzaibHassan

Basic

Convert webpage to PDF file by passing any URL.

Input Params#

Parameter Type Requirement Explanation
url string required Any valid URL which is publicaly accessible over the Internet.

Response Params#

Parameter Type Explanation
status string Status of API, or error
file_url string URL of the generated PDF

curl -H "Authorization: {api_key}" "https://api.apishub.com/api/shahzaibHassan/convert-url-to-pdf-api"

Example Requests#

GET curl -H "Authorization: {api_key}" -L "{{url}}"

Example Response#


              

Error Handling#

HTTP response codes to indicate the success or failure of an API request.

Code Status Explanation
200 OK Successful request.
400 Bad Request Invalid request, or invalid parameters .
403 Authentication Not authorized.
404 Not Found The resource requested was not found.
5xx Server Error A fatal error occurred while processing the request. Try again.

All errors will be JSON object with a String array of errors:

{
  "errors": ["Malformed request"]
}

Plans Description#

Plan API Calls Price
Basic 1000 $20/Month Get this
Starter 3000 $30/Month Get this
Professional 5000 $40/Month Get this
Professional Plus 10000 $50/Month Get this

Try Now#

Input Params



Response


              
↑ Was this documentation useful? Yes No

Ready to Get Started?#

Get API Key