Skip to main content
The SoMark document parsing and PDF-to-Office APIs bill by the page.

Free usage rules

You can use your account’s free quota as soon as you have an API key. Document parsing and PDF-to-Office conversion share this quota.

How it works

  1. The API uses free quota first.
  2. When you reach the daily free limit of 500 pages, the API starts using paid quota.
  3. When you reach the monthly free limit of 2000 pages, the API starts using paid quota.
Use the Usage query endpoint to check your remaining free and paid quota.

How quota is deducted

  • Failed tasks. Document parsing deducts pages only when it returns a result. A failed parsing task that returns no result or a failed PDF-to-Office conversion does not consume quota.
  • Tasks that exceed your remaining free quota. The API uses any remaining free pages first, then deducts the rest from your paid quota. For example, if you have 3 free pages available and successfully process a 10-page PDF, the API deducts 3 free pages and 7 paid pages.
  • Async queries. Checking the status or result for the same task_id does not deduct any additional pages.

Buy and view paid quota

Growth offers prepaid page bundles. Page counts and prices depend on the bundle you buy. SoMark pricing You can use paid quota until your plan expires. Check the remaining pages and expiry date for each order in the API workbench under Purchase records. Buy quota and view orders

Check usage and handle insufficient quota

The POST /usage response includes the following fields. If a parsing request returns 1108, purchase an active plan. If it returns 1123, check the remaining pages in your plan and add quota before retrying. API error codes