# Mart402 PDF Info

> Mart402 PDF Info is a paid API for AI agents from mart402.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Returns page count, metadata, per-page text volume, and scanned-vs-digital estimate for a PDF before committing to full parsing

## Facts

- Endpoint: POST https://mart402.com/v1/pdf-info?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mart402-pdf-info-f1334061
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oA_THxLdZe-uEP3v7PBTd

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 mart402-pdf-info-f1334061 -d '<json body>'
```

Example prompt: Before I pay to parse this PDF, can you check how many pages it has, whether it's scanned or has real text, and how much text is on each page? The file is at https://example.com/report.pdf

## When to prefer this

Use this endpoint when you need to cheaply inspect a PDF's properties before committing to more expensive parsing, OCR, or extraction operations. Ideal for pre-screening pipelines where you want to filter out scanned, empty, or overly large documents, or when you simply need page count and metadata without full text extraction. At $0.001/call it is far cheaper than running a full parse just to discover basic structure.

## Known failure modes

- URL is unreachable or returns a non-200 response — endpoint cannot fetch the file
- URL points to a non-PDF file — parsing fails with format error
- PDF is password-protected — metadata and text extraction blocked
- Very large PDF may time out before analysis completes
- Corrupted or malformed PDF structure causes parsing failure

## How this service works

PDF facts before you pay for parsing: page count, metadata, per-page text volume, scanned-or-not estimate. 0.001/call.

## Output

Returns structured data including total page count, embedded PDF metadata (title, author, creation date, etc.), per-page text volume estimates, and a classification of whether the PDF contains selectable digital text or is a scanned image document.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mart402-pdf-info-f1334061/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mart402.com](https://www.zero.xyz/host/mart402.com/llms.txt)
