Read text from images and PDFs. Multilingual โ no language setting needed.
| Tool | What it does | Docs |
|---|---|---|
ocr_document | Text from images | Full docs โ |
ocr_pdf | Text from PDFs | Full docs โ |
curl -X POST https://api.serp-base.com/v1/query \
-H "Content-Type: application/json" \
-d '{"tool": "ocr_document", "image": "<base64-encoded-image>"}'
| Field | Description |
|---|---|
image / pdf | Base64-encoded file |
pages | Page range for PDF |
{
"text": "INVOICE #1047 ...",
"pages": 1,
"language": "auto"
}
Pay-per-request data APIs. Built for agents and developers.