What you’ll achieve
- Get an API key and authenticate requests
- Send one sync parsing request and get the
mdresult - Understand the async task submission and polling workflow
- Learn quick troubleshooting methods for common errors
Get your API key
Get an API key from the SoMark workbench in the format
sk-***.No purchase is required. You can start using the API as soon as you get an API key.
See Free tier rules for free usage details.
It is recommended to validate request parameters with a test document before integrating into production.
Choose the right mode
| Mode | Endpoint | Best for |
|---|---|---|
| Sync parsing | POST /parse/sync | Small files and immediate results |
| Async submit | POST /parse/async | Large files and batch jobs |
| Async check | POST /parse/async_check | Poll status and fetch completed results |
Next
Sync parsing endpoint
View complete request parameters, defaults, and response fields.
Async parsing endpoint
Learn task submission, status polling, and failure retry strategies.

