Typo-tolerant search
“chiken brest”, “creme brulee” and “greekyogurt” all find what people meant, ranked by what gets logged most.
One API for food search, autocomplete, barcode lookups and nutrition facts. It answers from our own catalog of over 700,000 foods, including USDA FoodData Central and the Canadian Nutrient File, and fills the gaps from FatSecret and OpenFoodFacts.
Internal service: there is no sign-up. Apps call it with an API key that a Studio93 admin issues.
GET /v2/foods/autocomplete?q=greek+yog&limit=3 Host: api.studio93.io Authorization: Bearer $API_KEY 200 OK · 9 ms { "data": [ { "id": "0199f3…", "name": "Greek Yogurt", "brand": null }, { "id": "0199f3…", "name": "Greek Yogurt Vanilla", "brand": null }, { "id": "0199f3…", "name": "Greek Yogurt Blueberry", "brand": null } ], "meta": { "query": "greek yog", "limit": 3, "total": 214 } }
Everything an app needs to find a food and log it, fast enough to run on every keystroke.
“chiken brest”, “creme brulee” and “greekyogurt” all find what people meant, ranked by what gets logged most.
/v2/foods/autocomplete suggests foods as people type, straight from the catalog.
Scan a package and get the product with its servings, from the catalog or OpenFoodFacts.
17 nutrients per serving as typed numbers in consistent units, with our own stable IDs for every food.
The catalog grows with use: anything it doesn't know yet is fetched once and kept.
Search runs on our own index of the foods Studio93 apps have looked up.
No good match? The API asks FatSecret, or OpenFoodFacts for barcodes.
New foods join the catalog with their own ID, so the next search is instant.
Both stay available. New integrations should start on v2.
The food catalog, with typed values and our own IDs.
GET /v2/foods/searchGET /v2/foods/autocompleteGET /v2/foods/barcode/{barcode}GET /v2/foods/{id}Provider responses, cached. Kept for the apps already using it.
GET /food/searchGET /food/{id}GET /food/autocompleteGET /food/suggestion/{uid}Keys are issued per app by a Studio93 admin, who can see each key's usage and revoke it from the dashboard.
Send the key as Authorization: Bearer <key> on every request.