NauTritivadevelopers
Endpoints

Get a product by barcode (GTIN) or internal UUID

GET/v1/products/{identifier}

If `identifier` is a UUID it's looked up by internal id; otherwise treated as a barcode. Barcode lookups fetch from Open Food Facts on a cache miss.

Parâmetros

identifierstringpathobrigatório
countrystringquery
Optional price-country filter.

Respostas

200Product found
404Not found
curl "https://nautritiva.vercel.app/v1/products/5601234567890" \
  -H "Authorization: Bearer $NTV_KEY"
OpenAPI JSON →