Skip to main content
POST
/
dashboard
/
api
/
v1
/
ocr
/
gtin
Extract GTINs from a product photo via Bedrock Vision
curl --request POST \
  --url https://www.closient.com/dashboard/api/v1/ocr/gtin \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form image='@example-file'
{
  "candidates": [
    "<string>"
  ],
  "source": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data
image
file
required

Product photo to scan for GTINs

Response

200 - application/json

OK

Response with validated GTIN candidates from OCR.

candidates
string[]
required
source
string
required