get_balance
Check remaining OCR page balance before processing large PDFs. View free, contract, and Page Pack pages to confirm available capacity and find where to buy more.
Instructions
Get how many pages the FastOCR account can still process. Costs no pages.
Documents spend free pages first (they reset monthly), then contract pages, then Page Packs. pages_remaining counts the Page Packs only, so add the free and contract pages for the total. contract_* are omitted without an API contract. statement_pages_remaining is a separate balance that OCR does not spend. Check this before OCRing a large PDF; buy_pages_url is where to add pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |