TheMealDB List API

List available categories, areas, and ingredients

Operations 2

GET /categories.php TheMealDB List All Meal Categories #
GET /list.php TheMealDB List Filter Values for Categories, Areas, or Ingredients #

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/themealdb-list-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

themealdb-list-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheMealDB Filter List API
  description: An open, crowd-sourced database of recipes from around the world with a free API. Search meals by name, first letter, ingredient, category, or area/region. Includes detailed recipes with ingredients, measurements, instructions, and images. The API and site will always remain free at point of access.
  version: '1.0'
  contact:
    url: https://www.themealdb.com/
  x-generated-from: documentation
servers:
- url: https://www.themealdb.com/api/json/v1/1
  description: Production API server (free tier with API key 1)
security: []
tags:
- name: List
  description: List available categories, areas, and ingredients
paths:
  /categories.php:
    get:
      operationId: listAllCategories
      summary: TheMealDB List All Meal Categories
      description: Retrieve all meal categories with thumbnails and descriptions.
      tags:
      - List
      responses:
        '200':
          description: List of all meal categories
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategoriesResponse'
              examples:
                ListAllCategories200Example:
                  summary: Default listAllCategories 200 response
                  x-microcks-default: true
                  value:
                    categories:
                    - idCategory: '1'
                      strCategory: Beef
                      strCategoryThumb: https://www.themealdb.com/images/category/beef.png
                      strCategoryDescription: Beef is the culinary name for meat from cattle.
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
  /list.php:
    get:
      operationId: listFilterValues
      summary: TheMealDB List Filter Values for Categories, Areas, or Ingredients
      description: List all available categories ('c=list'), areas ('a=list'), or ingredients ('i=list') for use as filter parameters.
      tags:
      - List
      parameters:
      - name: c
        in: query
        description: Set to 'list' to retrieve all categories
        required: false
        schema:
          type: string
          enum:
          - list
      - name: a
        in: query
        description: Set to 'list' to retrieve all areas/regions
        required: false
        schema:
          type: string
          enum:
          - list
      - name: i
        in: query
        description: Set to 'list' to retrieve all ingredients
        required: false
        schema:
          type: string
          enum:
          - list
      responses:
        '200':
          description: List of available filter values
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListResponse'
              examples:
                ListFilterValues200Example:
                  summary: Default listFilterValues 200 response
                  x-microcks-default: true
                  value:
                    meals:
                    - strCategory: Beef
                    - strCategory: Chicken
                    - strCategory: Dessert
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Category:
      type: object
      description: Meal category with thumbnail and description
      properties:
        idCategory:
          type: string
          description: Unique category identifier
          example: '1'
        strCategory:
          type: string
          description: Category name
          example: Beef
        strCategoryThumb:
          type: string
          description: Category thumbnail image URL
        strCategoryDescription:
          type: string
          description: Description of the category
    CategoriesResponse:
      type: object
      description: Response containing list of meal categories
      properties:
        categories:
          type: array
          description: Array of category objects
          items:
            $ref: '#/components/schemas/Category'
    ListResponse:
      type: object
      description: List of available filter values
      properties:
        meals:
          type: array
          description: Array of list items
          items:
            type: object
            additionalProperties:
              type: string