Nutritionix · Schema

InstantSearchResponse

Response from the instant search endpoint.

RestaurantHealthNutritionFoodFitnessPublic APIs

Properties

Name Type Description
common array Matched common (generic) foods.
branded array Matched branded and restaurant foods.
View JSON Schema on GitHub

JSON Schema

track-instant-search-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nutritionix/refs/heads/main/json-schema/track-instant-search-response-schema.json",
  "title": "InstantSearchResponse",
  "description": "Response from the instant search endpoint.",
  "type": "object",
  "properties": {
    "common": {
      "type": "array",
      "description": "Matched common (generic) foods.",
      "items": {
        "$ref": "#/components/schemas/CommonFood"
      }
    },
    "branded": {
      "type": "array",
      "description": "Matched branded and restaurant foods.",
      "items": {
        "$ref": "#/components/schemas/BrandedFood"
      }
    }
  }
}