DietlyAPI gives your app 3.7 million+ foods with verified macros, micronutrients, and barcode lookups — auto-sorted by confidence, returned in under 40ms, anywhere in the world.
Scale, speed, and ranked relevance. We do them so you don't have to scrape USDA, normalize Open Food Facts, or build your own search index.
The full Open Food Facts global catalog, USDA FoodData Central, plus AI gap-fill for everything else. Branded, generic, restaurant — it's all in there.
Barcode lookups in ~1ms. Fuzzy search backed by GIN trigram indexes. Globally edge-cached so users in Tokyo feel it just as fast as users in Toronto.
USDA lab-verified items rank above community data, which rank above AI estimates. Your users see the most trustworthy match first — every time.
EAN-13 and UPC-A lookups hit a B-tree index. Scan, get back a fully populated nutrition object instantly — no second hop, no fallback API.
Hosted in US-East, US-West, EU-West, EU-North, SA-East, AP-South, AP-Northeast, and AU-East. Your users always hit the nearest node.
Encrypted at rest, encrypted in transit, no PII required to use the API. Bring your own key (BYOK) and regional pinning on Enterprise.
We benchmark every region every 60 seconds. These are real numbers from real production traffic — not a cold-cached marketing demo.
Every result ships with a confidence score — verified lab data outranks community data, which outranks AI estimates. The frustrating "which one of these is right?" problem just goes away.
No SDK install. No webhooks to configure. Just an API key and a fetch call — the same shape works in Python, JS, Swift, Go, anywhere that speaks HTTP.
// One call. Auto-sorted results. Under 40ms. const r = await fetch( 'https://api.dietly.app/v1/search?q=greek+yogurt', { headers: { Authorization: 'Bearer dly_live_…' } } ); const { results } = await r.json(); // → Ranked by confidence, highest first results[0]; // { // name: "Greek Yogurt, Plain, Non-Fat", // calories_kcal: 59, // protein_g: 10, // source: "usda", // confidence: 1.0 // }
Every plan unlocks the full 3.7M food database. Upgrade only when you need more calls, faster SLAs, or commercial redistribution rights.
"We swapped our scraped Open Food Facts CSV for DietlyAPI in an afternoon. Search latency dropped from 600ms to 30ms and our 1-star reviews about 'wrong macros' literally stopped overnight."
"The confidence ranking is the killer feature. USDA verified items naturally float to the top so our nutritionists trust the autocomplete instead of fighting it."
"Barcode scan to nutrition card in 80ms end-to-end, including the network round-trip. Our users genuinely think the app is offline-first. It isn't."