Macrofy API

Nutrition data is messy. Macrofy gives you a unified API for food search, barcode lookup, and AI-powered photo analysis — so you can ship nutrition features without the data headaches.

Core capabilities

Macrofy provides three core methods — all accessible via HTTP or our official SDKs.

  • Food search — Query by name, get structured macros
  • Barcode lookup — Resolve UPC/EAN codes for packaged foods
  • Image scan — Photo → nutrition via async job pipeline

Resources

Food search

Search a normalized nutrition dataset by name and return structured macros.

Barcode lookup

Resolve UPC/EAN barcodes to a food item with macros and serving info.

Image scan (async)

Create an image scan job (photo → structured nutrition) and poll for results.

Guides

Quickstart

Make your first food search, barcode lookup, and image scan in minutes.

Read more

Authentication

Authenticate requests using an API key.

Read more

Node.js SDK

Server-side SDK for web backends and Node.js applications.

Read more

React Native SDK

Mobile SDK for iOS/Android food logging flows.

Read more

Was this page helpful?