Search for Food by GTIN
GET /search/gtin
Searches for a singular food item based on a gtin string. Nutrient units are fixed per nutrient. See unit reference: https://newtrition-data.com/data-reference/units/
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Gtin number for the food item search
Header Parameters
Section titled “Header Parameters ”Context ID of the end user (used for analytics and weighting). If not provided, defaults to client ID.
Responses
Section titled “ Responses ”Matching food item
object
object
object
object
object
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
225.5Example
ProteineThe output units are fixed per nutrient/output! See: https://newtrition-data.com/data-reference/units/
Example
gobject
Example
120Example
StückExample
pieceExample
gHeaders
Section titled “Headers ”Maximum requests per minute
Requests remaining in current window
Unix timestamp when rate limit resets
Requests used in current window
Missing gtin query parameter, invalid gtin format
object
object
Unauthorized
object
object
Rate limit exceeded
object
object
Headers
Section titled “Headers ”Maximum requests per minute
Requests remaining in current window
Unix timestamp when rate limit resets
Requests used in current window
Seconds to wait before retrying
Internal Server Error