Nutritionix Natural Language API
Translate plain-text food and exercise phrases into structured nutrition data.
Nutritionix Natural Language 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 Natural Language. 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 2 operations across 2 paths, and defines 10 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 Natural Language 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 2
Across 2 paths, the API surfaces 2 operations — 2 POST. Each is listed below with its method, path, parameters, and response codes.
Translate plain-text food and exercise phrases into structured nutrition data.
Schemas 10
The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Food (27 properties), NaturalNutrientsRequest (10 properties), Exercise (9 properties), NaturalExerciseRequest (5 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.