Okapi Okapi

Openfoodfacts · Endpoint removal

/api/v2/product/* is deprecated

Deprecated, no date

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

What to use instead of these calls

Read products from /api/v3/product/{code}: its answer carries status "success" and result, errors and warnings instead of status 1 and status_verbose.

Calls it hits

  • /api/v2/product/*

Facts

API
Openfoodfacts world.openfoodfacts.org
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated

Know before your API calls break.

Okapi finds the calls a breaking change hits in your code and opens the pull request that fixes them.

Add to GitHub