Nutrition Data API
for 600k+ Foods

Fast autocomplete search, detailed nutrition facts, simple REST API. Power your health app with accurate food data.

10,000 free credits on signup • No credit card required

$ curl "https://api.foodfactsapi.com/api/v1/search?q=chicken breast" \
    -H "Authorization: Bearer ff_your_api_key"

{
  "query": "chicken breast",
  "count": 10,
  "results": [
    {
      "id": "abc123",
      "name": "Chicken Breast, Grilled",
      "brand": "Generic",
      "calories": 165,
      "protein": 31,
      "carbs": 0,
      "fat": 3.6
    }
  ]
}

Why Food Facts API?

Blazing Fast

Sub-50ms autocomplete powered by FTS5 trigram search. Perfect for real-time search UX.

📊

Comprehensive Data

600,000+ foods with calories, macros, vitamins, minerals, ingredients, and allergens.

🔧

Simple Integration

RESTful JSON API. One endpoint for search, one for details. Works with any language.

Simple Pricing

Pay only for what you use. $1 = 1,000 credits.

Free Tier

$0/mo
  • ✓ 10,000 credits on signup
  • ✓ 10 requests/second
  • ✓ All endpoints included
  • ✓ No credit card required
Get Started
MOST POPULAR

Pay As You Go

$1/1k credits
  • ✓ Buy credits as needed
  • ✓ Credits never expire
  • ✓ Up to 1,000 req/second
  • ✓ Volume discounts available
Start Free, Pay Later

Credit Usage

Search / Autocomplete0.1 credits
Food Details1 credit

Quick Start

1. Get your API key

Sign up and create an API key from your dashboard.

2. Search for foods

GET /api/v1/search?q=banana&limit=10
Authorization: Bearer ff_your_api_key

3. Get nutrition details

GET /api/v1/foods/abc123
Authorization: Bearer ff_your_api_key

Ready to get started?

10,000 free credits on signup. No credit card required.

Create Free Account →