# parseapi.info Document Parser

> parseapi.info Document Parser is a paid API for AI agents from parseapi.info, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Parses documents (PDF, DOCX, PPTX, CSV/XLSX, HTML, EML, MSG, LOG) into token-compressed structured representations

## Facts

- Endpoint: POST https://parseapi.info/parse/document?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/parseapi-info-document-parser-33481de9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q8RxGR2OAAb0AxgyOxbTK

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 parseapi-info-document-parser-33481de9 -d '<json body>'
```

Example prompt: Can you parse this PDF for me and give me back a structured, token-compressed version of its content so I can feed it into my pipeline?

## When to prefer this

Choose this endpoint when you need to convert office documents, PDFs, emails, spreadsheets, or log files into AI-ready structured content. Especially useful when token efficiency matters and you need structured output rather than raw text dumps. Prefer over OCR endpoints for text-native formats like DOCX or PPTX.

## Known failure modes

- Unsupported file type returns an error indicating the document format is not accepted
- Corrupted or malformed files may fail to parse and return a parsing error
- Oversized documents may time out or return partial results
- Incorrectly specified bodyType (json/form-data/text) may cause request rejection
- Network or payment (x402) failures result in no response or 402 Payment Required

## How this service works

Parse a document (PDF, DOCX, PPTX, CSV/XLSX, HTML, EML, MSG, LOG) into token-compressed structure

## Output

Returns a token-compressed structured representation of the input document, including parsed text, sections, metadata, and document structure in a format optimized for downstream AI or programmatic processing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/parseapi-info-document-parser-33481de9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from parseapi.info](https://www.zero.xyz/host/parseapi.info/llms.txt)
