TheMealDB website screenshot

TheMealDB

TheMealDB is an open, crowd-sourced database of recipes from around the world offering a free REST API with 669 meals, 927 ingredients, 300+ recipes complete with ingredients, step-by-step cooking instructions, categories, area cuisines, and meal images. The API and site will always remain free at point of access; a lifetime supporter upgrade unlocks premium V2 endpoints including multi-ingredient filtering, random sets, latest meals, and the ability to add custom meals and images.

TheMealDB publishes 7 APIs on the APIs.io network, including Categories.php API, Filter.php API, List.php API, and 4 more. Tagged areas include Food, Recipes, Meals, Cooking, and Ingredients.

The TheMealDB catalog on APIs.io includes 1 JSON-LD context and 1 Spectral governance ruleset.

TheMealDB’s developer surface includes documentation, pricing, and 11 more developer resources.

45.2/100 developing ▬ flat Agent 25/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
AccessFreemiumOpen⚡ Free to try
7 APIs
FoodRecipesMealsCookingIngredientsCuisineOpen Data

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 45.2/100 · developing
Contract Quality 14.7 / 25
Developer Ergonomics 1.7 / 20
Commercial Clarity 12.1 / 20
Operational Transparency 4.1 / 13
Governance 7.0 / 12
Discoverability 7.4 / 10
Agent readiness — 25/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 10 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 7 / 7
Rate-Limit Signaling 7 / 7
Typed Event Surface 0 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/mealdb: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

APIs 7

Individual APIs this provider publishes, each with its own machine-readable definition.

TheMealDB Categories.php API

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

TheMealDB Filter.php API

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

TheMealDB List.php API

The List.php API from TheMealDB — 1 operation(s) for list.php.

TheMealDB Lookup.php API

The Lookup.php API from TheMealDB — 1 operation(s) for lookup.php.

TheMealDB Premium API

Premium-only endpoints requiring a paid lifetime supporter API key

TheMealDB Random.php API

The Random.php API from TheMealDB — 1 operation(s) for random.php.

TheMealDB Search.php API

The Search.php API from TheMealDB — 1 operation(s) for search.php.

Scroll for all 7

Pricing Plans 1

Published pricing tiers and plan structures.

Mealdb Plans Pricing

2 plans

PLANS

Rate Limits 1

Documented rate limits and quota policies.

Mealdb Rate Limits

3 limits

RATE LIMITS

FinOps 1

Cost, billing, and metering signals for API financial operations.

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Mealdb Context

56 classes · 2 properties

JSON-LD

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs.

TheMealDB API Rules

5 rules · 4 warnings 1 info

SPECTRAL

JSON Schema 3

Standalone JSON Schema definitions for this provider's data models.

Category

4 properties

JSON SCHEMA

MealSummary

3 properties

JSON SCHEMA

Meal

53 properties

JSON SCHEMA

Examples 3

Example request and response payloads for these APIs.

Filter By Category

3 fields

EXAMPLE

List Categories

3 fields

EXAMPLE

Search Meal By Name

3 fields

EXAMPLE

Security Posture 1

Authentication, domain security, vulnerability disclosure, and trust-center signals.

Mealdb Domain Security

TLSv1.3 · HSTS

SECURITY

Agentic Access 1

Recommended x-agentic-access execution contracts for AI agents.

Mealdb Agentic Access

8 operations

8 operations · 0 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Access & Security 1

Authentication, authorization, and security posture

Operate 2

Status, limits, changes, and where to get help

Commercial 5

Pricing, plans, and the legal terms of use

Company 2

The organization behind the API

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: mealdb
name: TheMealDB
description: TheMealDB is an open, crowd-sourced database of recipes from around the world offering a free REST API with 669
  meals, 927 ingredients, 300+ recipes complete with ingredients, step-by-step cooking instructions, categories, area cuisines,
  and meal images. The API and site will always remain free at point of access; a lifetime supporter upgrade unlocks premium
  V2 endpoints including multi-ingredient filtering, random sets, latest meals, and the ability to add custom meals and images.
url: https://raw.githubusercontent.com/api-evangelist/mealdb/refs/heads/main/apis.yml
accessModel:
  pricing: freemium
  onboarding: open
  trial: false
  try_now: true
  public: true
  label: Freemium · Open access
  confidence: medium
  source:
  - plans
  generated: '2026-07-22'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/mealdb.png
