Skip to main content
Before choosing an integration path, clarify your use case. SoMark offers multiple ways to integrate: direct HTTP interface, terminal scripts, code libraries, agent platform tools, and MCP client integration.

Available integration paths

SoMark API

Direct HTTP integration.

SoMark CLI

Best for terminals, scripts, and batch jobs.

SoMark SDK

Best for apps, services, and code integration.

SoMark Skill

Best for Skill-based agent platforms.

SoMark MCP

Best for MCP-based AI clients.

Scenarios and integration paths

ScenarioRecommendedDetails
Need fine-grained API controlSoMark APIStandard low-level interface. API fields are the source of truth.
Need quick validation or batch tasksSoMark CLIUse directly from the command line without writing application code.
Need integration in a Python or JavaScript appSoMark SDKPurpose-built for engineering integration, with retry logic, timeouts, and dependency management.
Need integration in an agent workflowSoMark SkillAligns with platform workflow patterns and reduces wrapper code.
Need direct use from an MCP clientSoMark MCPPurpose-built for MCP client integration with natural-language commands.

Sync vs. async parsing

SoMark supports both sync and async parsing modes. Choose based on your processing scenario and file size.
ScenarioRecommendedDetails
Need immediate results with small files (< 30MB)Sync parsingReturns results immediately in a single request. Best for real-time feedback.
Processing large files or batch documents (> 30MB)Async parsingSubmit job and query results later. Best for long-running processing.