CalorieNinjas Nutrition API

The Nutrition API from CalorieNinjas — 1 operation(s) for nutrition.

Operations 1

GET /nutrition CalorieNinjas Get nutrition information

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/calorie-ninjas-nutrition-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

calorie-ninjas-nutrition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CalorieNinjas Imagetextnutrition Nutrition API
  description: Get nutrition and recipe data for 100,000  foods and beverages.
  version: 1.0.0
servers:
- url: https://api.calorieninjas.com/v1
tags:
- name: Nutrition
paths:
  /nutrition:
    get:
      summary: CalorieNinjas Get nutrition information
      description: Retrieve a detailed list of nutrition information for items based on a query.
      parameters:
      - name: query
        in: query
        description: A string containing food or drink items. Prefix a quantity before an item to calculate for that quantity. Default is 100 grams if unspecified.
        required: true
        schema:
          type: string
          maxLength: 1500
      responses:
        '200':
          description: Successful response containing nutrition information.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        sugar_g:
                          type: number
                        fiber_g:
                          type: number
                        serving_size_g:
                          type: number
                        sodium_mg:
                          type: number
                        name:
                          type: string
                        potassium_mg:
                          type: number
                        fat_saturated_g:
                          type: number
                        fat_total_g:
                          type: number
                        calories:
                          type: number
                        cholesterol_mg:
                          type: number
                        protein_g:
                          type: number
                        carbohydrates_total_g:
                          type: number
        '400':
          description: Bad request.
        '401':
          description: Unauthorized.
      security:
      - ApiKeyAuth: []
      tags:
      - Nutrition
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key