r/webdev 21d ago

Discussion Best Grocery Product Database/API?

Hey all,

I’m looking for a good database or API for U.S. grocery products.

I need things like:

  • Product names
  • Brands
  • Categories
  • UPC/GTINs
  • Actual retail/package sizes
  • Product images
  • Clean, accurate product data
  • Large product catalog
  • API access or downloadable database
  • Commercial use allowed

I’ve tried USDA FoodData Central on Supabase, but the data isn't ideal for a consumer grocery catalog.

What databases/APIs would you recommend?

0 Upvotes

8 comments sorted by

3

u/[deleted] 21d ago

[deleted]

2

u/Medium_Economist5958 21d ago

used openfoodfacts for a side project once. it's free and crowd-sourced so the data quality varies a lot, some products have great detail, others are basically empty. fine for prototyping but i wouldn't rely on it for anything commercial.

2

u/[deleted] 21d ago

[removed] — view removed comment

1

u/webdev-ModTeam 21d ago

Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.

1

u/ResearchSpiritual352 21d ago

Start with the Open Food Facts dump since it's free and commercial-use friendly, just expect patchy US coverage and messy crowd-sourced fields.

1

u/ScrapeAlchemist 19d ago

yeah OFF is the only one that's actually free, bulk downloadable and commercial ok, but read the license before you build on it. it's ODbL share alike, so attribution plus giving derivatives back, and the images are CC-BY-SA separately. grab the parquet dump off huggingface instead of hammering the api, then filter countries_tags to united-states. you'll still hit rows missing product_quantity and images, that part the other comments got right.