← Back to directory

Repair a damaged PDF (rebuild its structure; optional fast web view) (Tanod)

https://tanod.dev/v1/pdf/repair

Overview

The PDF opened with qpdf's recovery (a missing or wrong cross-reference table, a cut-off file, junk before the header) and written again as a sound file, with what qpdf reports as `warnings` (and `repaired` / `reconstructed`); `linearize: true` also writes it for fast web view. It rebuilds the structure, not damaged page data: a stream that cannot be decoded stays as it is. Body: `{"url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", "linearize":

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network Base
Category tools/documents
Provider tanod
Source bazaar
Indexed 2026-10-09 05:31:09

Health

Status healthy
Latency (p50) 1048ms
Uptime (30d) 100.0%
Reliability Score 85/100
Last Checked 2026-12-04 04:24:17
Last Healthy 2026-12-04 04:24:17
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "linearize": true, "url": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "bytes_after": 13730, "bytes_before": 13264, "file": { "content_type": "application/pdf", "name": "repaired.pdf" }, "input_bytes": 13264, "input_pages": 1, "linearized": true, "operation": "repair", "reconstructed": false, "repaired": false, "warning_count": 0, "warnings": [] }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-04 04:24:17 healthy 402 659ms
2026-12-03 19:47:55 healthy 402 1048ms
2026-12-03 10:17:21 healthy 402 4457ms
2026-12-02 21:56:36 healthy 402 644ms
2026-12-02 12:54:32 healthy 402 6028ms
2026-12-02 01:17:24 healthy 402 714ms