About the API:
This API will allow you to dynamically generate PDF files to store and display any HTML you want. Also you can pass an URL and receive the PDF of the content so you can check what is inside.
This API will receive either the HTML code that you want to parse to PDF or a URL. You will be receiving a link to later download your PDF file.
This API will allow you to have a visual representation of your HTML codes. It's ideal for presentations on meetings or with other teams that want to see how the page would be seen in the browser.
This API gives you the possibility to extract the content of any page in a PDF file. You can store this information and can check how other web pages are seen in the browser. Also, you can download different stages of a page to make a comparison.
Besides the number of API calls per month, there are no other limitations.
https://cdn.opq.to/pdfs/3c3496c6f68e79e6b971fb702f766d5f.pdf
curl --location --request GET 'https://zylalabs.com/api/138/html+and+url+to+pdf+api/180/url+to+pdf?url=https://zylalabs.com' --header 'Authorization: Bearer YOUR_API_KEY'
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="nvIeN1mkSK3y5TSJf3RKalfVFFfve03dFfRsoUIb">
<title>OneSimpleApi.com</title>
<meta data-vmid="description" name="description" content="The first API toolkit designed to save you time, money and stress. A toolbox with all the things you need to get your project to success: PDF generation, Currency Exchange, QR codes, SEO Metadata, Screenshots, and more.">
<!-- og -->
<meta name="og:locale" property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<meta data-vmid="og_title" property="og:title" content="OneSimpleApi.com" />
<meta data-vmid="og_description" property="og:description" content="The first API toolkit designed to save you time, money and stress. A toolbox with all the things you need to get your project to success: PDF generation, Currency Exchange, QR codes, SEO Metadata, Screenshots, and more." />
<meta property="og:image" content="https://onesimpleapi.com/api/screenshot?token=mRAmvwlKc5Tj1Rz54bLPIV5PHlebDaAAQxej3Tx2&output=redirect&url=https%3A%2F%2Fonesimpleapi.com%2Flogin%2F%3Fv%3D1.1" />
<meta property="og:url" content="https://onesimpleapi.com/login" />
<meta property="og:site_name" content="OneSimpleApi.com" />
<!-- twitter card -->
<meta name="twitter:card" content="summary_large_image"/>
<meta data-vmid="twitter_title" name="twitter:title" content="OneSimpleApi.com"/>
<meta data-vmid="twitter_description" name="twitter:description" content="The first API toolkit designed to save you time, money and stress. A toolbox with all the things you need to get your project to success: PDF generation, Currency Exchange, QR codes, SEO Metadata, Screenshots, and more."/>
<meta name="twitter:image" content="https://onesimpleapi.com/api/screenshot?token=mRAmvwlKc5Tj1Rz54bLPIV5PHlebDaAAQxej3Tx2&output=redirect&url=https%3A%2F%2Fonesimpleapi.com%2Flogin%2F%3Fv%3D1.1" />
<meta name="twitter:creator" content="@OneSimpleApi"/>
<meta name="twitter:site" content="@OneSimpleApi"/>
<link rel="canonical" href="https://onesimpleapi.com/login">
<!-- Fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap">
<!-- Styles -->
<link rel="stylesheet" href="/css/app.css?id=1a6479e77d9663d906b98af618b741c2">
<link rel="icon" href="/favicon.ico" type="image/x-icon"/>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
<!-- Scripts -->
<script type="text/javascript">
const Ziggy = {"url":"https:\/\/onesimpleapi.com","port":null,"defaults":{},"routes":{"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.shareReport":{"uri":"_ignition\/share-report","methods":["POST"]},"ignition.scripts":{"uri":"_ignition\/scripts\/{script}","methods":["GET","HEAD"]},"ignition.styles":{"uri":"_ignition\/styles\/{style}","methods":["GET","HEAD"]},"cashier.payment":{"uri":"stripe\/payment\/{id}","methods":["GET","HEAD"]},"webhook":{"uri":"stripe\/webhook","methods":["POST"]},"login":{"uri":"login","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.update":{"uri":"reset-password","methods":["POST"]},"register":{"uri":"register","methods":["GET","HEAD"]},"verification.notice":{"uri":"email\/verify","methods":["GET","HEAD"]},"verification.verify":{"uri":"email\/verify\/{id}\/{hash}","methods":["GET","HEAD"]},"verification.send":{"uri":"email\/verification-notification","methods":["POST"]},"user-profile-information.update":{"uri":"user\/profile-information","methods":["PUT"]},"user-password.update":{"uri":"user\/password","methods":["PUT"]},"password.confirmation":{"uri":"user\/confirmed-password-status","methods":["GET","HEAD"]},"password.confirm":{"uri":"user\/confirm-password","methods":["POST"]},"two-factor.login":{"uri":"two-factor-challenge","methods":["GET","HEAD"]},"two-factor.enable":{"uri":"user\/two-factor-authentication","methods":["POST"]},"two-factor.confirm":{"uri":"user\/confirmed-two-factor-authentication","methods":["POST"]},"two-factor.disable":{"uri":"user\/two-factor-authentication","methods":["DELETE"]},"two-factor.qr-code":{"uri":"user\/two-factor-qr-code","methods":["GET","HEAD"]},"two-factor.secret-key":{"uri":"user\/two-factor-secret-key","methods":["GET","HEAD"]},"two-factor.recovery-codes":{"uri":"user\/two-factor-recovery-codes","methods":["GET","HEAD"]},"horizon.stats.index":{"uri":"horizon\/api\/stats","methods":["GET","HEAD"]},"horizon.workload.index":{"uri":"horizon\/api\/workload","methods":["GET","HEAD"]},"horizon.masters.index":{"uri":"horizon\/api\/masters","methods":["GET","HEAD"]},"horizon.monitoring.index":{"uri":"horizon\/api\/monitoring","methods":["GET","HEAD"]},"horizon.monitoring.store":{"uri":"horizon\/api\/monitoring","methods":["POST"]},"horizon.monitoring-tag.paginate":{"uri":"horizon\/api\/monitoring\/{tag}","methods":["GET","HEAD"]},"horizon.monitoring-tag.destroy":{"uri":"horizon\/api\/monitoring\/{tag}","methods":["DELETE"],"wheres":{"tag":".*"}},"horizon.jobs-metrics.index":{"uri":"horizon\/api\/metrics\/jobs","methods":["GET","HEAD"]},"horizon.jobs-metrics.show":{"uri":"horizon\/api\/metrics\/jobs\/{id}","methods":["GET","HEAD"]},"horizon.queues-metrics.index":{"uri":"horizon\/api\/metrics\/queues","methods":["GET","HEAD"]},"horizon.queues-metrics.show":{"uri":"horizon\/api\/metrics\/queues\/{id}","methods":["GET","HEAD"]},"horizon.jobs-batches.index":{"uri":"horizon\/api\/batches","methods":["GET","HEAD"]},"horizon.jobs-batches.show":{"uri":"horizon\/api\/batches\/{id}","methods":["GET","HEAD"]},"horizon.jobs-batches.retry":{"uri":"horizon\/api\/batches\/retry\/{id}","methods":["POST"]},"horizon.pending-jobs.index":{"uri":"horizon\/api\/jobs\/pending","methods":["GET","HEAD"]},"horizon.completed-jobs.index":{"uri":"horizon\/api\/jobs\/completed","methods":["GET","HEAD"]},"horizon.silenced-jobs.index":{"uri":"horizon\/api\/jobs\/silenced","methods":["GET","HEAD"]},"horizon.failed-jobs.index":{"uri":"horizon\/api\/jobs\/failed","methods":["GET","HEAD"]},"horizon.failed-jobs.show":{"uri":"horizon\/api\/jobs\/failed\/{id}","methods":["GET","HEAD"]},"horizon.retry-jobs.show":{"uri":"horizon\/api\/jobs\/retry\/{id}","methods":["POST"]},"horizon.jobs.show":{"uri":"horizon\/api\/jobs\/{id}","methods":["GET","HEAD"]},"horizon.index":{"uri":"horizon\/{view?}","methods":["GET","HEAD"],"wheres":{"view":"(.*)"}},"terms.show":{"uri":"terms-of-service","methods":["GET","HEAD"]},"policy.show":{"uri":"privacy-policy","methods":["GET","HEAD"]},"profile.show":{"uri":"user\/profile","methods":["GET","HEAD"]},"other-browser-sessions.destroy":{"uri":"user\/other-browser-sessions","methods":["DELETE"]},"current-user-photo.destroy":{"uri":"user\/profile-photo","methods":["DELETE"]},"current-user.destroy":{"uri":"user","methods":["DELETE"]},"api-tokens.index":{"uri":"user\/api-tokens","methods":["GET","HEAD"]},"api-tokens.store":{"uri":"user\/api-tokens","methods":["POST"]},"api-tokens.update":{"uri":"user\/api-tokens\/{token}","methods":["PUT"]},"api-tokens.destroy":{"uri":"user\/api-tokens\/{token}","methods":["DELETE"]},"billing-portal.portal":{"uri":"user\/billing\/portal","methods":["GET","HEAD"]},"billing-portal.subscription.plan-subscribe":{"uri":"user\/billing\/subscription\/subscribe\/{plan}","methods":["POST"]},"billing-portal.subscription.plan-swap":{"uri":"user\/billing\/subscription\/swap\/{plan}","methods":["POST"]},"billing-portal.subscription.resume":{"uri":"user\/billing\/subscription\/resume","methods":["POST"]},"billing-portal.subscription.cancel":{"uri":"user\/billing\/subscription\/cancel","methods":["POST"]},"billing-portal.payment-method.default":{"uri":"user\/billing\/payment-method\/{payment_method}\/set-default","methods":["POST"]},"billing-portal.invoice.index":{"uri":"user\/billing\/invoice","methods":["GET","HEAD"]},"billing-portal.payment-method.index":{"uri":"user\/billing\/payment-method","methods":["GET","HEAD"]},"billing-portal.payment-method.create":{"uri":"user\/billing\/payment-method\/create","methods":["GET","HEAD"]},"billing-portal.payment-method.store":{"uri":"user\/billing\/payment-method","methods":["POST"]},"billing-portal.payment-method.show":{"uri":"user\/billing\/payment-method\/{payment_method}","methods":["GET","HEAD"]},"billing-portal.payment-method.destroy":{"uri":"user\/billing\/payment-method\/{payment_method}","methods":["DELETE"]},"billing-portal.subscription.index":{"uri":"user\/billing\/subscription","methods":["GET","HEAD"]},"home":{"uri":"\/","methods":["GET","HEAD"]},"security.show":{"uri":"security-policy","methods":["GET","HEAD"]},"home.price":{"uri":"price","methods":["GET","HEAD"]},"feedback":{"uri":"feedback","methods":["GET","HEAD"]},"sitemap.index":{"uri":"sitemap.xml","methods":["GET","HEAD"]},"site.show":{"uri":"site\/{page}","methods":["GET","HEAD"],"bindings":{"page":"slug"}},"docs.show":{"uri":"docs\/{doc}","methods":["GET","HEAD"],"bindings":{"doc":"slug"}},"blog.show":{"uri":"blog\/{post}","methods":["GET","HEAD"],"bindings":{"post":"slug"}},"blog.index":{"uri":"blog","methods":["GET","HEAD"]},"docs.index":{"uri":"docs","methods":["GET","HEAD"]},"posts.index":{"uri":"posts","methods":["GET","HEAD"]},"posts.create":{"uri":"posts\/create","methods":["GET","HEAD"]},"posts.store":{"uri":"posts","methods":["POST"]},"posts.show":{"uri":"posts\/{post}","methods":["GET","HEAD"],"bindings":{"...
curl --location --request POST 'https://zylalabs.com/api/138/html+and+url+to+pdf+api/181/html+to+pdf?html=%3Cbody%3E%3Ch1%3EHello%20World!%3C%2Fh1%3E%3C%2Fbody%3E' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The GET URL to PDF endpoint returns a direct link to the generated PDF file. The POST HTML to PDF endpoint also returns a link to the PDF file created from the provided HTML content.
The primary field in the response data for both endpoints is the URL link to the generated PDF file. This link can be used to download the PDF.
The GET URL to PDF endpoint requires a single parameter: the URL to convert. The POST HTML to PDF endpoint requires the HTML content to be converted into a PDF.
The response data is structured as a JSON object containing a single field with the URL link to the generated PDF. This allows for easy access and retrieval of the PDF file.
Both endpoints provide access to PDF representations of web content. The GET endpoint converts live web pages, while the POST endpoint converts custom HTML code into PDFs.
Users can customize requests by providing different URLs for the GET endpoint or varying HTML content for the POST endpoint, allowing for tailored PDF outputs based on specific needs.
Common use cases include generating PDFs for documentation, creating visual representations of web pages for presentations, and archiving web content for comparison over time.
The API generates PDFs directly from HTML or URLs, ensuring that the output reflects the most current version of the content. Regular updates and quality checks help maintain accuracy.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
157ms
Service Level:
100%
Response Time:
2,898ms
Service Level:
100%
Response Time:
652ms
Service Level:
100%
Response Time:
2,355ms
Service Level:
100%
Response Time:
68ms
Service Level:
91%
Response Time:
2,513ms
Service Level:
100%
Response Time:
1,926ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
1,062ms
Service Level:
100%
Response Time:
1,073ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
6,838ms
Service Level:
100%
Response Time:
3,022ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
8,683ms
Service Level:
100%
Response Time:
777ms
Service Level:
100%
Response Time:
2,355ms
Service Level:
100%
Response Time:
11,424ms
Service Level:
100%
Response Time:
13,507ms