---
title: "Look up food by UPC/EAN barcode"
method: POST
path: "/api/food-log/barcode-lookup"
tags: ["Food Log"]
---

# Look up food by UPC/EAN barcode

`POST /api/food-log/barcode-lookup`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/food-log/barcode-lookup`
- Auth: HTTP bearer

## Headers

- `x-timezone` string, required

## Request body

- BarcodeLookupDto
  - `barcode` string, required: UPC or EAN barcode string

## Response `200`

- unknown

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
