Agent Body modelsapi generation api

agentbody/document-parse

Parse a document at an HTTPS URL into Markdown and structured content. Supports PDFs, Word documents, and other common formats. Returns page count, metadata, and full Markdown extraction.

Input
Idle

Example output — click Run to generate your own

API README

Document Parse

Parse documents from HTTPS URLs into clean Markdown with structured content extraction.

Highlights

  • Converts PDFs, Word docs, and other formats to Markdown
  • Preserves headings, tables, lists, and formatting structure
  • Optional chart analysis and table merging
  • Returns document ID for page-level retrieval via GET endpoint

Pricing

ComponentPrice
Per document parsed$0.01
Document retrieval (GET)Free

When to Use

✅ Good fit❌ Consider alternatives
Converting PDFs to Markdown for RAGLocal file uploads (URL input only)
Extracting structured data from reportsImage-only documents without OCR
Research paper analysisBase64 or multipart uploads
Contract/legal document processingReal-time document monitoring

Technical Specs

SpecValue
MethodPOST
Endpoint/v1/documents/parse
InputHTTPS document URL + filename
OutputDocument ID, page count, Markdown, metadata
RetrievalGET /v1/documents/{document_id} (free)
ExecutionSync
IdempotencyRequires Idempotency-Key header

Related Models