Compress a PDF by lossless restructuring or image re-encoding
Compress a PDF by lossless restructuring or image re-encoding. Use when a PDF is too large to email or upload and its file size must be reduced. Add output=url for a 24 h link.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
349 msmedian answer time
$0.01listed price per call
$0.01price 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/compress
| Category | Image and media |
|---|---|
| Provider host | tanod.dev |
| Networks | eip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.01 | 187 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 299 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 290 ms |
| 2026-11-23 | valid payment request | 402 | $0.01 | 365 ms |
| 2026-11-22 | valid payment request | 402 | $0.01 | 506 ms |
| 2026-11-21 | valid payment request | 402 | $0.01 | 349 ms |
| 2026-11-20 | valid payment request | 402 | $0.01 | 356 ms |
| 2026-11-19 | valid payment request | 402 | $0.01 | 208 ms |
| 2026-11-18 | valid payment request | 402 | $0.01 | 292 ms |
| 2026-11-17 | valid payment request | 402 | $0.01 | 255 ms |
| 2026-11-16 | valid payment request | 402 | $0.01 | 357 ms |
| 2026-11-15 | valid payment request | 402 | $0.01 | 291 ms |
| 2026-11-14 | no x402 terms | 523 | 3120 ms | |
| 2026-11-13 | valid payment request | 402 | $0.01 | 399 ms |
| 2026-11-12 | valid payment request | 402 | $0.01 | 399 ms |
| 2026-11-11 | valid payment request | 402 | $0.01 | 306 ms |
| 2026-11-10 | valid payment request | 402 | $0.01 | 262 ms |
| 2026-11-07 | valid payment request | 402 | $0.01 | 188 ms |
| 2026-11-06 | valid payment request | 402 | $0.01 | 352 ms |
| 2026-11-05 | valid payment request | 402 | $0.01 | 346 ms |
| 2026-11-04 | valid payment request | 402 | $0.01 | 311 ms |
| 2026-11-03 | valid payment request | 402 | $0.01 | 186 ms |
| 2026-11-02 | valid payment request | 402 | $0.01 | 364 ms |
| 2026-11-01 | valid payment request | 402 | $0.01 | 351 ms |
| 2026-10-31 | valid payment request | 402 | $0.01 | 256 ms |
| 2026-10-29 | valid payment request | 402 | $0.01 | 196 ms |
Example input (from the provider)
{
"body": {
"level": "extreme",
"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": {
"image_quality": {
"anyOf": [
{
"maximum": 95,
"minimum": 10,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the level's JPEG quality."
},
"level": {
"default": "recommended",
"description": "lossless: structure only; recommended: images JPEG q75 at most 150 dpi; extreme: q50 at most 96 dpi.",
"enum": [
"lossless",
"recommended",
"extreme"
],
"type": "string"
},
"max_image_dpi": {
"anyOf": [
{
"maximum": 600,
"minimum": 50,
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Override the level's image dpi ceiling."
},
"output": {
"default": "base64",
"description": "base64 (default): inline. url: stored for 24 hours; link, metadata.",
"enum": [
"base64",
"url"
],
"type": "string"
},
"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."
},
"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."
}
},
"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"
}
},
"required": [
"input"
],
"type": "object"
}