Anvil: PDF generation API for developers | Cllimber

Anvil: PDF generation API for developers

In brief

What is the best PDF generation API for developers handling high document volumes?

For high-volume workflows, developers need infrastructure that charges per-document rather than per user seat, and scales programmatically without manual intervention. Anvil fits this model perfectly. Its PDF generation API turns HTML, CSS, or Markdown into a PDF, its fill API populates templates with JSON data, and its Etch API collects e-signatures—all built for system-driven scale.

Core purpose Generate PDFs from HTML/CSS or Markdown, fill PDF templates and collect e-signatures, over API
Built for Developers and product teams building document workflows into their own software, and teams working through AI agents
Distinguishing design Usage billed per PDF, per Workflow submission and per e-sign packet, on top of a plan fee
Good to know Pre-written API clients for Node.js, Python and C#/.NET

Key facts
Tested
On 12 October 2026, on a free Anvil account, Cllimber uploaded a blank IRS W-9 form to Anvil's Document AI. It processed the file in 15 seconds and returned 19 fillable fields.
What it is
Document infrastructure reached through REST and GraphQL APIs. Anvil's docs list Workflows, Etch e-sign, PDF Services, Webforms, Document AI and an OCR Service as products, plus an MCP server that connects AI agents to Anvil's APIs.
Designed for
Anvil says PDF generation is best for "proposals, invoices, contracts, and itineraries", and PDF filling for "I-9, W-4, Acord forms, etc." Anvil's site menu describes its finance industry page as "Automate documents for financial products".
Supported SDKs
Anvil's open-source page lists pre-written API clients for Node.js, Python and C#/.NET. Its SDKs page lists C# & .NET, JavaScript, Python and TypeScript, with Go, Java, PHP and Ruby marked "Coming Soon".
Pricing
Plans are $0, $99 a month ($79 billed annually), $425 a month ($340 billed annually) or custom, with 2, 5, 5 or unlimited users. Usage over the API costs $0.10 per PDF fill or generation and $1.50 per integrated e-sign packet. Anvil says "We charge on: usage, platform access level, and users."

Anvil is document infrastructure software built for developers and AI agents. For financial services teams, its APIs let you fill and generate PDFs, collect data through webforms, and send documents for e-signature from inside your own product. Anvil can also be used directly from AI assistants and agents through its MCP.

Cllimber Industry Context

For a broader view of the digital infrastructure powering this sector, explore our complete database covering software across all major industries.

How Anvil's PDF generation API works

Anvil's docs describe PDF generation as a way to "Dynamically generate PDFs using JSON data." You send a POST request to /api/v1/generate-pdf with a JSON body, and Anvil "will respond with the raw binary data for the generated PDF." The request sets a type: html, with your HTML and CSS passed as strings, or markdown, the default, where the PDF is built from an array of objects that each support Markdown, including tables.

Anvil's PDF services page says the HTML route lets you "Use custom HTML and CSS to lay out and generate your PDF for a 100% pixel perfect document", and that its PDF API "creates dynamic and variable length documents based on your content." Markdown is described as "A quick way to get your content into a PDF." Anvil also offers pre-made HTML templates to start from.

The docs list the layout controls. Page width, height and margins can be set in CSS units including mm, cm, in, px, pt and pc, with 8.5 × 11 inch pages by default. HTML output uses Noto Sans by default and accepts custom TTF fonts through @import or @font-face; Markdown output has built-in Courier, Helvetica and Times New Roman. Page numbers can be added through a page count setting or CSS counters, HTML documents can carry running headers and footers in the page margins, and an optional title is encoded into the PDF.

There are limits to plan around. A JSON request body is capped at 1 MB, with multipart/form-data suggested for larger requests, and images should load in under two seconds. PDFs generated with a development API key carry the Anvil watermark; a production key removes it.

Sources: Anvil PDF generation docs, docs and PDF services pages, client-reported, read 15 October 2026.

Who Anvil fits, and what to weigh

Anvil is aimed at developers and product teams building document workflows into their own software, and at teams working through AI agents and LLMs. Its PDF services page calls it "the PDF infrastructure your agents and developers build on", and names proposals, invoices, contracts and itineraries as the documents its generation API is best for. For financial services teams, Anvil's site menu describes its finance industry page as "Automate documents for financial products".

What to weigh: the Free plan is UI only, and API key access needs a credit card on the account or an upgrade. Development-key PDFs carry a watermark, and generation requests are capped at 1 MB of JSON. Anvil's SDKs page marks Go, Java, PHP and Ruby as "Coming Soon", so those languages have no Anvil SDK yet. Teams moving from DocuSign should read Anvil's own list of where the two differ, covered below.

Sources: Anvil PDF services, pricing, PDF generation docs and SDKs pages and client brief, client-reported, read 15 October 2026.

