documents
OCR Document Parsing
OCR and document parsing: turn an image or PDF into extracted text with layout hints. POST /v1/ocr with a document (or raw text) in the body and get the extracted text and metrics as one JSON object. Deterministic on clean inputs at a fixed engine version. Pay per request in USDC; no account, no API key.
post/v1/ocr-document-parsing
Request
- Base URL: https://agent.pocket.network
- URL: https://agent.pocket.network/v1/ocr-document-parsing
- Auth: none required
Request body
Response
The upstream response, served after payment settles.
object required
For POST /v1/ocr, a JSON object with the extracted text, character count (chars), and layout hints. The exact shape is the service's own and is not pinned here; errors return a JSON object with an error field, and the GET routes return their own small JSON documents.
Changes
No recorded changes to this operation across all 1 revision of this API.