mirrored listing x402 eip155:8453

Use when a PDF is too large to email, upload or attach — Ghostscript compression an agent

Use 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 file).

Do you run tools.miniframe.com.br? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
20000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-31
updated

Provider

tools.miniframe.com.br · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x879933456986877f5d87e6ee24d1e0ebd264f527",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "mode": "balanced",
          "pdf_base64": "JVBERi0xLjQK..."
        },
        "bodyType": "json",
        "method": "POST",
        "type": "http"
      },
      "output": {
        "example": {
          "compressed_size": 210000,
          "mode": "balanced",
          "original_size": 500000,
          "pdf_base64": "JVBERi0xLjUK...",
          "reduction_percent": 58,
          "warnings": []
        },
        "type": "json"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "properties": {
                "mode": {
                  "description": "Compression mode (query param, optional, default balanced).",
                  "enum": [
                    "light",
                    "balanced",
                    "max"
                  ],
                  "type": "string"
                },
                "pdf_base64": {
                  "description": "The PDF file encoded in base64 (JSON body). Max 30 MB decoded.",
                  "type": "string"
                }
              },
              "required": [
                "pdf_base64"
              ]
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        },
        "output": {
          "properties": {
            "example": {
              "type": "object"
            },
            "type": {
              "type": "string"
            }
          },
          "required": [
            "type"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://tools.miniframe.com.br/compress-pdf"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://tools.miniframe.com.br/compress-pdf");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://tools.miniframe.com.br/compress-pdf")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/4757.json, and this resource appears in /discovery/resources and /discovery/search.