Food API Studio93 internal Admin sign in
Checking status…

Food and nutrition data for every Studio93 app.

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.

Autocomplete as you type
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 }
}

Built for food logging

Everything an app needs to find a food and log it, fast enough to run on every keystroke.

Typo-tolerant search

“chiken brest”, “creme brulee” and “greekyogurt” all find what people meant, ranked by what gets logged most.

Autocomplete in milliseconds

/v2/foods/autocomplete suggests foods as people type, straight from the catalog.

Barcode lookups

Scan a package and get the product with its servings, from the catalog or OpenFoodFacts.

Clean nutrition values

17 nutrients per serving as typed numbers in consistent units, with our own stable IDs for every food.

How a search is answered

The catalog grows with use: anything it doesn't know yet is fetched once and kept.

Our catalog

Search runs on our own index of the foods Studio93 apps have looked up.

Provider fallback

No good match? The API asks FatSecret, or OpenFoodFacts for barcodes.

Added for next time

New foods join the catalog with their own ID, so the next search is instant.

Two versions

Both stay available. New integrations should start on v2.

v1

Provider responses, cached. Kept for the apps already using it.

  • GET /food/search
  • GET /food/{id}
  • GET /food/autocomplete
  • GET /food/suggestion/{uid}

Getting access

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.