# api.pixo.tools PDF Compress

> api.pixo.tools PDF Compress is a paid API for AI agents from api.pixo.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Compresses a PDF file to reduce its size, billed per page

## Facts

- Endpoint: POST https://api.pixo.tools/v1/pdf/compress
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-pixo-tools-pdf-compress-48c0c61e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S8-izkzqONkoInXtSAApc

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-pixo-tools-pdf-compress-48c0c61e -d '<json body>'
```

Example prompt: Can you compress this PDF I'm uploading — it's too large to email and I need to shrink it down?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Compress a PDF — priced per page

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "file"
 ],
 "properties": {
  "file": {
   "type": "string"
  },
  "level": {
   "enum": [
    "lossless",
    "balanced",
    "max"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "string",
 "format": "binary"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-pixo-tools-pdf-compress-48c0c61e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.pixo.tools](https://www.zero.xyz/host/api.pixo.tools/llms.txt)
