API Overview
To begin, you will need your Nutrition AI Key.
OpenAPI Documentation: API Docs
API Path Prefixes
Endpoints are available under two public path prefixes. They return identical data:
Prefix
Example
Notes
/napi/...
GET /napi/food/search/semantic
Recommended. Current production path for REST API consumers.
/food/...
GET /food/productCode/{code}
Legacy path. Still functional but may not support all newer features.
A third prefix, /sdk/..., exists but is used internally by the mobile SDKs. If you are calling the REST API directly, use /napi/ - do not use /sdk/ routes.
Throughout this documentation, endpoints are listed with their recommended prefix.
Last updated