# Folio Document Extraction

> Folio Document Extraction is a paid API for AI agents from d1ithbpxjsnhrn.cloudfront.net, paid per call via x402, $0.03/call, status unknown (last checked 2026-11-22).

Fetches a web page or PDF from a given URL and returns clean markdown content with metadata, stripping ads and navigation while preserving tables and headings

## Facts

- Endpoint: GET https://d1ithbpxjsnhrn.cloudfront.net/extract?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/folio-document-extraction-102cc18e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lrjlmzcG5nZGrovqqxfLT

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 folio-document-extraction-102cc18e
```

Example prompt: Can you fetch the content from https://arxiv.org/pdf/2310.06825.pdf and give me the clean text as markdown so I can read through it?

## When to prefer this

Choose Folio when you need clean, agent-ready markdown from a web page or PDF URL without managing API keys or subscriptions. It is especially well-suited for AI agent pipelines that need to ingest arbitrary documents on demand at a predictable per-call cost. Prefer it over general-purpose browser automation when you just need readable text content rather than interactive page control, and over raw HTTP fetching when you need intelligent content extraction that removes clutter and preserves document structure.

## Known failure modes

- URL is inaccessible or returns a non-200 status — extraction fails with an error
- PDF is scanned/image-only with no extractable text — returns empty or minimal content
- URL points to a non-document resource (e.g. a video or image) — unsuitable content returned
- Payment of $0.03 USDC via x402 fails — request is rejected before processing
- Paywalled or login-required pages — only publicly accessible content is extracted
- Very large documents may time out or return partial content

## How this service works

Document extraction for AI agents. Send a URL (web page or PDF) and get clean markdown with metadata. Strips navigation and ads, preserves tables and headings, extracts PDF text and properties. $0.03 USDC on Base via x402. No API key.

## Output

Clean markdown representation of the page or PDF content, including preserved tables, headings, and document structure, plus metadata such as title, description, and PDF properties like author and creation date. Navigation elements, ads, and boilerplate are stripped.

## 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",
     "properties": {}
    }
   },
   "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/folio-document-extraction-102cc18e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from d1ithbpxjsnhrn.cloudfront.net](https://www.zero.xyz/host/d1ithbpxjsnhrn.cloudfront.net/llms.txt)
