Getting Started

Latimal Menu Intelligence is a food-specialized API that understands menu items the way a human would. It handles deduplication, semantic search, cuisine classification, and cart upsell across 100+ languages.

  • Quickstart - First API call in 5 minutes
  • API Reference - All endpoints with schemas and examples
  • Integration Guides - End-to-end implementations for dedup, search, upsell, and monitoring
  • Concepts - How food embeddings, preprocessing, and dietary detection work
  • Python SDK - Client library with auto-chunking and retry

What can you build?

  • Menu deduplication - Find and merge duplicate items across spelling variants, transliterations, and languages. POST /dedup
  • Semantic food search - Match "something spicy" to Chicken Vindaloo, not just keyword hits. POST /search
  • Cart upsell - Suggest a Raita with Biryani, or a Masala Chai after a meal. POST /suggest
  • Cross-restaurant price comparison - Match identical dishes across different menus. POST /match
  • Menu health monitoring - Score menus on noise, duplicates, non-food items, and cuisine coverage. POST /report

First API call

import requests

response = requests.post(
    "https://dish-embed.latimal.com/search",
    headers={"X-API-Key": "YOUR_KEY"},
    json={
        "query": "butter chicken",
        "corpus": ["Murgh Makhani", "Dal Tadka", "Paneer Tikka"],
        "top_k": 3
    }
)
for r in response.json()["results"]:
    print(f"{r['text']}: {r['score']:.3f}")

The API knows that "Murgh Makhani" is butter chicken in Hindi, even though the words share zero characters with the query.

Authentication

All endpoints require an API key in the X-API-Key header. See Authentication for details.