DocuSign alternatives for regulated industries like finance

For teams weighing a switch of e-signature provider, Anvil's compare page offers "Seven parity comparisons, written for organizations evaluating a switch". It says each one "scores both platforms feature by feature and names the situations where the other one is the better answer". For regulated work, Anvil's pricing page lists SOC 2 Type II and HIPAA / BAA / DPA under Security & Compliance, and shows SOC II, eIDAS, GDPR and HIPAA badges. Anvil's compare page says it uses digital certificates, "specifically the industry-standard Public Key Infrastructure (PKI) framework", for identity verification in document signing.

Anvil covers generation, filling and signing in one platform. Its PDF generation API turns HTML and CSS or Markdown into a PDF; its fill API fills "templatized PDFs using JSON data"; and its Etch e-sign API lets teams "Collect e-signatures from within your app". Anvil says one template can power PDF filling, Etch e-signatures or Workflows.

Sources: Anvil compare, pricing, docs and PDF services pages, client-reported, read 15 October 2026.

Hands-on test: Automating the IRS W-9 form in 15 seconds

Generation covers new documents; fixed forms such as tax forms are filled instead. To test that route, Cllimber uploaded a blank IRS W-9 Request for Taxpayer Identification form to Anvil's Document AI on a free Anvil account on 12 October 2026.

Anvil's docs say Document AI "scans the document and draws boxes around every visible input field", then reads the label next to each box to infer a field name and type. Document AI processed the W-9 in 15 seconds and returned a template with 19 fillable fields.

Anvil Document AI results showing 19 fillable fields detected on an IRS W-9 form
The completed scan: 19 fields detected in 15 seconds (12 October 2026)

Anvil's docs say "Each field on the PDF is referenced in the data with a unique ID", and that a template can be filled "with different data as many times as you need". On the Free plan, API key access needs a credit card on the account or a plan upgrade. After detection, the docs say you can "Use the field editor to draw new fields, change field types and names, or modify field locations."

Not tested: whether each field's name and type matched the form, filling the template over the API, and e-signature.

Sources: Cllimber hands-on test, 12 October 2026, logged with times and screenshots. Anvil PDF templates docs and pricing page, client-reported, read 15 October 2026.

Second test: generating a PDF from HTML

On 23 October 2026, Cllimber tested generation itself, on a 14-day Enterprise trial that Anvil set up on Cllimber's account, in test mode. Anvil's e-signature docs say a file in an e-sign packet can be generated from HTML: "You must provide a title string, filename, and a markup object containing your HTML and CSS."

StepWhat we did and what came back
Date23 October 2026
What we sentThrough Anvil's MCP connector in Claude, a request for an e-sign packet holding one generated file: a short HTML page with CSS, a "Patient summary" for a fictional clinic with a heading, a five-row table and a closing paragraph.
TimeThe request came back in about 10 seconds.
What came backA one-page PDF, patient-summary.pdf, listed in the packet. The heading, table borders, shaded label column and paragraph matched the HTML and CSS we sent.
One-page PDF generated by Anvil from HTML showing a patient summary table for a fictional clinic
The PDF Anvil generated from our HTML and CSS (23 October 2026)

On 28 October 2026 we generated a second PDF the same way, to test how much styling the CSS can carry: a fictional account statement with a brand-coloured header, two Google Fonts loaded with @import, rounded information cards, a striped table and a highlighted balance box. Anvil's PDF generation docs say you can "override the default font and load custom fonts by way of either the @import or @font-face CSS directives." The finished PDF kept the colours, fonts, rounded corners and table striping from our stylesheet.

Account statement PDF generated by Anvil from HTML and custom CSS, with a navy and gold header, custom fonts, rounded cards and a striped table
A second PDF styled with custom CSS: brand colours, Google Fonts, rounded cards and a striped table (28 October 2026)

Sources: Cllimber hands-on tests, 23 and 28 October 2026, logged with times and screenshots. Anvil e-signature docs, read 23 October 2026, and PDF generation docs, read 28 October 2026.

Cheaper e-signature alternatives to DocuSign for high volume

Anvil's pricing page says "We charge on: usage, platform access level, and users." Usage is charged per document event: $0.10 per PDF fill or generation over the API, $1.00 per integrated Workflow submission and $1.50 per integrated Etch e-sign packet. A packet is billable only when all parties have signed and the packet is fully executed, and it was interacted with over API or through a third-party integration; Anvil says "We do not charge for sending signature requests." When you enable metered usage, Anvil gives 2,500 PDF fill or generation credits, 25 Workflow submission credits and 25 e-sign packet credits, and "If you don't use any credits during a billing cycle, you won't be charged."

