{"format":1,"contract":2,"build":"20261115","path":"d/20261115","tokenBuckets":12000,"barcodeBuckets":4096,"maxPerToken":1000,"counts":{"records":3307382,"bySource":{"F":373,"S":7713,"N":5342,"B":424132,"O":2854314,"M":9314,"U":2853,"C":3341},"tokenSearchable":2620978,"barcodes":3315824,"generic":19622},"sources":[{"code":"F","name":"USDA FoodData Central (Foundation Foods)","license":"CC0 1.0 Universal (public domain)","licenseUrl":"https://creativecommons.org/publicdomain/zero/1.0/","url":"https://fdc.nal.usda.gov/","attribution":"USDA, Agricultural Research Service, FoodData Central: Foundation Foods (October 2026 release). fdc.nal.usda.gov","credit":"USDA, Agricultural Research Service, FoodData Central (public domain)","generic":true},{"code":"S","name":"USDA FoodData Central (SR Legacy)","license":"CC0 1.0 Universal (public domain)","licenseUrl":"https://creativecommons.org/publicdomain/zero/1.0/","url":"https://fdc.nal.usda.gov/","attribution":"USDA, Agricultural Research Service, FoodData Central: SR Legacy (April 2018). fdc.nal.usda.gov","credit":"USDA, Agricultural Research Service, FoodData Central (public domain)","generic":true},{"code":"N","name":"USDA FoodData Central (FNDDS 2021-2023, Survey Foods)","license":"CC0 1.0 Universal (public domain)","licenseUrl":"https://creativecommons.org/publicdomain/zero/1.0/","url":"https://fdc.nal.usda.gov/","attribution":"USDA, Agricultural Research Service, FoodData Central: Food and Nutrient Database for Dietary Studies 2021-2023 (October 2024 release). fdc.nal.usda.gov","credit":"USDA, Agricultural Research Service, FoodData Central (public domain)","generic":true},{"code":"B","name":"USDA FoodData Central (Global Branded Food Products Database)","license":"CC0 1.0 Universal (public domain)","licenseUrl":"https://creativecommons.org/publicdomain/zero/1.0/","url":"https://fdc.nal.usda.gov/","attribution":"USDA, Agricultural Research Service, FoodData Central: Branded Foods (October 2026 release). fdc.nal.usda.gov","credit":"USDA, Agricultural Research Service, FoodData Central (public domain)","generic":false},{"code":"O","name":"Open Food Facts","license":"Open Database License (ODbL) 1.0 for the database; Database Contents License (DbCL) 1.0 for individual contents. Product images are CC BY-SA and are not used.","licenseUrl":"https://opendatacommons.org/licenses/odbl/1-0/","url":"https://world.openfoodfacts.org/","attribution":"Contains data from Open Food Facts (https://world.openfoodfacts.org), available under the Open Database License (https://opendatacommons.org/licenses/odbl/1-0/). Individual contents under the Database Contents License (https://opendatacommons.org/licenses/dbcl/1-0/).","credit":"Contains data from Open Food Facts, available under the Open Database License","generic":false},{"code":"M","name":"NYC DOHMH MenuStat (Historical), restaurant chain menu items","license":"NYC public data set under NYC Admin. Code 23-502(d): no registration, licence or use restrictions; the City may require redistributors to identify the source and version and describe modifications","licenseUrl":"https://data.cityofnewyork.us/Health/DOHMH-MenuStat-Historical-/qgc5-ecnb","url":"https://data.cityofnewyork.us/Health/DOHMH-MenuStat-Historical-/qgc5-ecnb","attribution":"Restaurant data: NYC Department of Health and Mental Hygiene (DOHMH), MenuStat (Historical), NYC Open Data dataset qgc5-ecnb (data collected January 2017 and January 2018; published 2019-02-04). Modified by Losing It: converted to kcal per 100 g / 100 ml from the stated serving size; items without a serving size, limited-time offers, items no longer listed in 2018 and internally inconsistent items were removed. Restaurant names are trademarks of their owners, who do not endorse this app.","credit":"Restaurant data: NYC Health Department, MenuStat (NYC Open Data)","generic":false},{"code":"U","name":"UK CoFID 2021 (McCance and Widdowson's The Composition of Foods Integrated Dataset 2021, Public Health England)","license":"Open Government Licence v3.0","licenseUrl":"https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/","url":"https://www.gov.uk/government/publications/composition-of-foods-integrated-dataset-cofid","attribution":"Contains public sector information licensed under the Open Government Licence v3.0 (https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/). Source: Public Health England (2021) McCance and Widdowson's The Composition of Foods Integrated Dataset 2021. (c) Crown copyright 2021.","credit":"Contains public sector information licensed under the Open Government Licence v3.0 (UK CoFID 2021)","generic":true},{"code":"C","name":"ANSES CIQUAL 2025 French food composition table (English names)","license":"Licence Ouverte / Etalab Open Licence 2.0","licenseUrl":"https://www.etalab.gouv.fr/licence-ouverte-open-licence/","url":"https://doi.org/10.57745/RDMHWY","attribution":"Anses. 2025. Table de composition nutritionnelle des aliments Ciqual (Ciqual 2025, https://doi.org/10.57745/RDMHWY, last updated 2025-11-19). Licence Ouverte / Open Licence 2.0 (Etalab). Modified: English food names and EU Regulation 1169/2011 energy (kcal/100 g) only.","credit":"Anses, Ciqual 2025 food composition table (updated 2025-11-19), Licence Ouverte 2.0","generic":true}],"scoring":{"range":"integer, clamped to 0..1000; higher is better; the default rank before the query bonuses","F":"735 (+10 with portions): USDA Foundation, accurate lab analyses","N":"735 (+10 with portions): USDA FNDDS survey foods, consumer-friendly names and portions","S":"730 (+10 with portions): USDA SR Legacy","generic forms":"F/S/N: +45 when every word after the first is a neutral descriptor (raw, NFS, plain, cooked, fresh, whole, regular, brewed, a number ...: 'Banana, raw', 'Milk, NFS'), else +20 for a USDA 'Head, descriptor' name whose first part is one word ('Rice, white, cooked'); +12 per neutral word after the first (max 5); -40 for ingredient forms (flour, dry powder, concentrate, dehydrated, baby food, infant formula, pre-gelatinized); S: -120 for SR Legacy brand records (an ALL-CAPS brand in the name: 'Beverages, water, bottled, PEPSI, AQUAFINA')","U,C":"560 (-40 for ingredient forms): generic extras (UK CoFID 2021, French CIQUAL 2025)","M":"550 (+10 with portions), -150 for drinks (unit ml or category Beverages): restaurant chain items (MenuStat, 2018 menus)","B":"420 + recency + twinPop + 10 with a portion; recency = round(80*clamp(1 - age_days/(8*365.25), 0, 1)) with age = build date - record date; twinPop = round(150*min(1, log10(1+unique_scans_n)/3.25)) taken from the Open Food Facts record with the same barcode","O":"250 + pop + region + completeness; pop = round(350*min(1, log10(1+unique_scans_n)/3.25)); region = 60 when countries has united-states (or lang is en), 30 for united-kingdom, canada, australia, ireland, new-zealand; completeness = 10 brand + 10 portion + 5 category","all":"minus min(60, len(name) - 60) when the name is longer than 60 characters; B/O: -80 when every name word is part of the brand ('Starbucks | Starbucks') and the product has fewer than 20 scans; O: -150 when kcal is more than 2x away from the median of the other B/O records with the same brand, unit and name words (at least 3 others, or 4 when the name has one word besides the brand)"},"baseUrl":"https://losingit-food.pages.dev"}