search

Search By Barcode

Lookup food by barcode (UPC/EAN). Uses local database first, then Open Food Facts.

get/api/v1/search/barcode/{upc}

Request

  • Base URL: https://calorieapiadmin.com
  • URL: https://calorieapiadmin.com/api/v1/search/barcode/{upc}
  • Auth: none declared

Path parameters

upcstring required

Headers

X-API-Keystring nullable
authorizationstring nullable

Response

Successful Response

barcodestring required
food_idinteger nullable

Changes

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