Convert webpage to PDF file by passing any URL.
Parameter | Type | Requirement | Explanation |
---|---|---|---|
url | string | required | Any valid URL which is publicaly accessible over the Internet. |
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"
GET curl -H "Authorization: {api_key}" -L "{{url}}"
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"]
}
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 |