API v1 Available

Convert Any URL to
PDF or Screenshot
via API

Powerful SaaS API to convert any webpage to a high-quality PDF or image. Perfect for invoices, reports, receipts & automation.

No credit card required
Full page PDF support
REST API
# Convert any URL to PDF
curl -X POST \
"https://screenshot.soniyal.com/api/v1/pdf.php" \
-H "X-API-Key: pk_live_your_key" \
-d "url=https://invoice.example.com/inv-001" \
-d "page_size=A4&orientation=Portrait"
# Response:
{
"success": true,
"data": {
"url": "https://screenshot.soniyal.com/uploads/pdf_abc.pdf",
"pages": 3,
"size": "145.2 KB"
}
}
₹0
Free Forever Plan
mPDF + wk
Dual PDF Engines
PNG / JPG
Screenshot & Dynamic Print
REST API
Simple Integration

Everything You Need

A complete API platform for URL to PDF and image conversion

📄
URL to PDF

Convert any webpage to a pixel-perfect PDF. Control page size, orientation, margins, headers, footers & more.

📸
BYOK Screenshots (Free)

Bring your own API keys from 8 providers (ApiFlash, ScreenshotOne, Google PageSpeed, Thum.io & more). Auto-fallback chain — if one quota runs out, the next kicks in.

🔑
API Key Auth

Secure API key authentication. Create multiple keys, track usage, set custom names, and revoke instantly.

Rate Limiting & Quotas

Per-key rate limiting with daily quotas. Free gets 200/day, Basic 500, Pro 5K, Enterprise 50K.

🛡️
Fully Secured

SSRF protection, CSRF tokens, SQL injection prevention, XSS protection, secure headers & input validation.

📊
Usage Analytics

Track every conversion. Monitor daily usage, view conversion history, and manage all API keys from one dashboard.

How It Works

1
Register & Get API Key

Create a free account and generate your API key from the dashboard. No credit card required.

2
Send API Request

POST your URL with parameters to our endpoint. Pass the API key in the header.

3
Download Your File

Get the download URL in the JSON response. Files auto-delete after 1 hour for privacy.

# Invoice URL to PDF - Invoice System Example
$response = file_get_contents(
'https://screenshot.soniyal.com/api/v1/pdf.php',
false,
stream_context_create([
'http' => [
'method' => 'POST',
'header' => 'X-API-Key: pk_live_xxx',
'content' => http_build_query([
'url' => $invoiceUrl,
'page_size' => 'A4',
'orientation' => 'Portrait',
'margin_top' => 15
])
]
])
);
$pdf = json_decode($response);
$downloadUrl = $pdf->data->url;

Simple, Transparent Pricing

Indian pricing. Start free. No hidden charges.

Free
Try it out, no card needed
0/mo

  • 200 requests / day
  • Dynamic Print (text on image)
  • BYOK Screenshots (8 providers)
  • Auto fallback chain
  • 3 req/min rate limit
  • URL to PDF
  • Native Screenshot (wkhtmltoimage)
Get Started Free
Basic
For shared hosting users
99/mo

  • 500 requests / day
  • URL to PDF (mPDF engine)
  • Dynamic Print (text on image)
  • A4, A3, Letter sizes
  • Header / footer support
  • 10 req/min rate limit
  • HD PDF (wkhtmltopdf)
  • URL to Screenshot
Upgrade to Basic
Enterprise
High volume + priority support
999/mo

  • 50,000 requests / day
  • All engines included
  • 200 req/min rate limit
  • Files saved 3 days
  • 100 API keys
  • Priority support
Contact for Enterprise

No auto-billing. Pay manually via UPI / bank transfer. Contact us to upgrade. View upgrade instructions →

Ready to start converting?

Join developers using PDFSnap to generate PDFs and screenshots via API.

Create Free Account