Azumio Food Recognition API

The Food Recognition API from Azumio — 2 operation(s) for food recognition.

Operations 2

POST /v1/foodrecognition Recognize food and return macronutrients #
POST /v1/foodrecognition/full Recognize food and return full nutrition #

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/azumio-food-recognition-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

azumio-food-recognition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Calorie Mama Food Recognition API
  description: Deep-learning food image recognition API by Azumio. Submit a food photo and receive recognized food items with nutrition data (calories and macronutrients, or full nutrition). Part of the Azumio Food AI product line.
  version: v1
  contact:
    name: Azumio API Support
    email: support@azumio.com
    url: https://dev.caloriemama.ai
  termsOfService: https://azumio.com/privacy-policy-and-terms-of-use
servers:
- url: https://api-2445582032290.production.gw.apicast.io
  description: Production gateway (3scale APIcast)
security:
- user_key: []
tags:
- name: Food Recognition
paths:
  /v1/foodrecognition:
    post:
      operationId: recognizeFood
      summary: Recognize food and return macronutrients
      description: Submit a JPEG food image and receive recognized food groups and items with core macronutrient data (calories, totalFat, totalCarbs, protein).
      tags:
      - Food Recognition
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                media:
                  type: string
                  format: binary
                  description: JPEG image file (recommended 544x544).
              required:
              - media
          image/jpeg:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: Recognition results with macronutrients.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecognitionResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
  /v1/foodrecognition/full:
    post:
      operationId: recognizeFoodFull
      summary: Recognize food and return full nutrition
      description: Submit a JPEG food image and receive recognized food groups and items with the full nutrition profile (17 fields including vitamins, minerals, and fat types).
      tags:
      - Food Recognition
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                media:
                  type: string
                  format: binary
                  description: JPEG image file (recommended 544x544).
              required:
              - media
          image/jpeg:
            schema:
              type: string
              format: binary
      responses:
        '200':
          description: Recognition results with full nutrition.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecognitionResult'
        '400':
          $ref: '#/components/responses/Error'
        '401':
          $ref: '#/components/responses/Error'
        '404':
          $ref: '#/components/responses/Error'
        '409':
          $ref: '#/components/responses/Error'
        '429':
          $ref: '#/components/responses/Error'
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    FoodGroup:
      type: object
      properties:
        group:
          type: string
          description: Food group name (e.g. "Bacon", "Confection").
        items:
          type: array
          items:
            $ref: '#/components/schemas/FoodItem'
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            errorDetail:
              type: string
            code:
              type: integer
      example:
        error:
          errorDetail: Authorization failure
          code: 401
    RecognitionResult:
      type: object
      description: 'Hierarchical recognition result: a model version identifier plus an array of recognized food groups, each containing candidate food items.'
      properties:
        model_version:
          type: string
          description: Identifier of the recognition model that produced the result.
        results:
          type: array
          description: Recognized food groups.
          items:
            $ref: '#/components/schemas/FoodGroup'
    FoodItem:
      type: object
      properties:
        name:
          type: string
        score:
          type: number
          format: float
          description: Confidence score for this candidate.
        brand:
          type: string
          description: Brand name when the item is a packaged product.
        servingSizes:
          type: array
          items:
            type: object
        nutrition:
          $ref: '#/components/schemas/Nutrition'
    Nutrition:
      type: object
      description: Core macronutrients on /v1/foodrecognition; expanded to the full profile (vitamins, minerals, fat types) on /v1/foodrecognition/full.
      properties:
        calories:
          type: number
        totalFat:
          type: number
        totalCarbs:
          type: number
        protein:
          type: number
        sodium:
          type: number
  responses:
    Error:
      description: Error envelope returned by the API.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    user_key:
      type: apiKey
      in: query
      name: user_key
      description: 3scale application API key issued from the developer portal.