{
  "x402Version": 2,
  "id": 36664,
  "slug": "36664",
  "resource": "https://puptra-pdf-snapshot.saastemly.com/v1/pdf",
  "description": "Render a URL or HTML to PDF with Puppeteer's page.pdf() options (format letter by default, scale, margins, header/footer templates, printBackground, pageRanges).",
  "type": "http",
  "serviceName": "Puptra PDF Snapshot",
  "resourceType": "Research",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x274Ee965605473bC9C70Ec976fA0Dd1DD8bC3A04",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "gotoOptions": {
              "waitUntil": "networkidle0"
            },
            "pdfOptions": {
              "format": "a4",
              "printBackground": true
            },
            "url": "https://example.com/"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "bytes": 18234,
            "contentType": "application/pdf"
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "pdf",
    "screenshot",
    "puppeteer",
    "headless-browser",
    "rendering",
    "bazaar"
  ],
  "sourceHost": "puptra-pdf-snapshot.saastemly.com",
  "lastUpdated": "2026-10-08T16:46:14.873Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-08T16:46:14.37Z"
  },
  "metadata": {
    "serviceName": "Puptra PDF Snapshot",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "gotoOptions": {
                "waitUntil": "networkidle0"
              },
              "pdfOptions": {
                "format": "a4",
                "printBackground": true
              },
              "url": "https://example.com/"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "bytes": 18234,
              "contentType": "application/pdf"
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "puptra-pdf-snapshot.saastemly.com",
    "manifest_name": "puptra-pdf-snapshot.saastemly.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}