# /api/v2/product/* is deprecated

Openfoodfacts deprecated /api/v2/product/* without giving a shutdown date yet.

Openfoodfacts has deprecated calls to /api/v2/product/* without a shutdown date. The endpoint remains supported for backward compatibility, but requests will eventually fail once it is removed.

## What to use instead

Read products from /api/v3/product/{code} instead. Moving to this endpoint requires updating your response parsing, as the new payload carries status "success", result, errors, and warnings instead of status 1 and status_verbose.

- API: Openfoodfacts (world.openfoodfacts.org)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `/api/v2/product/*`
- Source: [Announcement](https://openfoodfacts.github.io/openfoodfacts-server/api/)
- Verified: November 6, 2026, against Openfoodfacts's own pages
- Page: https://www.okapi.bot/providers/openfoodfacts/breaking-changes/api-v2-product-is-deprecated/

## Openfoodfacts's words

> Deprecated — still supported for backward compatibility

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
