InBetween
SearchPreferences

Dietary Filters

Use catersFilters to find venues that cater for diets and allergies, such as vegan, gluten-free or nut-free.

catersFilters is a list of diets and allergens. Venues that cater for more of them get a higher matchScore and appear higher in the results.

"preferences": {
  "catersFilters": ["vegan", "gluten_free"]
}

By default this is a ranking preference, so venues that don't cater for the list can still appear. For real dietary requirements, make it a filter with nonCompromise:

"preferences": {
  "catersFilters": ["gluten_free"],
  "nonCompromise": ["catersFilters"]
}

Non-compromise means at least one

With nonCompromise, a venue must cater for at least one of the listed values, not all of them. ["vegan", "nut_free"] returns venues that are vegan or nut-free. If someone needs both, send the stricter requirement as the filter and check catersFlags on each result for the rest.

Values

The same values are returned on each venue as catersFlags, and on menu items as dietaryFlags.

ValueVenue has options that are…
veganvegan
vegetarianvegetarian
pescatarianpescatarian
halalhalal, by local rules where the venue is
kosherkosher, by local rules where the venue is
ketoketo-friendly
paleopaleo-friendly
low_carblow-carb
low_fatlow-fat
low_saltlow-salt
low_sugarlow-sugar
low_carbonlow-carbon or locally produced
alcohol_freealcohol-free
spiceyspicy (note the spelling)
gluten_freefree from gluten
wheat_freefree from wheat
dairy_freefree from dairy
egg_freefree from egg
nut_freefree from nuts
peanut_freefree from peanuts
tree_nut_freefree from tree nuts
sesame_freefree from sesame
soy_freefree from soy
fish_freefree from fish
crustacean_freefree from crustaceans (crab, lobster, prawns)
mollusk_freefree from molluscs (mussels, clams, squid)
celery_freefree from celery
mustard_freefree from mustard
lupine_freefree from lupin
sulphur_freefree from sulphites
allium_freefree from alliums (onion, garlic, leek, chives)
mushroom_freefree from mushrooms

Values are lowercase snake_case. Values not in this list are ignored.

Allergies are the diner's responsibility

Dietary data tells you a venue has suitable options. It is not a guarantee about cross-contamination or preparation. Tell your users to confirm allergies with the venue directly.

Examples

{
  "locations": [
    { "lat": 51.5072, "lon": -0.1276 },
    { "lat": 51.5154, "lon": -0.1419 }
  ],
  "mode": { "mode": "POINT", "maxDistance": 800 },
  "preferences": {
    "catersFilters": ["vegan", "vegetarian", "gluten_free"],
    "establishmentFilters": ["serves_dinner"]
  }
}
{
  "locations": [{ "lat": 51.5136, "lon": -0.1365 }],
  "mode": { "mode": "POINT", "maxDistance": 1000 },
  "preferences": {
    "catersFilters": ["gluten_free"],
    "nonCompromise": ["catersFilters"]
  }
}
{
  "locations": [{ "lat": 51.5155, "lon": -0.0722 }],
  "mode": { "mode": "POINT", "maxDistance": 1000 },
  "preferences": {
    "catersFilters": ["halal", "kosher"],
    "nonCompromise": ["catersFilters"]
  }
}

For item-by-item dietary detail, use the Menus endpoint. Each menu item has its own dietaryFlags.

Next steps

On this page