# Lone Star Oracle Document Converter

> Lone Star Oracle Document Converter is a paid API for AI agents from doc.lonestaroracle.xyz, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Converts any URL (PDF, webpage, or Google Doc) to clean Markdown, with an optional AI-generated summary, for $0.05 USDC per conversion.

## Facts

- Endpoint: POST https://doc.lonestaroracle.xyz/convert
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lone-star-oracle-document-converter-f40e75ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NUkqGF3tMk_NG1LDAc5YZ

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 lone-star-oracle-document-converter-f40e75ad -d '<json body>'
```

Example prompt: Can you convert this PDF URL to clean Markdown and give me an AI summary of it? Here's the link: https://example.com/report.pdf

## When to prefer this

Choose this endpoint when you need to convert a remote document URL (PDF, webpage, or Google Doc) into clean, processable Markdown in a single step — especially when you also want an optional AI summary. Ideal for agent pipelines that need structured text from unstructured web documents without building a custom scraper or parser. The $0.05/call micropayment model via x402 on Base makes it practical for per-document billing without subscriptions.

## Known failure modes

- URL is inaccessible or returns a non-200 status
- PDF is password-protected or encrypted
- URL points to unsupported content type (e.g. video, audio)
- Google Doc is not publicly accessible
- Payment fails or USDC balance is insufficient
- Document is too large to process within limits
- URL is malformed or invalid

## How this service works

Converts any URL (PDF, webpage, Google Doc) to clean Markdown with optional AI summary. $0.05/convert via x402 on Base.

## Output

Returns the document content from the provided URL rendered as clean Markdown text. If the AI summary option is enabled, also returns a concise natural-language summary of the document's content.

## Request schema (JSON Schema)

```json
{
 "name": "DocEdge — Document Intelligence",
 "tags": [
  "documents",
  "pdf",
  "docx",
  "html",
  "markdown"
 ],
 "type": "object",
 "version": "1.0.0",
 "category": "ai",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {},
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 },
 "description": "Converts any URL (PDF, webpage, Google Doc) to clean Markdown with optional AI summary. $0.05/convert via x402 on Base."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lone-star-oracle-document-converter-f40e75ad/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from doc.lonestaroracle.xyz](https://www.zero.xyz/host/doc.lonestaroracle.xyz/llms.txt)
