ShrinkWise
ShrinkWise. Renders one self-contained UTF-8 HTML file (up to 5 MiB) to PDF in headless Chrome: print CSS, @page, page breaks, flex/grid, SVG, data: URI images/fonts. A4/Letter/Legal/A3/A5, landscape, margins. External URLs are blocked and reported. JavaScript is off by default; when enabled, scripts run without network access except best-effort WebRTC blocking. Up to 50 pages/25 MB. Batches: 10 files/200 MB, paid per file. Price: 0.01 USDC per file. Setup: https://api.shrinkwise.io/guide
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://api.shrinkwise.io/v1/convert/html-to-pdf
| Category | Image and media |
|---|---|
| Provider host | api.shrinkwise.io |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | no answer | |||
| 2026-11-25 | valid payment request | 402 | $0.01 | 30 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 25 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 45 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 28 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 127 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 47 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 47 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 28 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 21 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 31 ms |
Example input (from the provider)
{
"body": {
"javascript": false,
"job": "00000000-0000-4000-8000-000000000001",
"landscape": false,
"margin": 10,
"media": "print",
"mode": "render",
"pageSize": "A4",
"printBackground": true,
"sha256": "0000000000000000000000000000000000000000000000000000000000000000"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"javascript": {
"description": "Optional check of whether inline scripts run, selected at creation. JavaScript is off by default; when enabled, scripts run without network access except best-effort WebRTC blocking.",
"type": "boolean"
},
"job": {
"description": "Ready file job ID returned by POST /v1/jobs or jobs[index].id from POST /v1/batches. File bytes must first be uploaded to /v1/jobs/{id}/input. Authorization uses that child's token, not the batch token. Full setup: https://api.shrinkwise.io/guide",
"format": "uuid",
"type": "string"
},
"landscape": {
"description": "Optional check of the orientation selected at creation (default false).",
"type": "boolean"
},
"margin": {
"description": "Optional check of the page margin in millimetres selected at creation (default 10). CSS @page margins take precedence.",
"maximum": 50,
"minimum": 0,
"type": "integer"
},
"media": {
"description": "Optional check of the emulated CSS media type selected at creation (default print).",
"enum": [
"print",
"screen"
],
"type": "string"
},
"mode": {
"description": "Optional check of the mode already selected at creation. Extraction uses extract; PDF compression uses safe/aggressive; image compression uses auto/exact; conversion uses auto. It cannot change a prepared job.",
"enum": [
"render"
],
"type": "string"
},
"pageSize": {
"description": "Optional check of the paper size selected at job creation (default A4). A CSS @page size in the document takes precedence.",
"enum": [
"A4",
"Letter",
"Legal",
"A3",
"A5"
],
"type": "string"
},
"printBackground": {
"description": "Optional check of background printing selected at creation (default true).",
"type": "boolean"
},
"sha256": {
"description": "Optional integrity check: the exact SHA-256 returned by upload inspection. A mismatch is rejected before payment. This does not upload or select a file.",
"pattern": "^[a-f0-9]{64}$",
"type": "string"
}
},
"required": [
"job"
],
"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": {
"additionalProperties": true,
"properties": {
"backgroundResult": {
"description": "Background removal summary after completion: subject box, coverage, tiles used and review warnings.",
"type": "object"
},
"documentType": {
"enum": [
"auto",
"commercial_invoice",
"packing_list"
],
"type": "string"
},
"expiresAt": {
"type": "string"
},
"format": {
"type": "string"
},
"htmlPdfResult": {
"additionalProperties": false,
"description": "HTML to PDF summary after completion: rendered page count, refused network requests/navigations and warnings.",
"properties": {
"blockedRequests": {
"description": "External requests and navigations refused while rendering; the PDF was produced without them.",
"minimum": 0,
"type": "integer"
},
"pages": {
"maximum": 50,
"minimum": 1,
"type": "integer"
},
"warnings": {
"items": {
"enum": [
"EXTERNAL_RESOURCES_BLOCKED",
"NAVIGATION_BLOCKED",
"POPUP_BLOCKED",
"SCRIPT_ERRORS"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"pages",
"blockedRequests",
"warnings"
],
"type": "object"
},
"id": {
"format": "uuid",
"type": "string"
},
"mode": {
"type": "string"
},
"outputFormat": {
"description": "Actual result format; selected at creation for conversions.",
"type": "string"
},
"receipt": {
"description": "Confirmed Base USDC receipt. A paid retry returns the same receipt without another settlement.",
"type": "object"
},
"result": {
"description": "Authenti