TheMealDB Filter.php API

The Filter.php API from TheMealDB — 1 operation(s) for filter.php.

Operations 1

GET /filter.php Filter meals by ingredient, category, or area #

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-filter-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-filter-php-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TheMealDB Categories.php Filter.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: Filter.php
paths:
  /filter.php:
    get:
      summary: Filter meals by ingredient, category, or area
      description: Return a list of meals matching the specified filter. Free tier supports a single ingredient. Premium tier supports multiple comma-separated ingredients.
      operationId: filterMeals
      parameters:
      - name: i
        in: query
        description: Filter by ingredient name (e.g. i=chicken_breast). Comma-separate multiple values for premium multi-ingredient filtering.
        schema:
          type: string
      - name: c
        in: query
        description: Filter by category name (e.g. c=Seafood)
        schema:
          type: string
      - name: a
        in: query
        description: Filter by cuisine area (e.g. a=Italian)
        schema:
          type: string
      responses:
        '200':
          description: Successful response with abbreviated meal list
          content:
            application/json:
              schema:
                type: object
                properties:
                  meals:
                    type:
                    - array
                    - 'null'
                    items:
                      $ref: '#/components/schemas/MealSummary'
      tags:
      - Filter.php
components:
  schemas:
    MealSummary:
      type: object
      description: Abbreviated meal record returned by filter endpoints.
      properties:
        strMeal:
          type: string
          description: Meal name
          example: Spicy Arrabiata Penne
        strMealThumb:
          type: string
          format: uri
          description: URL to the meal thumbnail image
        idMeal:
          type: string
          description: Unique numeric identifier for the meal
          example: '52771'