{"name":"MiniFrame Tools","description":"The Brazilian toolkit for AI agents: generate Pix payment codes, resolve CEP postal codes to full addresses, and look up companies in the CNPJ registry — with automatic fallback between official sources so a single upstream outage does not break the call. Also covers what an agent sandbox cannot do on its own: rendering JavaScript-heavy pages to clean Markdown, screenshots or PDF, and Ghostscript PDF compression. Billed per call, starting at half a cent, with no subscription.","tools":[{"endpoint":"POST /compress-pdf","price":"$0.02","description":"Compress a PDF file. Send the PDF as raw body (application/pdf) or JSON {pdf_base64}. Optional query param mode=light|balanced|max. Returns JSON with sizes, warnings and the compressed PDF as base64."},{"endpoint":"POST /pix/brcode","price":"$0.01","description":"Generate a Brazilian Pix payment code. Pix is Brazil's instant-payment system; this returns the BR Code (the \"Copia e Cola\" EMV string any Brazilian bank app can pay) plus a QR PNG. JSON body: key, merchant_name (required); amount, merchant_city, txid, description (optional). Returns brcode and qr_png_base64."},{"endpoint":"POST /cep","price":"$0.005","description":"Look up a Brazilian address by CEP (postal code). JSON body: { cep }. Returns street, neighborhood, city and state. Backed by BrasilAPI with ViaCEP fallback."},{"endpoint":"POST /cnpj","price":"$0.01","description":"Look up a Brazilian company by CNPJ (public registry). JSON body: { cnpj }. Returns registration data (name, status, address, activities, share capital) plus the public partner list (QSA) with masked tax IDs. Business-verification use only."},{"endpoint":"POST /url-to-markdown","price":"$0.02","description":"Fetch a web page (rendering JavaScript) and return its main readable content as clean Markdown — ideal as LLM context. JSON body: { url, include_images? }. Returns title, markdown, final_url and word_count."},{"endpoint":"POST /screenshot","price":"$0.03","description":"Take a screenshot of a web page (rendering JavaScript). JSON body: { url, full_page?, width?, height?, format? }. Returns the image as base64 (PNG or JPEG)."},{"endpoint":"POST /url-to-pdf","price":"$0.03","description":"Render a web page (running JavaScript) and return it as a PDF. JSON body: { url, format?, landscape? }. Returns the PDF as base64."},{"endpoint":"POST /extract","price":"$0.02","description":"Extract the structured data a web page already exposes — JSON-LD/schema.org, Open Graph, meta tags, headings, tables and links — plus any fields you pass as CSS selectors. Renders JavaScript first. JSON body: { url, selectors? }."},{"endpoint":"POST /empresa","price":"$0.02","description":"Consolidated Brazilian company profile to qualify a lead: registry data + address completed via CEP + derived flags (active, headquarters, age, MEI/Simples, size, risk). JSON body: { cnpj }. Personal fields omitted, partner tax IDs masked."}],"payment":{"protocol":"x402","network":"base"}}