Api Endpoint

Puptra PDF Snapshot

Render a URL or HTML to PDF with Puppeteer's page.pdf() options (format letter by default, scale, margins, header/footer templates, printBackground, pageRanges).

Open interactive test console

Offering

Provider
puptra-pdf-snapshot.saastemly.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://puptra-pdf-snapshot.saastemly.com/v1/pdf
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
pdf, screenshot, puppeteer, headless-browser, rendering

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "payTo": "0x274Ee965605473bC9C70Ec976fA0Dd1DD8bC3A04"
  }
]

Observed health

Status
Unreachable
Latest latency
0 ms
Average latency
11 ms
HTTP status
Not provided
Last checked
Reachability
21.4% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "gotoOptions": {
      "waitUntil": "networkidle0"
    },
    "pdfOptions": {
      "format": "a4",
      "printBackground": true
    },
    "url": "https://example.com/"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "properties": {
            "addScriptTag": {
              "description": "[{content|url}]",
              "type": "array"
            },
            "addStyleTag": {
              "description": "[{content|url}]",
              "type": "array"
            },
            "allowRequestPattern": {
              "type": "array"
            },
            "allowResourceTypes": {
              "type": "array"
            },
            "authenticate": {
              "description": "{username,password}",
              "type": "object"
            },
            "bestAttempt": {
              "description": "Proceed when awaited events fail or time out",
              "type": "boolean"
            },
            "cookies": {
              "description": "Cookies to set before loading",
              "type": "array"
            },
            "deliver": {
              "description": "{store: \"1d\"|\"7d\"|\"30d\"|\"365d\", name?}: keep the PDF in file storage and answer with metadata instead of bytes",
              "type": "object"
            },
            "emulateMediaType": {
              "description": "screen|print",
              "type": "string"
            },
            "gotoOptions": {
              "description": "{waitUntil: load|domcontentloaded|networkidle0|networkidle2, timeout}",
              "type": "object"
            },
            "html": {
              "description": "HTML to render instead of a URL.",
              "type": "string"
            },
            "pdfOptions": {
              "description": "Puppeteer page.pdf() options as documented at pptr.dev/api/puppeteer.pdfoptions.",
              "properties": {
                "displayHeaderFooter": {
                  "type": "boolean"
                },
                "footerTemplate": {
                  "type": "string"
                },
                "format": {
                  "description": "letter|legal|tabloid|ledger|a0|a1|a2|a3|a4|a5|a6 (default letter)",
                  "type": "string"
                },
                "headerTemplate": {
                  "description": "HTML with date/title/url/pageNumber/totalPages classes",
                  "type": "string"
                },
                "height": {
                  "description": "Paper height, e.g. \"11in\"",
                  "type": "string"
                },
                "landscape": {
                  "type": "boolean"
                },
                "margin": {
                  "description": "{top,bottom,left,right}",
                  "type": "object"
                },
                "omitBackground": {
                  "type": "boolean"
                },
                "outline": {
                  "type": "boolean"
                },
                "pageRanges": {
                  "description": "e.g. \"1-5, 8, 11-13\"",
                  "type": "string"
                },
                "preferCSSPageSize": {
                  "type": "boolean"
                },
                "printBackground": {
                  "type": "boolean"
                },
                "scale": {
                  "description": "0.1-2, default 1",
                  "type": "number"
                },
                "tagged": {
                  "type": "boolean"
                },
                "timeout": {
                  "description": "0-60000 ms, default 30000",
                  "type": "number"
                },
                "width": {
                  "description": "Paper width, e.g. \"8.5in\"",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "rejectRequestPattern": {
              "type": "array"
            },
            "rejectResourceTypes": {
              "description": "e.g. [\"image\"]",
              "type": "array"
            },
            "setExtraHTTPHeaders": {
              "description": "Extra HTTP headers",
              "type": "object"
            },
            "setJavaScriptEnabled": {
              "type": "boolean"
            },
            "url": {
              "description": "The page to render (https). Set url or html, not both.",
              "type": "string"
            },
            "userAgent": {
              "type": "string"
            },
            "viewport": {
              "description": "{width,height,deviceScaleFactor,isMobile,hasTouch,isLandscape}; default 1920x1080",
              "type": "object"
            },
            "waitForSelector": {
              "description": "{selector, visible?, hidden?, timeout}",
              "type": "object"
            },
            "waitForTimeout": {
              "description": "Extra wait in ms (0-120000)",
              "type": "number"
            }
          },
          "required": [],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "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"
}