POST
/
ocr
curl --request POST \
  --url https://www.norns.ai/api/v0/ocr \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "imageUrl": "<string>"
}'
{
  "success": true,
  "data": {
    "text": {
      "description": "<string>",
      "sentences": [
        {
          "text": "<string>",
          "startIndex": 123,
          "endIndex": 123
        }
      ]
    },
    "usage": 123,
    "tokenCount": 123
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Body

application/json
imageUrl
string
required

URL of the image to process (must include protocol)

Response

200
application/json
Successful OCR response
success
boolean
data
object