Home Recipes Nutrition Lab API Docs
API Playground

The Laboratory

Ten interactive experiments demonstrating the capabilities of the Recipe Base API. All demos are running live in your browser.

1. Semantic Search

Find recipes using fuzzy text matching across titles and descriptions.

Results will appear here...

GET /search?q={query}

2. Ingredient Matcher

Find recipes that contain specific ingredients ("What's in your fridge?").

Add ingredients to start...

GET /search?ingredients={list}&match_all=true

3. Nutrition Analyzer

Analyze unstructured text for nutritional content. The core engine.

// JSON Result
POST /nutrition/analyze { ingredients: [...] }

4. Random Recipe

Fetch a random curated recipe from the database.

GET /recipes (Custom client-side random logic)

5. Shopping List

Parse recipe ingredients into a checkable shopping list.

Select a recipe above.

GET /recipes/:id -> ingredients parsing

6. Cook Mode

Step-by-step instruction viewer.

GET /recipes/:id -> instructions array

7. Crawler Widget

Queue a URL for the backend crawler to process.

Status: Idle
POST /crawl { url: ... }

8. System Health

Real-time statistics from the database.

- Total Recipes
- Verified
GET /health

9. Raw Data Explorer

Inspect the full JSON structure of a recipe object.

// Click load to view data
                     
GET /recipes/:id

10. Dietary Filter

Client-side filtering for specific dietary needs.

Select a filter
GET /search -> JS Filter