TheMealDB Categories.php API

The Categories.php API from TheMealDB — 1 operation(s) for categories.php.

Operations 1

GET /categories.php List all meal categories #

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/mealdb-categories-php-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

mealdb-categories-php-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheMealDB Categories.php API
  description: An open, crowd-sourced database of meals and recipes from around the world
  version: 1.0.0
  contact:
    url: https://www.themealdb.com
servers:
- url: https://www.themealdb.com/api/json/v1/{apiKey}
  variables:
    apiKey:
      default: '1'
      description: API key - use '1' for testing/development. Premium supporters use their personal key.
tags:
- name: Categories.php
paths:
  /categories.php:
    get:
      summary: List all meal categories
      description: Return all meal categories with thumbnail images and descriptions.
      operationId: listCategories
      responses:
        '200':
          description: Successful response with all categories
          content:
            application/json:
              schema:
                type: object
                properties:
                  categories:
                    type: array
                    items:
                      $ref: '#/components/schemas/Category'
              example:
                categories:
                - idCategory: '1'
                  strCategory: Beef
                  strCategoryThumb: https://www.themealdb.com/images/category/beef.png
                  strCategoryDescription: Beef is the culinary name for meat from cattle...
      tags:
      - Categories.php
components:
  schemas:
    Category:
      type: object
      description: Meal category record.
      properties:
        idCategory:
          type: string
          description: Unique numeric category identifier
          example: '1'
        strCategory:
          type: string
          description: Category name
          example: Beef
        strCategoryThumb:
          type: string
          format: uri
          description: URL to the category thumbnail image
          example: https://www.themealdb.com/images/category/beef.png
        strCategoryDescription:
          type: string
          description: Text description of the category