example-data.com
Menu

How to use this data

Use recipes for recipe cards and detail screens: each record includes ingredients, instructions, cuisine, and cooking times. Explore ingredients and food-categories as separate reference collections for ingredient browsing.

Click into any collection to see its schema, sample records, and API reference.

Try it now

Fetch recipes in the language of your choice.

curl example

curl -sS \
  "https://example-data.com/api/v1/recipes?limit=25"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/recipes?limit=25"
);
const { data, meta } = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/recipes.d.ts https://example-data.com/types/recipes.d.ts
import type { Recipe, ListEnvelope } from "./types/recipes";

const res = await fetch(
  "https://example-data.com/api/v1/recipes?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<Recipe>;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/recipes",
    params={"limit": 25},
)
data = res.json()

Looking for a visual way to build a web or mobile app? You can use this data with Draftbit.