Skip to content
Fourohtwo

agent-tools-production-e6aa.up.railway.app/v1/make-pdf

Turn HTML you write (an invoice, report, letter or certificate) or a public web page into a print-quality PDF, rendered by Chrome with backgrounds and CSS. Use when you need to hand a person a polished, printable document. Send {html} or {url}; optional format (A4, Letter, A3, A5, Legal) and landscape. Returns the PDF. Errors: 400 missing input or private URL, 413 HTML over 2 MB.

BaseAnswering
POSThttps://agent-tools-production-e6aa.up.railway.app/v1/make-pdf

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-tools-production-e6aa.up.railway.app/v1/make-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"format":"A4","html":"<h1>Invoice 001</h1><p>Total: £120.00</p>"}),
});
console.log(await res.json());

Example input

{
  "format": "A4",
  "html": "<h1>Invoice 001</h1><p>Total: £120.00</p>"
}

More from Agent Tools UKProvider status