pdfpeek (Tanod) PDF resize
pdfpeek (Tanod) PDF resize: pages scaled to A4, Letter, Legal or a custom size.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
406 msmedian answer time
$0.005listed price per call
$0.005price it asked us
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://tanod.dev/v1/pdf/resize
| Category | Everything else |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 2 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.005 | 406 ms |
Example input (from the provider)
{
"body": {
"pages": "1-2",
"size": "a4",
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf"
},
"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": {
"height": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 1000000,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "size=custom: the other side, in `unit` (each side 36 to 14,400 pt)."
},
"mode": {
"default": "fit",
"description": "fit (default): the whole page inside the new one, centred, aspect ratio kept; fill: the new page covered, aspect ratio kept, the overflow cut off; stretch: the page forced to the new size.",
"enum": [
"fit",
"fill",
"stretch"
],
"type": "string"
},
"orientation": {
"default": "auto",
"description": "auto (default): each page keeps its orientation; or force portrait or landscape (the longer side of the size is vertical or horizontal).",
"enum": [
"auto",
"portrait",
"landscape"
],
"type": "string"
},
"pages": {
"anyOf": [
{
"maxLength": 200,
"minLength": 1,
"pattern": "^[0-9a-zA-Z ,\\-]+$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Pages to resize (default all), e.g. 1-3,5."
},
"pdf_base64": {
"anyOf": [
{
"maxLength": 13398872,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The PDF as base64 (at most 10 MB decoded per request); or use url."
},
"size": {
"description": "a4 (595.28 x 841.89 pt), letter (612 x 792), legal (612 x 1008) or custom (then width and height).",
"enum": [
"a4",
"letter",
"legal",
"custom"
],
"type": "string"
},
"unit": {
"default": "pt",
"description": "Unit of width and height: pt (default), mm or in.",
"enum": [
"pt",
"mm",
"in"
],
"type": "string"
},
"url": {
"anyOf": [
{
"maxLength": 2048,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Public http(s) URL of the PDF (at most 20 MB; private, internal and IP-literal hosts are refused); or use pdf_base64."
},
"width": {
"anyOf": [
{
"exclusiveMinimum": 0,
"maximum": 1000000,
"type": "number"
},
{
"type": "null"
}
],
"default": null,
"description": "size=custom: one side of the page, in `unit`."
}
},
"required": [
"size"
],
"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"
},
"name": {
"type": "string"
},
"pages": {
"type": "integer"
}
},
"required": [
"name",
"content_type",
"bytes",
"data_base64"
],
"type": "object"
},
"input_bytes": {
"type": "integer"
},
"input_pages": {
"type": "integer"
},
"mode": {
"type": "string"
},
"operation": {
"type": "string"
},
"output_bytes": {
"type": "integer"
},
"resized_pages": {
"type": "integer"
},
"size": {
"type": "string"
},
"sizes": {
"items": {
"properties": {
"height_pt": {
"type": "numbe