Reading Extracted Document Text

27251

Is there a REST API to read the text of a document without downloading the entire document?

  • Nah that's something you'd look to build yourself.

  • Let me be a bit clearer. When OCR is turned on for a site, all documents uploaded are automatically OCR'd. I want to access that OCR text through an API call.

  • If you inspect the network when doing a search function when you've opened the document you see calls to: "pcc.do/Document/q/0-8/Text"

     

    The content comes back like:

    However this isn't a documented API and is probably subject to change/disappear - and there doesn't appear in any documentation to be an actual /api/ endpoint for getting the OCR text for a document by ID.

  • Thomson Reuters Thomson Reuters staff member

    Chuck Rothman , Ryan McDonough is correct, we do not actually expose an API endpoint which directly gives you the formatted 'scanned' content. CC Imran Aziz (Product Manager) for an enhancement request.