Tesseract with German + English models. Output: searchable PDF (text layer under the scan), plain text, or JSON per page. Billed per page – the price scales with the work.
Get a key first – no signup: curl -X POST https://api.bigapi.dev/v1/keys (100 free operations, 7 days).
curl -X POST https://api.bigapi.dev/v1/ocr -H 'Authorization: Bearer $KEY' -F 'file=@scan.pdf' -F 'lang=deu+eng' -F 'output=pdf' -o searchable.pdf
Add BiGapi to Claude Desktop, Cursor or any MCP client – the server fetches its own key on first use:
{
"mcpServers": {
"bigapi": { "command": "npx", "args": ["-y", "@bigapi/mcp"] }
}
}
Then simply ask: “OCR this scanned PDF and give me the plain text.” – the model calls the ocr tool.
| Param | Type | Required | Notes |
|---|---|---|---|
file | file | yes | Scanned PDF or image (PNG, JPEG, TIFF). |
lang | string | no | Tesseract language codes, e.g. deu, eng, deu+eng. – default deu+eng |
output | string | no | Searchable PDF, plain text, or JSON with text per page. – one of pdf, text, json · default pdf |
dpi | integer | no | Rasterisation DPI for PDF input (100–600). – default 300 |
X-BigAPI-Cost)Idempotency-Key are free · prepaid credit from $5, never expires.Every response carries X-BigAPI-Cost, X-BigAPI-Balance and X-BigAPI-Free-Ops – your agent can budget on its own; X-BigAPI-Pages reports the page count.
| Status | Meaning | Agent action |
|---|---|---|
401 | missing/invalid key | POST /v1/keys for a fresh one |
402 | credit exhausted | show the upgrade_url from the response to a human |
413 | file too large | split the input (limit 100 MB) |
422 | conversion failed | check the detail field – costs $0 |
429 | rate limited | wait retry_after seconds |
deu, eng or deu+eng (default). More on request – the demand log decides.
1 cent per page. A 12-page scan costs 12¢; the exact amount is in X-BigAPI-Cost.
{"pages":[{"page":1,"text":"…"}]} – ideal for feeding a model page by page.