Developer API

Food & nutrition data,
one API call away.

Query a curated database of foods, recipes, drinks, and full micronutrient breakdowns over a simple REST API. Sign up free, get a key in seconds, and upgrade only when you need more.

REST - JSON - API-key auth - Free tier, no card required

# Search the food database curl https://auth.fitvete.com/functions/v1/food-api/v1/search-foods?query=chicken \ -H "x-api-key: fv_live_..." # { "number": 1, "foods": [ # { "name": "Grilled Chicken Breast", # "calories": 165, "protein_g": 31 } ] }

Everything you need to ship

A complete food data layer for nutrition, fitness, and recipe apps.

Full nutrition

Calories, macros, and 25+ vitamins & minerals with % of daily needs, glycemic index/load, and caloric breakdown.

Recipes & drinks

Search recipes and drinks, then pull full detail: ingredients with measures, step-by-step instructions, and per-ingredient nutrients.

Keys & tiers

Self-serve API keys, usage metered by daily points, and upgrade plans as you grow - rate-limit headers on every response.

Fast & cached

Served from a curated, self-improving dataset, so common lookups are instant and consistent.

Curated & scored

Every record carries a confidence score; only validated, corroborated data reaches the API.

Simple REST

Predictable JSON, standard HTTP status codes, and x-api-key auth. Works with any language.

Plans & limits

Start free. Each request costs points; upgrade for more daily headroom.

Free

$0 /mo
50 points / day
  • All endpoints
  • Self-serve API key
  • Community support
Start free

Starter

$19 /mo
1,000 points / day
  • Everything in Free
  • Higher rate limits
  • Email support
Upgrade
Popular

Pro

$99 /mo
10,000 points / day
  • Everything in Starter
  • Priority throughput
  • Priority support
Upgrade

Ultra

$399 /mo
100,000 points / day
  • Everything in Pro
  • Volume & custom limits
  • Dedicated support
Contact us

Need a custom SLA or volume pricing? Talk to us.

Endpoints

Base URL: https://auth.fitvete.com/functions/v1/food-api - Auth header: x-api-key

GET
/v1/search-foods?query=&number=

Search foods by name. Returns calories, macros, and a confidence score.

GET
/v1/compute-nutrition?ingredients=

Full nutrient breakdown for an ingredient list (macros, vitamins, minerals, properties).

GET
/v1/recipes/search?query=&number=

Search recipes. Returns id, title, and calories per result.

GET
/v1/recipes/{id}

Full recipe: images, dietary properties, nutrition, ingredients with measures, and steps.

GET
/v1/drinks/search?query=&number=

Search drinks/cocktails with flavors, glass type, ingredients, and nutrition.

GET
/v1/barcode/{code}

Look up packaged-food barcodes and harvest results for cheaper repeat calls.

POST
/v1/nutrition-from-photo

Estimate meal nutrition from a JPEG, PNG, or WebP image. Costs 10 points.

POST
/v1/nutrition-label

Parse Nutrition Facts labels into macros, serving data, and printed nutrients. Costs 10 points.

Quick start

1. Create a free account and copy your key from the dashboard.

2. Send your key on every request:

curl https://auth.fitvete.com/functions/v1/food-api/v1/compute-nutrition?ingredients=1%20cup%20rice \ -H "x-api-key: fv_live_your_key"

3. Read your usage from the response headers:

X-RateLimit-Limit: 50 X-RateLimit-Remaining: 44 X-RateLimit-Used: 6 X-RateLimit-Cost: 1 X-Plan: free

Built for developers & AI agents

Everything an app or an autonomous agent needs to integrate in minutes.

OpenAPI 3.1 spec

A complete, machine-readable openapi.yaml — import it into any client generator, SDK, or agent tool.

llms.txt

A plain-text map of the API for LLMs: llms.txt and the fuller llms-full.txt with every endpoint and example.

Agent-ready CLI

A zero-dependency CLI that prints clean JSON to stdout — trivial to pipe into jq or call from an agent. Install npm i -g fitvete-food-cli (npm · docs).

Frequently asked questions

Is there a free tier?

Yes — the Free plan is $0/month with 50 points per day, access to every endpoint, and no credit card required.

How do I authenticate?

Send your API key in the x-api-key header (or as an ?apiKey= query parameter) on every request. Keys look like fv_live_….

What is the base URL?

All endpoints live under https://auth.fitvete.com/functions/v1/food-api at /v1/. Responses are JSON and include X-RateLimit-* headers.

What can the API do?

Search foods, compute full nutrition for an ingredient list, look up barcodes, search recipes and drinks, parse a plain-English meal, score a food A–F, suggest healthier swaps, analyze ingredient labels, and estimate nutrition from a meal photo or Nutrition Facts label.

Can AI agents use it?

Yes — there's an OpenAPI 3.1 spec, an llms.txt guide, and a zero-dependency CLI that prints clean JSON for easy parsing.

Get your free API key

Sign up with your email, grab a key in seconds, and start building. Upgrade anytime.

Create free account

Free tier - No card required