C
ChowAPI
Fitness Apps

Build calorie tracking into any fitness app

Give your users instant access to nutrition data for 1.6M+ foods. Macros, micros, and barcode scanning. One API.

Fitness app users expect accurate, instant nutrition data

Your users log meals multiple times a day. Every friction point (misspelled searches, missing foods, slow lookups) costs you engagement.

  • Users misspell food names and get zero results
  • Branded products are missing from generic databases
  • Most APIs only return macros, not vitamins and minerals
  • Enterprise APIs cost $1,000+/mo before you even launch
  • OAuth flows and IP restrictions break mobile deployments

How ChowAPI solves this

Instant macro lookup

Calories, protein, carbs, fat. One API call, 12ms average response time.

Barcode scanning

400K+ UPC/EAN barcodes. Scan any product, get full nutrition instantly.

Fuzzy search

Typo-tolerant search. "chiken brest" returns Chicken Breast. Your users don't need to spell.

34 nutrients

Go beyond macros. Vitamins, minerals, and confidence levels for health-conscious users.

Add food search to your fitness app

A React component that searches for foods and displays macro breakdown.

food-search.ts
import { ChowAPI } from 'chowapi'

const chow = new ChowAPI('chow_live_YOUR_KEY')

async function searchFood(query: string) {
  const { results } = await chow.search(query, { limit: 10 })

  return results.map(food => ({
    name: food.name,
    brand: food.brand,
    calories: food.nutrients.calories,
    protein: food.nutrients.protein_g,
    carbs: food.nutrients.carbs_g,
    fat: food.nutrients.fat_g,
    serving: food.serving.description,
  }))
}

// Usage: searchFood("chicken breast")
// Returns: [{ name: "Chicken Breast", calories: 165, protein: 31, ... }]

Relevant endpoints

MethodEndpointDescription
GET/v1/search?q={query}Search foods by name with fuzzy matching
GET/v1/barcode/{code}Look up food by UPC/EAN barcode
GET/v1/foods/{id}/nutrientsGet detailed nutrients with %RDI

Start building your fitness apps today

Credit packs from $5. Pay only for what you use.