# skill-audit API – PDF Extraction

> skill-audit API – PDF Extraction is a paid API for AI agents from eltociear-skill-audit.hf.space, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-27).

Extracts full text content from a PDF file at a given URL, returning page-by-page text and metadata

## Facts

- Endpoint: POST https://eltociear-skill-audit.hf.space/pdf?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/skill-audit-api-pdf-extraction-45a88288
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_95TddaGK0Kauw6QhEF_87

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 skill-audit-api-pdf-extraction-45a88288 -d '<json body>'
```

Example prompt: Can you extract all the text from this PDF paper at https://example.com/paper.pdf and tell me how many pages and words it contains?

## When to prefer this

Use this endpoint when you need to programmatically extract plain text from a remotely hosted PDF document, especially research papers or reports. It returns structured metadata (page count, word count) alongside the text. Prefer this over generic web scrapers when the target is specifically a PDF file rather than an HTML page.

## Known failure modes

- URL is inaccessible or returns a non-PDF file, causing extraction failure
- Password-protected or encrypted PDFs may return empty or incomplete text
- Very large PDFs may time out or return partial results
- Scanned/image-only PDFs without OCR layer will return minimal or no text
- Invalid or malformed URL returns an error response

## How this service works

Fetch a PDF by URL and return its text as Markdown-ish plain text, page by page

## Output

Returns a JSON object containing the URL of the PDF, the full extracted text (formatted with page headings), the total number of pages, the total word count, and the number of successfully extracted pages.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "PDF to fetch and extract"
  },
  "max_pages": {
   "type": "integer",
   "description": "Page cap (default 50)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "url": "https://example.com/paper.pdf",
  "text": "# Page 1\n\n…",
  "pages": 12,
  "word_count": 4200,
  "extracted_pages": 12
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/skill-audit-api-pdf-extraction-45a88288/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from eltociear-skill-audit.hf.space](https://www.zero.xyz/host/eltociear-skill-audit.hf.space/llms.txt)
