# Agent Tools PDF to Text/Markdown

> Agent Tools PDF to Text/Markdown is a paid API for AI agents from agents.crowdspark.me, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-31).

Converts a public PDF URL (up to 20 MB) into plain text or markdown, returning content per page for RAG pipelines, summarization, and search indexing.

## Facts

- Endpoint: GET https://agents.crowdspark.me/v1/pdf/text?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tools-pdf-to-text-markdown-cb9d5641
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c5zfurVyXNmyE9tDd313S

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 agent-tools-pdf-to-text-markdown-cb9d5641
```

Example prompt: Can you extract all the text from this PDF — https://example.com/report.pdf — and return it in markdown format so I can feed it into my summarization pipeline?

## When to prefer this

Choose this endpoint when you have a public URL pointing to a PDF and need per-page text or markdown extraction quickly without storing the file. It is ideal for RAG ingestion, summarization, search indexing, and reading structured documents like reports, papers, contracts, and invoices. Prefer this over POST-based PDF endpoints when the PDF is already hosted at a public URL rather than needing to upload raw bytes.

## Known failure modes

- PDF URL is not publicly accessible or returns 4xx/5xx — extraction fails
- PDF exceeds 20 MB size limit — request rejected
- PDF is password-protected or encrypted — content cannot be extracted
- URL points to a non-PDF file — parsing error returned
- Network timeout fetching the remote PDF URL
- Malformed or corrupt PDF — may return partial content or error

## How this service works

PDF to text or markdown for RAG, summarizing, search indexing and reading reports, papers, contracts and invoices. Give a PDF URL (max 20 MB); returns text per page. format=text or markdown. Not stored.

## Output

Returns the extracted content of the PDF organized per page, in either plain text or markdown format depending on the requested format parameter. Content is not stored after the response is returned.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "url"
     ],
     "properties": {
      "url": {
       "type": "string",
       "description": "Public PDF URL"
      },
      "format": {
       "enum": [
        "text",
        "markdown"
       ],
       "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/agent-tools-pdf-to-text-markdown-cb9d5641/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.crowdspark.me](https://www.zero.xyz/host/agents.crowdspark.me/llms.txt)
