One API call to search foods with 120+ nutrients, generate visual labels, scan barcodes, and calculate personalized daily needs — so you can focus on your app, not building a food database.
Free tier — no credit card required
If your app touches food, fitness, or nutrition — FitAPI replaces months of data sourcing with a single integration.
Power your food diary with instant search, barcode scanning, and complete nutrient breakdowns per serving.
Give coaches personalized nutrition targets and exercise libraries for every client, in their language.
Search dishes, filter foods by nutrient ranges, and generate visual nutrition labels your users can share.
Launch globally from day one with 47 languages, personalized nutrient needs, and no data licensing headaches.
$ curl -X POST "https://fitapi.fitnessrec.com/api/v1/foods/search" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"q":"chicken breast","locale":"en","body":{"weight":80,"height":180,"age":30,"gender":"m"}}'
{
"data": [
{
"id": "SR170187",
"desc": "Chicken breast, skinless, boneless, raw",
"ctg": "5",
"nutrients": {
"1008": { "name": "Energy", "unit": "Kcal", "value": 114, "need": 2000 },
"1003": { "name": "Protein", "unit": "g", "value": 22.5, "need": 150 },
"1004": { "name": "Fat", "unit": "g", "value": 2.62, "need": 66.7 },
"1005": { "name": "Carbohydrate", "unit": "g", "value": 0, "need": 200 },
"1093": { "name": "Sodium", "unit": "mg", "value": 45, "need": 1500 }
// ... 120+ nutrients per food
},
"portions": { "1": { "a": "174", "d": "1 breast" } }
}
]
}
Not just calories and macros. Every vitamin, mineral, amino acid, lipid, and compound — searchable, filterable, and translated into 47 languages.
Macros, 21 vitamins, 14 minerals, 11 amino acids, omega fatty acids, cholesterol, fiber subtypes, sugar breakdowns, and more. Not a simplified subset — the full dataset.
Every nutrient name, food description, and portion label translated. From English and Spanish to Japanese, Arabic, Hindi, and 44 more. One locale parameter is all it takes.
Generate dark-themed, color-coded nutrition label images with intake-vs-needs progress bars. Choose from 7 nutrient groups: general, vitamins, minerals, carbs, lipids, amino acids, and more. Personalized to the user's body, goals, and activity level.
Lightning-fast full-text search with typo tolerance, relevance ranking, and prefix matching. Search in any of the 47 supported languages and get instant, accurate results.
Scan any UPC or EAN barcode and get full nutrition data. Missing products are auto-enriched from external sources in real-time and indexed for future lookups.
Calculate daily requirements for all 120+ nutrients based on age, weight, height, gender, activity level, and goals. Supports pregnant and lactating modes with adjusted targets.
Filter foods by any nutrient with range queries, boolean logic, and sorting. Find all foods with protein > 20g AND sodium < 100mg, sorted by fiber descending.
Search exercises with muscle groups, equipment, and difficulty. Browse activities with calorie burn estimates. All translated and searchable in 47 languages.
Search dishes with full ingredient lists. Sorted by complexity so the simplest options surface first. Calculated nutrition per serving included.
Generate personalized, dark-themed nutrition label images with color-coded progress bars. See exactly how much of each nutrient a meal provides relative to the user's daily needs.
All endpoints accept a locale parameter and optional body object for personalized daily needs. Authenticated via Bearer token.
/api/v1/foods/search
Search foods with 120+ nutrient fields
/api/v1/foods/filter
Filter by any nutrient with range queries & boolean logic
/api/v1/exercises
Search exercises by name, muscle group, or equipment
/api/v1/activities
Search activities with calorie burn data
/api/v1/dishes/search
Search dishes with ingredients & nutrition per serving
/api/v1/barcode/:code
Barcode lookup with auto-enrichment
/api/v1/barcode/scan
Upload a barcode image & get product data
/api/v1/barcode/search
Search branded products by name
/api/v1/nutrition/needs
Calculate personalized daily needs for all 120+ nutrients
/api/v1/nutrition/label
Generate visual nutrition label PNG image
Not a weekend project. FitAPI is built on battle-tested infrastructure with the reliability your users expect.
data / error JSON envelope. No surprises.Stop building nutrition infrastructure. Start building the features your users actually pay for.
Months sourcing, cleaning, and maintaining food databases. Manual translations. Broken barcode lookups. Custom label rendering.
One afternoon to integrate. Instant food search in 47 languages. Visual labels your users love. Barcode scanning that works. Personalized nutrition targets out of the box.
Start free. Scale when you're ready. All plans include every endpoint and all 47 languages.
Create an account, grab your API key, and search 120+ nutrients across thousands of foods. No credit card, no data licensing, no setup fees.