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, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
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.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
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:
4,671ms
Service Level:
100%
Response Time:
865ms
Service Level:
100%
Response Time:
1,570ms
Service Level:
100%
Response Time:
1,060ms
Service Level:
100%
Response Time:
44ms
Service Level:
100%
Response Time:
4,621ms
Service Level:
100%
Response Time:
296ms
Service Level:
100%
Response Time:
837ms
Service Level:
100%
Response Time:
660ms
Service Level:
100%
Response Time:
39ms