NutriVision API

Transform food images into detailed nutritional insights with our advanced AI-powered API

Powerful Features for Developers

Accurate Analysis

Get precise nutritional information including calories, macronutrients, and ingredient lists

Simple Integration

Easy-to-use REST API with comprehensive documentation and SDK support

Fast Response Times

Lightning-fast analysis with results typically delivered in under 2 seconds

Scalable Infrastructure

Built on GCP for reliable performance at any scale

Simple, Transparent Pricing

Free Tier

100 requests/month

$0

  • Basic nutrition analysis
  • Standard response time
  • Community support
  • Basic documentation

Pro

5,000 requests/month

$49/month

  • Advanced nutrition analysis
  • Priority response time
  • Email support
  • Detailed documentation
  • Custom integration support

Enterprise

Unlimited requests

Custom

  • Full nutrition analysis
  • Dedicated support
  • SLA guarantees
  • Custom features
  • White-label options
  • Private deployment available

Quick Start Guide


// Example API Usage
const analyzeImage = async (imageData) => {
  const response = await fetch('https://nutrivision.com/api/v1/analyze', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Authorization': 'Bearer YOUR_API_KEY'
    },
    body: JSON.stringify({
      image_base64: imageData // Base64 encoded image
    })
  });

  if (!response.ok) {
    if (response.status === 429) {
      throw new Error('Rate limit exceeded');
    }
    if (response.status === 401) {
      throw new Error('Invalid API key');
    }
    throw new Error('Analysis failed');
  }

  const nutritionData = await response.json();
  
  // Response format:
  // {
  //   calories: number,
  //   protein: number,
  //   carbohydrates: number,
  //   fat: number,
  //   fiber: number,
  //   sugar: number,
  //   sodium: number,
  //   serving_size: string,
  //   ingredients: string[]
  // }
  
  return nutritionData;
};