LDX hub provides AI-powered document processing APIs including StructFlow (unstructured text to structured JSON), RefineLoop (XLIFF translation quality refinement), RenderOCR (OCR conversion of PDF and images to editable Office formats with layout and formatting preservation), CastDoc (high-fidelity PDF-to-Office conversion without OCR), and ExtractDoc (fast text extraction from documents in reading order, designed as a preprocessing step for downstream AI pipelines).
Authentication
Send your API key in the Authorization header as a Bearer token.
Code
Access keys are available after subscription via the Developer Portal.
Public endpoints (no authentication required)
The following metadata endpoints are publicly accessible without authentication when accessed via HTTP API, designed for dynamic discovery in workflow tools (e.g., n8n, Dify):
GET /structflow/modelsGET /refineloop/modelsGET /renderocr/enginesGET /castdoc/enginesGET /extractdoc/engines
MCP Server
LDX hub provides an MCP (Model Context Protocol) endpoint at POST /mcp for AI tool integration (e.g., Claude Desktop).
All operations via the MCP server require authentication, regardless of the HTTP API auth tier above.
Asynchronous Processing
All jobs are processed asynchronously.
- Upload a file if needed via
POST /files - Submit a job → receive a
job_id - Poll
GET /{service}/jobs/{job_id}untilstatusiscompletedorfailed
Job Status
| Status | Description |
|---|---|
queued | Job accepted and waiting to be processed |
processing | Job is currently being processed |
completed | Job finished successfully |
failed | Job failed before processing started |
Billing
Usage is measured in credits. Each credit costs $0.0001. Credit consumption varies by service, AI engine, and data volume. See LDX hub Pricing for details.

