{
  "x402Version": 2,
  "id": 35796,
  "slug": "35796",
  "resource": "https://tanod.dev/v1/pdf/html-to-pdf",
  "description": "pdfpeek (Tanod) web page to PDF: a public page printed to PDF in a sandboxed browser.",
  "type": "http",
  "serviceName": "Tanod pdfpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "active_content_removed": {
            "type": "object"
          },
          "file": {
            "properties": {
              "bytes": {
                "type": "integer"
              },
              "content_type": {
                "type": "string"
              },
              "data_base64": {
                "type": "string"
              },
              "dpi": {
                "type": "integer"
              },
              "first_page": {
                "type": "integer"
              },
              "height": {
                "type": "integer"
              },
              "last_page": {
                "type": "integer"
              },
              "name": {
                "type": "string"
              },
              "page": {
                "type": "integer"
              },
              "pages": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              }
            },
            "required": [
              "name",
              "content_type",
              "bytes",
              "data_base64"
            ],
            "type": "object"
          },
          "file_count": {
            "type": "integer"
          },
          "files": {
            "items": {
              "properties": {
                "bytes": {
                  "type": "integer"
                },
                "content_type": {
                  "type": "string"
                },
                "data_base64": {
                  "type": "string"
                },
                "dpi": {
                  "type": "integer"
                },
                "first_page": {
                  "type": "integer"
                },
                "height": {
                  "type": "integer"
                },
                "last_page": {
                  "type": "integer"
                },
                "name": {
                  "type": "string"
                },
                "page": {
                  "type": "integer"
                },
                "pages": {
                  "type": "integer"
                },
                "width": {
                  "type": "integer"
                }
              },
              "required": [
                "name",
                "content_type",
                "bytes",
                "data_base64"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "input_bytes": {
            "type": "integer"
          },
          "input_pages": {
            "type": "integer"
          },
          "landscape": {
            "type": "boolean"
          },
          "operation": {
            "type": "string"
          },
          "output_bytes": {
            "type": "integer"
          },
          "pages": {
            "type": "integer"
          },
          "paper": {
            "type": "string"
          },
          "untrusted_content": {
            "type": "boolean"
          },
          "url": {
            "type": "string"
          }
        },
        "required": [
          "operation",
          "output_bytes",
          "untrusted_content",
          "file"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "paper": "a4",
            "url": "https://example.com"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "file": {
              "bytes": 27621,
              "content_type": "application/pdf",
              "data_base64": "JVBERi0xLjQKJdPr... (trimmed: 36,828 base64 characters in the reply)",
              "name": "page.pdf",
              "pages": 1
            },
            "landscape": false,
            "operation": "html-to-pdf",
            "output_bytes": 27621,
            "pages": 1,
            "paper": "a4",
            "untrusted_content": true,
            "url": "https://example.com"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "landscape": {
                    "default": false,
                    "description": "Landscape orientation (default false: portrait).",
                    "type": "boolean"
                  },
                  "margin_mm": {
                    "additionalProperties": false,
                    "description": "Margins in mm (0-50 each, default 10).",
                    "properties": {
                      "bottom": {
                        "default": 10,
                        "maximum": 50,
                        "minimum": 0,
                        "type": "number"
                      },
                      "left": {
                        "default": 10,
                        "maximum": 50,
                        "minimum": 0,
                        "type": "number"
                      },
                      "right": {
                        "default": 10,
                        "maximum": 50,
                        "minimum": 0,
                        "type": "number"
                      },
                      "top": {
                        "default": 10,
                        "maximum": 50,
                        "minimum": 0,
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "paper": {
                    "default": "a4",
                    "description": "Paper size: a4 (default), letter, legal, a3, a5 or tabloid.",
                    "enum": [
                      "a4",
                      "letter",
                      "legal",
                      "a3",
                      "a5",
                      "tabloid"
                    ],
                    "type": "string"
                  },
                  "print_background": {
                    "default": true,
                    "description": "Print background colours and images (default true).",
                    "type": "boolean"
                  },
                  "scale": {
                    "default": 1,
                    "description": "Print scale of the page content (0.1-2.0, default 1.0).",
                    "maximum": 2,
                    "minimum": 0.1,
                    "type": "number"
                  },
                  "url": {
                    "description": "Public http(s) URL of the page to print.",
                    "maxLength": 2048,
                    "minLength": 1,
                    "type": "string"
                  },
                  "wait_ms": {
                    "default": 500,
                    "description": "Extra settle time after the load event.",
                    "maximum": 5000,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "url"
                ],
                "type": "object"
              },
              "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": {
                "properties": {
                  "active_content_removed": {
                    "type": "object"
                  },
                  "file": {
                    "properties": {
                      "bytes": {
                        "type": "integer"
                      },
                      "content_type": {
                        "type": "string"
                      },
                      "data_base64": {
                        "type": "string"
                      },
                      "dpi": {
                        "type": "integer"
                      },
                      "first_page": {
                        "type": "integer"
                      },
                      "height": {
                        "type": "integer"
                      },
                      "last_page": {
                        "type": "integer"
                      },
                      "name": {
                        "type": "string"
                      },
                      "page": {
                        "type": "integer"
                      },
                      "pages": {
                        "type": "integer"
                      },
                      "width": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "name",
                      "content_type",
                      "bytes",
                      "data_base64"
                    ],
                    "type": "object"
                  },
                  "file_count": {
                    "type": "integer"
                  },
                  "files": {
                    "items": {
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "content_type": {
                          "type": "string"
                        },
                        "data_base64": {
                          "type": "string"
                        },
                        "dpi": {
                          "type": "integer"
                        },
                        "first_page": {
                          "type": "integer"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "last_page": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "content_type",
                        "bytes",
                        "data_base64"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "input_bytes": {
                    "type": "integer"
                  },
                  "input_pages": {
                    "type": "integer"
                  },
                  "landscape": {
                    "type": "boolean"
                  },
                  "operation": {
                    "type": "string"
                  },
                  "output_bytes": {
                    "type": "integer"
                  },
                  "pages": {
                    "type": "integer"
                  },
                  "paper": {
                    "type": "string"
                  },
                  "untrusted_content": {
                    "type": "boolean"
                  },
                  "url": {
                    "type": "string"
                  }
                },
                "required": [
                  "operation",
                  "output_bytes",
                  "untrusted_content",
                  "file"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "pdfpeek",
    "pdf",
    "pdf-tools",
    "ocr",
    "documents",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-08T19:42:14.935Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T19:42:14.461Z"
  },
  "metadata": {
    "serviceName": "Tanod pdfpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "paper": "a4",
              "url": "https://example.com"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "file": {
                "bytes": 27621,
                "content_type": "application/pdf",
                "data_base64": "JVBERi0xLjQKJdPr... (trimmed: 36,828 base64 characters in the reply)",
                "name": "page.pdf",
                "pages": 1
              },
              "landscape": false,
              "operation": "html-to-pdf",
              "output_bytes": 27621,
              "pages": 1,
              "paper": "a4",
              "untrusted_content": true,
              "url": "https://example.com"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "landscape": {
                      "default": false,
                      "description": "Landscape orientation (default false: portrait).",
                      "type": "boolean"
                    },
                    "margin_mm": {
                      "additionalProperties": false,
                      "description": "Margins in mm (0-50 each, default 10).",
                      "properties": {
                        "bottom": {
                          "default": 10,
                          "maximum": 50,
                          "minimum": 0,
                          "type": "number"
                        },
                        "left": {
                          "default": 10,
                          "maximum": 50,
                          "minimum": 0,
                          "type": "number"
                        },
                        "right": {
                          "default": 10,
                          "maximum": 50,
                          "minimum": 0,
                          "type": "number"
                        },
                        "top": {
                          "default": 10,
                          "maximum": 50,
                          "minimum": 0,
                          "type": "number"
                        }
                      },
                      "type": "object"
                    },
                    "paper": {
                      "default": "a4",
                      "description": "Paper size: a4 (default), letter, legal, a3, a5 or tabloid.",
                      "enum": [
                        "a4",
                        "letter",
                        "legal",
                        "a3",
                        "a5",
                        "tabloid"
                      ],
                      "type": "string"
                    },
                    "print_background": {
                      "default": true,
                      "description": "Print background colours and images (default true).",
                      "type": "boolean"
                    },
                    "scale": {
                      "default": 1,
                      "description": "Print scale of the page content (0.1-2.0, default 1.0).",
                      "maximum": 2,
                      "minimum": 0.1,
                      "type": "number"
                    },
                    "url": {
                      "description": "Public http(s) URL of the page to print.",
                      "maxLength": 2048,
                      "minLength": 1,
                      "type": "string"
                    },
                    "wait_ms": {
                      "default": 500,
                      "description": "Extra settle time after the load event.",
                      "maximum": 5000,
                      "minimum": 0,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "url"
                  ],
                  "type": "object"
                },
                "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": {
                  "properties": {
                    "active_content_removed": {
                      "type": "object"
                    },
                    "file": {
                      "properties": {
                        "bytes": {
                          "type": "integer"
                        },
                        "content_type": {
                          "type": "string"
                        },
                        "data_base64": {
                          "type": "string"
                        },
                        "dpi": {
                          "type": "integer"
                        },
                        "first_page": {
                          "type": "integer"
                        },
                        "height": {
                          "type": "integer"
                        },
                        "last_page": {
                          "type": "integer"
                        },
                        "name": {
                          "type": "string"
                        },
                        "page": {
                          "type": "integer"
                        },
                        "pages": {
                          "type": "integer"
                        },
                        "width": {
                          "type": "integer"
                        }
                      },
                      "required": [
                        "name",
                        "content_type",
                        "bytes",
                        "data_base64"
                      ],
                      "type": "object"
                    },
                    "file_count": {
                      "type": "integer"
                    },
                    "files": {
                      "items": {
                        "properties": {
                          "bytes": {
                            "type": "integer"
                          },
                          "content_type": {
                            "type": "string"
                          },
                          "data_base64": {
                            "type": "string"
                          },
                          "dpi": {
                            "type": "integer"
                          },
                          "first_page": {
                            "type": "integer"
                          },
                          "height": {
                            "type": "integer"
                          },
                          "last_page": {
                            "type": "integer"
                          },
                          "name": {
                            "type": "string"
                          },
                          "page": {
                            "type": "integer"
                          },
                          "pages": {
                            "type": "integer"
                          },
                          "width": {
                            "type": "integer"
                          }
                        },
                        "required": [
                          "name",
                          "content_type",
                          "bytes",
                          "data_base64"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "input_bytes": {
                      "type": "integer"
                    },
                    "input_pages": {
                      "type": "integer"
                    },
                    "landscape": {
                      "type": "boolean"
                    },
                    "operation": {
                      "type": "string"
                    },
                    "output_bytes": {
                      "type": "integer"
                    },
                    "pages": {
                      "type": "integer"
                    },
                    "paper": {
                      "type": "string"
                    },
                    "untrusted_content": {
                      "type": "boolean"
                    },
                    "url": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "operation",
                    "output_bytes",
                    "untrusted_content",
                    "file"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "additionalProperties": false,
          "properties": {
            "a": {
              "description": "App builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "s": {
              "description": "Service builder codes",
              "items": {
                "pattern": "^[a-z0-9_]{1,32}$",
                "type": "string"
              },
              "maxItems": 11,
              "type": "array"
            },
            "w": {
              "description": "Wallet builder code",
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "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": {
      "active_content_removed": {},
      "file": {
        "bytes": 0,
        "content_type": "string",
        "data_base64": "string",
        "dpi": 0,
        "first_page": 0,
        "height": 0,
        "last_page": 0,
        "name": "string",
        "page": 0,
        "pages": 0,
        "width": 0
      },
      "file_count": 0,
      "files": [
        {
          "bytes": 0,
          "content_type": "string",
          "data_base64": "string",
          "dpi": 0,
          "first_page": 0,
          "height": 0,
          "last_page": 0,
          "name": "string",
          "page": 0,
          "pages": 0,
          "width": 0
        }
      ],
      "input_bytes": 0,
      "input_pages": 0,
      "landscape": true,
      "operation": "string",
      "output_bytes": 0,
      "pages": 0,
      "paper": "string",
      "untrusted_content": true,
      "url": "string"
    },
    "type": "string"
  }
}