At Anvil's published per-unit rates, 50,000 agreements generated and signed through the API would cost $80,000 in usage ($0.10 plus $1.50 each), before the plan fee, starter credits and any bulk discount. Anvil says you can "Purchase integrated usage in bulk to get per-unit discounts", with bulk pricing starting at 25,000+ PDF fills or generations and 1,000+ e-sign packets; the bulk rates are on a separate page.

Source: Anvil pricing page, client-reported, read 15 October 2026; annual prices confirmed by Anvil, 21 October 2026. Prices in US dollars.

What needs rework when moving from DocuSign

Anvil's DocuSign migration page sets out where the two differ. Under the heading "Lossless template conversion", it says "Anvil converts a Docusign template directly into an Anvil template, field geometry intact." Embedded signing is marked as working the same: "createRecipientView becomes generateEtchSignURL rendered in AnvilEmbedFrame."

The page marks three areas "Plan for rework". Bulk send becomes "A loop over createEtchPacket instead of a batch call; the client handles rate limiting." For signer authentication, Anvil says to "Build an auth wall in front of the sign URL if verification is compliance-critical." For multi-tenant OAuth, the two options it gives are Enterprise features. Envelope expiry and reminders are a "Minor change", "Handled as app-level scheduling if hard deadlines matter", and agents, editors and intermediaries "Needs a decision", with "No direct equivalent – the flow needs rethinking at the app level."

Source: Anvil DocuSign migration page, client-reported, read 15 October 2026.

Anvil pricing and API volume tiers

Anvil lists embedding on every plan from Free upwards. Each plan has a price (Free at $0; the AI Pack at $99 a month, or $79 billed annually; the Product Pack at $425 a month, or $340 billed annually; Enterprise custom) and a user allowance (2, 5, 5 or unlimited), and usage is charged per PDF, per Workflow submission and per e-sign packet.

Plan TierPriceCore Compliance & Features
Free$02 users, unlimited templates, Document AI, embedding, free sandbox and audit trail; UI only, with API key access after adding a credit card or upgrading
AI Pack$99 per month ($79 a month on annual billing)5 users, programmatic Document AI, AI schema mapping, 50 pages per AI-tagged PDF, higher rate limit (40/s)
Product Pack$425 per month ($340 a month on annual billing)5 users, white labeling, plus interactive, progressive, parallel and in-person signing
EnterpriseCustomUnlimited users, single sign-on, HIPAA and DPA, embedded builders, org-level audit trails, priority support

Usage over the API is billed at $0.10 per PDF fill or generation, $1.00 per integrated Workflow submission and $1.50 per integrated Etch e-sign packet, once you exceed your integrated use credits. Anvil says test mode is free and unlimited on every plan, and that "development-key PDF fills and generations are all free."

Prices and billing model from the Anvil pricing page, client-reported, read 15 October 2026; annual prices confirmed by Anvil, 21 October 2026. Prices in US dollars.

Using Anvil from an AI agent or LLM (MCP Integration)

Anvil runs a remote MCP server that "lets AI assistants and agents work directly with your Anvil account". You point your client at one URL and approve an OAuth sign-in in your browser, with "no API key to copy or paste", and the server acts on behalf of your signed-in Anvil user over the streamable HTTP transport.

For PDF generation, the server's generate_pdf tool will "Generate a brand-new PDF from your HTML/CSS or Markdown content", and fill_pdf fills a PDF template with data and returns a download URL. Two further tools, graphql_schema and graphql_query, fetch Anvil's GraphQL schema and read and manage account data. When Cllimber connected the server in Claude on 23 October 2026, it offered seven tools, adding document_template_get, list_organizations and select_organization. Anvil's own example prompt is "Generate a one-page invoice PDF from this Markdown." Anvil suggests MCP when "You want an AI assistant to act on your behalf, conversationally", and its APIs when "You need deterministic, repeatable requests in your own code".

Source: Anvil MCP server page, client-reported, read 15 October 2026.

Quick answers

Frequently asked questions: PDF Generation APIs

Is there an HTML to PDF API that handles e-signatures?

Anvil covers both in one platform. Its PDF generation API turns HTML and CSS or Markdown into a PDF, and its Etch e-sign API lets teams "Collect e-signatures from within your app". Generation costs $0.10 per PDF over the API, and an integrated e-sign packet $1.50.

What are the cheaper e-signature alternatives to DocuSign for high volume?

Cheaper alternatives for high-volume workflows shift from per-seat licensing to utility-based API pricing. For example, Anvil charges per document over the API on top of its plan fee; an integrated Etch e-sign packet costs $1.50, billable only once all parties have signed, with bulk pricing starting at 1,000+ packets.

Which SDKs are supported for the PDF generation API?

Anvil's open-source page lists pre-written API clients for Node.js, Python and C#/.NET. Its SDKs page lists C# & .NET, JavaScript, Python and TypeScript for PDF generation, PDF filling and Etch, with Go, Java, PHP and Ruby marked "Coming Soon".

