# MiniFrame Tools > 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. Call any endpoint without payment to get an HTTP 402 challenge with the price and input schema, then repeat the request with the x402 payment header. ## Tools - POST /compress-pdf ($0.02): 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. - POST /pix/brcode ($0.01): 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. - POST /cep ($0.005): Look up a Brazilian address by CEP (postal code). JSON body: { cep }. Returns street, neighborhood, city and state. Backed by BrasilAPI with ViaCEP fallback. - POST /cnpj ($0.01): 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. - POST /url-to-markdown ($0.02): 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. - POST /screenshot ($0.03): 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). - POST /url-to-pdf ($0.03): Render a web page (running JavaScript) and return it as a PDF. JSON body: { url, format?, landscape? }. Returns the PDF as base64. ## Discovery - [OpenAPI spec](https://tools.miniframe.com.br/openapi.json): machine-readable contract for every tool - [Storefront](https://tryponcho.com/m/tools.miniframe.com.br): try any tool in one click