Use when a page has to become a shareable, archivable document
tools.miniframe.com.br/url-to-pdf
Use when a page has to become a shareable, archivable document — a receipt, a report, an invoice, a record kept for later. Renders it with a headless browser (running JavaScript) and returns a PDF. JSON body { url } (public http/https); optional format (A4|Letter|Legal|A3, default A4) and landscape (default false). Returns pdf_base64. Private/internal targets are blocked.
POST
https://tools.miniframe.com.br/url-to-pdfUptime100% 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://tools.miniframe.com.br/url-to-pdf", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"format":"A4","landscape":false,"url":"https://example.com"}),
});
console.log(await res.json());Example input
{
"format": "A4",
"landscape": false,
"url": "https://example.com"
}More from MiniFrame Tools
- tools.miniframe.com.br/cepUse when a Brazilian postal code needs to become a real address — filling a form, validating a delivery, completing a customer record. JSON body { cep } (8 digits). Returns street, complement, neighborhood, city and state (UF). Queries BrasilAPI first and falls back to ViaCEP automatically, so one upstream outage does not fail the task; both sources return the same normalized shape. CEP is postal/0.005
- tools.miniframe.com.br/cnpjLook up a Brazilian company by CNPJ (public registry). JSON body { cnpj }. Returns name, status, address, CNAE activities, share capital and public partners (QSA) with masked tax IDs; personal contact fields omitted.0.01
- tools.miniframe.com.br/compress-pdfUse when a PDF is too large to email, upload or attach — Ghostscript compression an agent sandbox cannot run on its own. Send it either as JSON {pdf_base64} or as the raw PDF body (Content-Type: application/pdf), up to 30 MB. Optional query param mode=light|balanced|max (default balanced). Returns JSON with original_size, compressed_size, reduction_percent, warnings and pdf_base64 (the compressed 0.02
- tools.miniframe.com.br/empresaUse when you need a Brazilian company profile ready to qualify a lead, not the raw registry. Looks up the CNPJ, completes the address via CEP, and adds derived flags: active, headquarters, age in years, MEI/Simples, size and risk signals. JSON body { cnpj } (14 digits). Personal fields omitted; partner tax IDs stay masked.0.02
- tools.miniframe.com.br/extractUse when you need the structured data a page already carries, not raw HTML. Renders JavaScript and returns JSON-LD, Open Graph, meta tags, headings, tables and links, plus any fields you pass as CSS selectors. JSON body { url }, optional selectors ({ name: cssSelector }). Private/internal targets are blocked.0.02
- tools.miniframe.com.br/screenshotUse when the user needs to see a page as it actually renders — visual proof, a preview, a layout check, or a record of what a page showed. Takes a screenshot with a headless browser (rendering JavaScript). JSON body { url } (public http/https); optional full_page (default false), width (320–2000, default 1280), height (240–2000, default 800), format png|jpeg (default png). Returns image_base64. Pr0.03
- tools.miniframe.com.br/taxas-bcbUse for anything needing an up-to-date Brazilian benchmark rate: pricing a loan, indexing a contract, converting USD/BRL. No body required. Returns Selic (Copom policy rate), CDI (interbank rate) and USD/BRL (PTAX sell rate), each with its reference date, straight from the BCB's own SGS API.0.005
- tools.miniframe.com.br/url-to-markdownUse when a page will not read correctly with a plain fetch — a single-page app, content loaded by JavaScript, or markup so noisy the text is buried. Fetches it with a headless browser (rendering JavaScript) and returns the main readable content as clean Markdown — ideal to feed an LLM as context. JSON body { url } (public http/https), optional include_images (default false). Returns title, final_u0.02