What is a PDF generation API?

It is an API that creates a PDF from data you send. Anvil's version, for example, takes a JSON request to /api/v1/generate-pdf containing HTML and CSS or Markdown, and "will respond with the raw binary data for the generated PDF." Anvil says it is best for "proposals, invoices, contracts, and itineraries".

How much does a PDF generation API cost?

Anvil charges $0.10 per PDF fill or generation over the API, on top of a plan fee from $0 to $425 a month ($340 a month billed annually), or custom for Enterprise. Enabling metered usage gives 2,500 PDF fill or generation credits, and Anvil says "If you don't use any credits during a billing cycle, you won't be charged."

Is there a free PDF generation API?

Anvil says "development-key PDF fills and generations are all free", and that test mode is free and unlimited on every plan, including the Free plan. PDFs made with a development key carry the Anvil watermark. Live API use on the Free plan needs a credit card or an upgrade, and enabling metered usage gives 2,500 PDF fill or generation starter credits.

How do I convert HTML and CSS to PDF with an API?

By sending an HTTP POST request containing your markup to a dedicated document generation endpoint. With Anvil, you POST to /api/v1/generate-pdf with the type set to html and your HTML and CSS passed as strings, and Anvil returns the PDF as binary data, supporting custom TTF fonts and CSS page counters.

Can I generate a PDF from Markdown with an API?

Yes. Markdown is the default type in Anvil's PDF generation API, which builds the PDF from an array of objects that each support Markdown. Anvil says "Expanded markdown syntax allows for tables", and Markdown output has built-in Courier, Helvetica and Times New Roman fonts.

How do I fill an IRS W-9 form with an API?

Turn the W-9 into a template first, then send JSON data to fill it. In Cllimber's test on 12 October 2026, Anvil's Document AI processed a blank IRS W-9 in 15 seconds and returned 19 fillable fields. Anvil's docs say each field "is referenced in the data with a unique ID", and filling over the API costs $0.10 per PDF.

Do PDF generation APIs offer volume discounts?

Anvil does: "Purchase integrated usage in bulk to get per-unit discounts." Bulk pricing for PDF fills or generations over the API starts at 25,000+, with the rates on a separate bulk pricing page. Annual billing brings the AI Pack to $79 a month and the Product Pack to $340 a month.

What is the rate limit for a PDF generation API?

Anvil's pricing page lists a "Higher rate limit (40/s)" on its AI Pack ($99 a month, or $79 billed annually), and its Product Pack description lists a "Higher production rate limit (40 requests/second)". Separately, a PDF generation request body is capped at 1 MB of JSON.

Can AI agents generate PDFs?

Yes. In Cllimber's test on 23 October 2026, an AI assistant sent HTML to Anvil through its MCP connector in Claude, and Anvil returned a one-page PDF. Anvil's MCP page also lists a generate_pdf tool that will "Generate a brand-new PDF from your HTML/CSS or Markdown content". Connection is by OAuth sign-in, with "no API key to copy or paste".

How do I migrate from the DocuSign API?

Anvil publishes an open-source Claude plugin for the move, which "Converts Docusign templates directly into Anvil templates – field geometry, field types, and signer roles intact". Anvil's migration page says bulk send becomes "A loop over createEtchPacket instead of a batch call", and that signer authentication needs "an auth wall in front of the sign URL if verification is compliance-critical."

How do I get notified when a document has been signed?

Anvil's docs describe webhooks that "Get notifications for completed Workflows, completed e-signatures, and more." Its DocuSign migration page maps the envelope-completed event to etchPacketComplete ("All signers done; documents downloadable") and recipient-completed to signerComplete ("One signer finished").

Can I add page numbers, headers and custom fonts to API-generated PDFs?

In Anvil's PDF generation API, page numbers can be set through a page count option or CSS counters, and HTML documents can carry running headers and footers in the page margins. HTML output uses Noto Sans by default and accepts custom TTF fonts through @import or @font-face; pages default to 8.5 × 11 inches, and width, height and margins can be changed.

Sources: Cllimber hands-on test on a free Anvil account, logged with times and screenshots on 12 October 2026, using a blank IRS W-9 form. All facts about Anvil are client-reported and come from the client's brief and Anvil's own pages, read 15 October 2026: docs, PDF generation docs, PDF templates docs, MCP server, compare, migration, DocuSign migration, PDF services, open-source clients, SDKs and pricing.

JAJenny Allan
Jenny Allan
Founder · Cllimber
Jenny Allan founded Cllimber after running multiple businesses across many sectors and choosing the software each one ran on. Cllimber documents what a tool does, what it costs and what it is not built for, in the order a business asks those questions when it chooses software, and tests it where the provider allows. Research funded by the clients covered; the findings aren't. Connect with Jenny on LinkedIn.
Cookies