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.
FitnessRec FitAPI is available as a skill on ClawHub, the marketplace for AI agent skills. Give your AI agent access to science-grade nutrition and exercise data instead of unreliable LLM approximations.
The FitnessRec FitAPI ClawHub skill gives AI agents direct access to precise food & exercise data — no LLM guessing. 9 tools covering food search, nutrient filtering, barcode lookup, exercise search, dish/recipe lookup, and personalized daily nutrient calculations.
search_foods
Search 16k+ foods — 180 nutrients, portions, 48 languages
filter_foods
Filter & rank by any nutrient with range queries
lookup_barcode
UPC/EAN lookup from 3M+ branded products
search_barcode
Search branded products by name
search_exercises
5k+ exercises with muscles & instructions
search_dishes
80k+ recipes with matched nutrition data
nutrition_needs
Personalized daily targets for 180 nutrients
get_food
Full nutrient data by food ID
get_exercise
Exercise detail with muscle distribution
LLMs estimate. FitnessRec FitAPI knows. Ask "how much protein in chicken breast" — an LLM guesses ~31g from training data. FitnessRec FitAPI returns 22.5g per 100g from the USDA database — the actual laboratory-measured value. For nutrition tracking, calorie counting, and diet planning, the difference matters.
FitnessRec FitAPI aggregates data from USDA (USA), NUTTAB (Australia), CNF2015 (Canada), MEXT (Japan), and FRIDA (Denmark). Each food includes up to 180 nutrient fields — every vitamin, mineral, amino acid, fatty acid, and compound — not just calories and macros.
Install the FitnessRec FitAPI skill from ClawHub, configure your API key, and your AI agent immediately has access to all 9 tools. No SDK installation, no library dependencies, no local data files. The free tier includes 10 requests/day with no credit card required.
FitnessRec FitAPI tools are designed to chain together. Calculate daily needs, then filter foods matching those targets, then look up recipes using those foods. Each tool returns structured JSON that feeds directly into the next step — no parsing HTML or scraping required.
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.
Questions, partnerships, or custom integrations? We'd love to hear from you.