specificationVersion: '0.19'
created: '2026-06-13'
modified: '2026-06-13'
x-source: public-apis/public-apis
x-category: Food & Drink
x-type: open
x-tier: 2
x-tier-reason: free-open-api-with-premium-upgrade
tags:
- Food
- Recipes
- Meals
- Cooking
- Ingredients
- Cuisine
- Open Data
apis:
- aid: mealdb:mealdb-categories-php-api
  name: TheMealDB Categories.php API
  description: The Categories.php API from TheMealDB — 1 operation(s) for categories.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Categories.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-categories-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-filter-php-api
  name: TheMealDB Filter.php API
  description: The Filter.php API from TheMealDB — 1 operation(s) for filter.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Filter.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-filter-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-list-php-api
  name: TheMealDB List.php API
  description: The List.php API from TheMealDB — 1 operation(s) for list.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - List.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-list-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-lookup-php-api
  name: TheMealDB Lookup.php API
  description: The Lookup.php API from TheMealDB — 1 operation(s) for lookup.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Lookup.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-lookup-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-premium-api
  name: TheMealDB Premium API
  description: Premium-only endpoints requiring a paid lifetime supporter API key
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Premium
  properties:
  - type: OpenAPI
    url: openapi/mealdb-premium-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-random-php-api
  name: TheMealDB Random.php API
  description: The Random.php API from TheMealDB — 1 operation(s) for random.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Random.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-random-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
- aid: mealdb:mealdb-search-php-api
  name: TheMealDB Search.php API
  description: The Search.php API from TheMealDB — 1 operation(s) for search.php.
  humanURL: https://www.themealdb.com/api.php
  baseURL: https://www.themealdb.com/api/json/v1/1
  tags:
  - Search.php
  properties:
  - type: OpenAPI
    url: openapi/mealdb-search-php-api-openapi.yml
  - type: Documentation
    url: https://www.themealdb.com/api.php
  - type: Documentation
    url: https://www.themealdb.com/docs_api_guide.php
common:
- type: AgenticAccess
  url: agentic-access/mealdb-agentic-access.yml
- type: DomainSecurity
  url: security/mealdb-domain-security.yml
- type: Website
  url: https://www.themealdb.com
- type: Documentation
  url: https://www.themealdb.com/api.php
- type: Pricing
  url: https://www.themealdb.com/api.php
- type: TermsOfService
  url: https://www.themealdb.com/terms_of_use.php
- type: PrivacyPolicy
  url: https://www.themealdb.com/privacy_policy.php
- type: Plans
  url: plans/mealdb-plans-pricing.yml
- type: RateLimits
  url: rate-limits/mealdb-rate-limits.yml
- type: FinOps
  url: finops/mealdb-finops.yml
- type: X
  url: https://twitter.com/TheAudioDB
- type: Facebook
  url: https://www.facebook.com/TheDataDB/
- type: Discord
  url: https://discord.com/invite/pFvgaXV
features:
- name: Meal Search by Name
  description: Search for meals by full or partial name and return full recipe details including ingredients and instructions.
- name: Browse by First Letter
  description: List all meals beginning with a specified letter for alphabetical browsing.
- name: Meal Lookup by ID
  description: Retrieve full recipe details for a specific meal using its unique numeric ID.
- name: Random Meal
  description: Fetch a single random meal with complete recipe data; useful for "surprise me" features.
- name: Category Browsing
  description: Retrieve all meal categories (Beef, Chicken, Dessert, Pasta, Seafood, etc.) with thumbnail images.
- name: Filter by Ingredient
  description: Return a list of meals containing a specified main ingredient.
- name: Filter by Category
  description: Return a list of meals belonging to a specific category.
- name: Filter by Area / Cuisine
  description: Return a list of meals from a specific geographic cuisine area (Italian, Japanese, Mexican, etc.).
- name: Ingredient Catalog
  description: List all known ingredients with descriptions and images.
- name: Meal Images
  description: Meal and ingredient thumbnails with small, medium, and large size variants appended to the base image URL.
- name: Premium Multi-Ingredient Filter
  description: Filter meals by multiple ingredients simultaneously (V2, supporter key required).
- name: Premium Random Set
  description: Fetch 10 random meals in a single call (V2, supporter key required).
- name: Premium Latest Meals
  description: Retrieve the 10 most recently added meals (V2, supporter key required).
useCases:
- name: Recipe Discovery App
  description: Power a mobile or web recipe finder that lets users search, filter, and browse meals by name, category, or
    cuisine.
- name: Meal Planning Tool
  description: Build a weekly meal planner that suggests random meals and allows filtering by dietary category or ingredient.
- name: Cooking Education Platform
  description: Provide step-by-step instructions and ingredient lists for culinary learning apps and cooking courses.
- name: Grocery List Generator
  description: Extract ingredient lists from meal lookups to automatically populate grocery shopping lists.
- name: Cuisine Explorer
  description: Let users discover meals from specific world cuisines and learn about regional cooking traditions.
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com