AI-Powered Nutrition API

Instant nutrition estimates from text or images

MacroEstimator uses multimodal AI to analyze meals in real-time. Get accurate calories, protein, carbs, and fat in milliseconds.

MacroEstimator Demo

AI-powered nutrition estimation in real-time

Hi! I'm MacroEstimator. Describe your meal or upload a photo, and I'll estimate the nutrition instantly. Try it out!

Try these examples:

Demo limited to 30 requests/minute. Sign up free for higher limits.

Why developers choose MacroEstimator

Built for accuracy, speed, and ease of integration.

Real-time Streaming

Get results as they're computed with Server-Sent Events. Show detected items, confidence scores, and nutrition data progressively.

Multimodal Input

Analyze text descriptions, food photos, or nutrition labels. Combine multiple inputs in a single request for complete meal analysis.

Grounded AI Reasoning

Our AI is grounded in USDA nutritional data. Get explainable estimates with confidence scores and reasoning chains.

Custom Recipes

Users can add their own recipes for personalized tracking. Home-cooked meals matched to exact nutritional profiles.

Enterprise Ready

SOC 2 compliant with 99.9% uptime SLA. Tier-based rate limiting, webhook notifications, and dedicated support.

Simple Integration

RESTful API with comprehensive SDKs. React hooks, streaming utilities, and example code to get started fast.

How it works

From input to nutrition data in three steps.

1

Send a request

POST text, images, or both to our /v1/estimate endpoint with your API key.

2

AI analyzes

Our pipeline classifies food, matches to databases, and reasons about portions.

3

Stream results

Receive SSE events with item titles, estimations, and meal totals in real-time.

API Request
curl -X POST https://api.macroestimator.com/v1/estimate \
  -H "Authorization: Bearer me_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "inputs": [
      {"type": "text", "content": "grilled chicken salad"}
    ]
  }'

Ready to get started?

Sign up for free and get 100 requests per day. No credit card required.