rustedf.cloud
Menu

PDF API for developers

HTML in.
PDF out.

A PDF API for invoices, contracts, reports and labels. Write a template once, send your data, and get a document back in a fraction of a second, in any language and currency.

Free plan: 25 PDFs a month. No card needed.

RequestPOST /v1/render
curl https://api.rustedf.com/v1/render \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "0194f2c0-…",
    "locale": "en-US",
    "data": { "number": "2025-0142",
              "total": "12783.60", … }
  }' -o invoice.pdf
en: a sample invoice made by the service

Why teams use it

Documents for your customers, without running anything yourself.

Fast

A document comes back in a fraction of a second, so you can generate it while the customer is still on the page.

Design it once

Build your template in the portal with a live preview, then reuse it for every invoice, contract or report.

Any language, any currency

Amounts, dates and numbers appear the way each customer expects, from a single template.

One simple call

Send your data, get a PDF. It works from any language or tool that can make a web request.

Pay only for what you get

One credit is one PDF. If a document fails, the credit comes back. Previews cost nothing.

Check before you send

Validate a document for free and see what to fix before it reaches a customer.

Private and secure

Your templates and images are yours alone. Keys can be revoked at any time, and files expire on their own.

Grows with you

Start free. Move to a paid plan when you need more, and pay per thousand beyond it.

Made for

Any document you build from data and send to a customer.

Invoices and receipts

Line items that grow, taxes, totals in the customer’s currency, one template for every market.

Contracts and quotes

Clauses that appear only when they apply, numbered pages and a signature block that stays together.

Reports and statements

Tables that run across many pages with their header repeated, and totals that always add up.

Labels, tickets and certificates

Exact sizes, your own logo and a name or a code on every one, generated in bulk.

Three steps

1

Write a template

Plain HTML and CSS with a few placeholders. Build it in the portal with a live preview, or send HTML straight in the request.

2

Send your data

One POST with the template id, a JSON object and a locale. Your API key stays on your server.

3

Get a PDF

The PDF comes back in the response, or as a signed link that expires on its own.

One template.
Every market.

Tell us the customer’s language and country with each request. Amounts, dates and numbers are written the way they expect to read them: separators, currency symbols, month names, even right-to-left languages.

LocaleTotalDate
en-US$1,234.50March 15, 2024
pt-BRR$ 1.234,5015 de março de 2024
es-ES1234,50 €15 de marzo de 2024
de-DE1.234,50 €15. März 2024

Simple pricing

One credit is one PDF. Failed renders, previews and validation never use credits.

Free

Free

  • 25 PDFs a month
  • Stops at the limit
  • Up to 5 pages per document
  • 10 requests a minute
  • 3 templates, 2 MB of images
  • Files kept 24 hours
Start free

Starter

$9

per month

  • 1,000 PDFs a month
  • Then $12 per 1,000
  • Up to 50 pages per document
  • 60 requests a minute
  • 25 templates, 25 MB of images
  • Files kept 3 days
Choose Starter

Pro

$29

per month

  • 10,000 PDFs a month
  • Then $4 per 1,000
  • Up to 300 pages per document
  • 300 requests a minute
  • 250 templates, 250 MB of images
  • Files kept 7 days
Choose Pro

Prices are in US dollars, before tax. Payments are handled by Stripe. Need more than the Pro plan includes? Extra PDFs are billed per 1,000 at the rate above.

Questions

What kind of documents can I make?+

Anything you can lay out on a page: invoices, quotes, contracts, statements, reports, labels, tickets and certificates, with tables that continue over several pages, page numbers, headers and footers.

How do I design a template?+

In the portal, with a live preview. You can also send your HTML straight in the request if you prefer to keep templates in your own code.

Can I add my logo?+

Yes. Upload it once in the portal and use it in any template.

What happens when a document fails?+

The credit is returned and the response says why, so you can fix it and try again.

What do you keep?+

Your templates, images and account details, and the number of documents you make. Files kept for a download link expire on their own. We also keep notes about parts of your HTML and CSS that did not work, to improve the service.

More in the documentation.

Render your first PDF
in five minutes.