{"slug":"tanod-dev-v1-pdf-crop-de64e2","title":"pdfpeek (Tanod) PDF crop","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/pdf/crop","category":"other","description":"pdfpeek (Tanod) PDF crop: the crop box of the pages set by margins in points or percent. Use when margins must be trimmed from the pages of a PDF.","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":808,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"bottom":36,"left":36,"right":36,"top":36,"url":"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"bottom":{"default":0,"description":"Margin to cut from the bottom edge, in `unit` (default 0).","maximum":14400,"minimum":0,"type":"number"},"left":{"default":0,"description":"Margin to cut from the left edge, in `unit` (default 0).","maximum":14400,"minimum":0,"type":"number"},"pages":{"anyOf":[{"maxLength":200,"minLength":1,"pattern":"^[0-9a-zA-Z ,\\-]+$","type":"string"},{"type":"null"}],"default":null,"description":"Pages to crop (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."},"right":{"default":0,"description":"Margin to cut from the right edge, in `unit` (default 0).","maximum":14400,"minimum":0,"type":"number"},"top":{"default":0,"description":"Margin to cut from the top edge of the page as displayed, in `unit` (default 0).","maximum":14400,"minimum":0,"type":"number"},"unit":{"default":"pt","description":"pt (1/72 inch, default) or percent of the displayed page's width (left, right) and height (top, bottom).","enum":["pt","percent"],"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."}},"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"},"boxes":{"items":{"properties":{"height_pt":{"type":"number"},"page":{"type":"integer"},"scale":{"type":"number"},"width_pt":{"type":"number"}},"required":["page","width_pt","height_pt"],"type":"object"},"type":"array"},"boxes_truncated":{"type":"boolean"},"cropped_pages":{"type":"integer"},"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"},"operation":{"type":"string"},"output_bytes":{"type":"integer"},"unit":{"type":"string"},"untrusted_content":{"type":"boolean"}},"required":["operation","input_bytes","file","output_bytes","active_content_removed","untrusted_content","cropped_pages","boxes"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-10","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":808,"error":null}],"description_full":"pdfpeek (Tanod) PDF crop: the crop box of the pages set by margins in points or percent. Use when margins must be trimmed from the pages of a PDF.","last_updated":"2026-10-10T05:56:28.13Z","schemes":["exact"]}