PDF Generation API

Turn your webpage into stunning, professional-grade PDFs in seconds with Siterelic API. Add timestamp, generate in orientation or portrait layout, scale, give margin, user proxy, and more to automate PDF generation.

POST
https://api.siterelic.com/url2pdf

Used by thousands, including:

Geekflare
BrainStream
TMDC
TCS
Hex Lab
Hootsuite

Frequently Asked Questions

Can I customise the output settings, like size or orientation?

Yes, you can set the file orientation to landscape or portrait, set margins, and scale down.

What is the default orientation?

The portrait will be used as a default option.

What are all the sizes/formats available?

The sizes and formats supported are letter, legal, a0, a1, a2, a3, a4, a5, and a6. If you don’t provide the format parameter, a4 will be used as the default option.

Can I generate PDF using a mobile device?

Yes, the Siterelic API allows you to generate PDF using desktop, mobile, and tablet devices. The desktop is used as a default device option.

How do I add a timestamp watermark to the pdf?

To add a timestamp to a generated PDF, you can use the addTimestamp parameter.

Example

{ "url": "https://example.com", "addTimestamp": true }

Powerful features to power your business.

Reliable

Production-ready APIs, ready to be integrated with your applications. Faster execution, high uptime, and reliable infrastructure.

Rotating proxies

Minimize the chance of getting blocked; test your website using rotating proxies from multiple locations.

Documentation

Developer-friendly, easy-to-follow API documentation that will get you started within minutes.

Multi-device

Run on Desktop, Mobile, or Tablet to support your use case.

Page format

Generate PDF as different page sizes and orientations, apply margins, and choose to scale.

Add timestamp

Adding a timestamp on the Screenshot or PDF generated by our APIs is possible.

Explore the collection

Production ready, fast, scalable, and reliable APIs built for businesses and developers.

Performance

Test your website performance.

Security

Test your website security.

DNS

Test your domain metrics.

Flexible plans for your business

Our APIs can handle millions of requests per month and our plans can be tailored to your needs.

  • Free
  • Premium
  • Monthly
  • Yearly
  • Rotating proxy
  • Rate-limit
    10 requests per second
  • Premium 10K
    10,000 requests
    $9.99
    /mo
  • Premium 50K
    50,000 requests
    $39.99
    /mo
  • Premium 100K
    100,000 requests
    $64.99
    /mo
  • Premium 250K
    250,000 requests
    $149.99
    /mo
  • Premium 500K
    500,000 requests
    $249.99
    /mo