{"uid":"cap_S8-izkzqONkoInXtSAApc","slug":"api-pixo-tools-pdf-compress-48c0c61e","name":"api.pixo.tools PDF Compress","description":"Compress a PDF — priced per page","url":"https://api.pixo.tools/v1/pdf/compress","method":"POST","headers":{},"bodySchema":{"type":"object","required":["file"],"properties":{"file":{"type":"string"},"level":{"enum":["lossless","balanced","max"],"type":"string"}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OUhEgZtcnq6YoWODWjz9o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compresses a PDF file to reduce its size, billed per page","exampleAgentPrompt":"Can you compress this PDF I'm uploading — it's too large to email and I need to shrink it down?","exampleUseCases":null,"resultDescription":"A compressed version of the uploaded PDF file, returned as binary. The resulting file is smaller than the input while preserving document content. Pricing is per page of the uploaded PDF.","failureModes":["Invalid or corrupt PDF file upload returns an error","Non-PDF binary file submitted returns format rejection","Network timeout for very large PDFs","Insufficient USDC payment (x402 payment required per call)","Empty or missing file field returns validation error"],"whenToPreferThis":"Use this endpoint when you need to reduce the file size of an existing PDF document. Prefer this over merge-and-compress if you are working with a single file. Choose this over image compression for PDF-specific documents. Ideal for automating document optimization pipelines where PDFs need to be emailed, stored, or transferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:05.246Z","isFirstParty":false}