Nutritionix Search API
Search the nutrition database for common and branded foods.
Nutritionix Search API is one of 4 APIs that Nutritionix publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
This API exposes 30 JSON Schema definitions.
Tagged areas include Search. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and 30 JSON Schemas.
This API exposes 1 operation across 1 path, and defines 5 schemas. It is described by OpenAPI 3.0.3, at version 2.0.
Requests are made against a single base URL, https://trackapi.nutritionix.com/v2.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 2
Nutritionix Search API declares
2 security schemes
for authenticating requests.
An API key is passed in the header as x-app-id (AppId).
An API key is passed in the header as x-app-key (AppKey).
By default, every request must be authenticated.
AppId— Your Nutritionix application identifier.AppKey— Your Nutritionix application key.
Paths & Operations 1
Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.
Search the nutrition database for common and branded foods.
Schemas 5
The contract defines 5 schemas that model the data the API accepts and returns. The most detailed are BrandedFood (12 properties), CommonFood (8 properties), Photo (3 properties), Error (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Nutritionix 3
Other APIs Nutritionix publishes across the network.