Dashboard
Manage your API keys, monitor usage, and buy credits.
Available Credits
Total Generated
All-time successful generations
API Key
This is your secret API key. Keep it safe and do not share it with anyone.
Zero Retention PDF
Engine.
Enterprise-grade HTML to PDF conversion with absolute data neutrality. Zero Retention processes your data in isolated RAM and purges it the microsecond the stream closes.
The Zero Retention PDF Shield
Engineered for Fintech and Healthtech compliance. We do not use persistent storage (HDD/SSD). Every conversion happens in an ephemeral RAM disk that is hardware-wiped after every request.
API Playground
Real-time PDF Preview
Implementation
// Initialize client
const client = require('@zeroretention/sdk');
// Generate Zero Retention PDF
const pdf = await client.render({
html: '<h1>Hello Secure World</h1>',
options: {
retention: 0, // Instant RAM purge
encryption: 'AES-256-GCM',
password: 'secure_pass_123', // Enterprise encryption
headerTemplate: 'Confidential Document'
}
});
pdf.pipe(res); // Data leaves RAM, gone forever.
# Initialize client
import zeroretention
client = zeroretention.Client(api_key='sk_live_...')
# Generate Zero Retention PDF
pdf_stream = client.render(
html='<h1>Hello Secure World</h1>',
options={
'retention': 0, # Instant RAM purge
'encryption': 'AES-256-GCM',
'password': 'secure_pass_123',
'headerTemplate': 'Confidential Document'
}
)
# Stream directly to response
return StreamingResponse(pdf_stream, media_type="application/pdf")
curl -X POST https://api.zeroretention.com/v1/pdf \
-H "x-api-key: sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"html": "<h1>Hello Secure World</h1>",
"password": "secure_pass_123",
"headerTemplate": "Confidential Document"
}' \
--output document.pdf
Simple, transparent pricing
Start for free, then pay as you go. No subscriptions, no hidden fees.
Developer
$0.00 USD
- check 30 Free Credits
- check Community Support
- check Full API Access
Starter
$10.00 USD
- check 500 API Credits
- check $0.020 per PDF
- check Remove Watermark
Pro
$40.00 USD
- check 2,500 API Credits
- check Priority Support
- check Async Webhooks
- check Remove Watermark
Enterprise
$100.00 USD
- check 10,000 API Credits
- check Dedicated Support
- check Async Webhooks
- check Remove Watermark
Authentication
The Zero Retention PDF API requires an API key for all requests. Your API key must be passed in the x-api-key header.
Endpoints
Payload Parameters
html(string, required) - The raw HTML string to convert.password(string, optional) - AES-256 password to encrypt the PDF.headerTemplate(string, optional) - HTML template for the PDF header.footerTemplate(string, optional) - HTML template for the PDF footer.
Privacy & Security
Ephemeral Processing
All HTML payloads are processed entirely in RAM. We utilize headless chromium instances connected via secure websocket pipes, ensuring data never touches a physical disk.
Zero Retention
The generated PDF buffer is piped directly back to the requesting client. Once the TCP stream closes, the RAM allocation is purged instantly.