Ocr Url

OCR a document by URL, with page ranges and agent-safe spend guards.

post/v1/ocr/url

Request

  • Base URL: https://api.pennyocr.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pennyocr.com/v1/ocr/url
  • Auth: HTTP bearer

Request body

urlstring required
formatstring
pagesstring nullable

Page range like '1-20,25'. Default: all.

max_pagesinteger nullable

Refuse (413) if selection exceeds this.

max_cost_usdnumber nullable

Refuse (413) if cost would exceed this.

Response

Successful Response

idstring required

Request id, e.g. ocr_ab12cd34

pagesinteger required
textstring required

Full extracted text, pages joined by form feeds

cost_usdnumber required
modelstring required

Changes

No recorded changes to this operation across all 1 revision of this API.