API Version 1.0.0 (v1)OAS 3.0 Standard

FoodRepo Developer Documentation & Interactive Playground

Production-grade culinary knowledge base, semantic ingredient embeddings, multi-supermarket retail catalogs, and Schema.org recipe pricing engine standardized under API v1.

Endpoints (12)

Click to load
POST/api/recipes/parse-and-price
Category: Recipes
Parse & Price Recipe (URL or Text)

Extracts Schema.org JSON-LD (or uses Gemini AI fallback), parses ingredient lines into typed quantities, matches canonical database ingredients, and calculates dual supermarket checkout and pro-rata costs across Keells, Cargills, Glomark, and SPAR.

Request Body (application/json)
Host:
curl -X POST "https://foodapi.seyone.dev/api/v1/recipes/parse-and-price" \
  -H "Content-Type: application/json" \
  -d '{  "rawText": "2 tbsp coconut oil\n1 medium red onion, sliced\n2 cloves garlic, minced\n500g chicken breast cubes\n1 tsp Ceylon cinnamon powder\n1/2 tsp turmeric powder\n1 cup coconut milk",  "options": {    "strategy": "cheapest"  }}'