InBetween
Search

Group Search

Give each person in a group their own preferences, and see how well every place suits each of them.

When a group is choosing somewhere together, everyone wants something different: Sam is vegan, Priya wants to keep it under £25, Alex fancies Italian. Merging those into one preferences object loses who wanted what. Strict wishes stack up into too few results, and the rest blur together.

Send members instead. Each member has their own preferences and, optionally, a location. Every place comes back with how well it suits each member (memberFit) and the group (groupFit), and places that work for everyone come first.

POST https://api.inbe.us/v1/search
{
  "mode": { "mode": "POINT", "maxDistance": 2000 },
  "preferences": {
    "goodFor": ["watching sport"],
    "openingConditions": { "state": "OPEN", "atTime": "2026-12-05T19:30:00Z" }
  },
  "members": [
    {
      "id": "sam",
      "location": { "locationName": "Old Street, London" },
      "preferences": {
        "catersFilters": ["vegan"],
        "nonCompromise": ["catersFilters"]
      }
    },
    {
      "id": "priya",
      "location": { "lat": 51.5178, "lon": -0.0823 },
      "travel": "transit",
      "preferences": { "maxPricePerHead": 25 }
    },
    {
      "id": "alex",
      "location": { "lat": 51.5322, "lon": -0.1058 },
      "preferences": { "genre": ["italian", "pizza"], "vibes": ["lively"] }
    }
  ]
}

Group choices and personal wishes

Top-level preferencesA member's preferences
What it's forThe group's shared choices: the occasion, the time, "good for watching sport"One person's wishes
EffectExactly as in a normal search: filters and rankingNever filters. Scored for that person in memberFit
nonCompromiseTurns lists into filtersMarks that person's dealbreakers (any field can be named)

A member's wishes help decide which places are looked at, but they never remove a place on their own. That way a place that suits four of five people is still shown, and you can see who it doesn't suit.

Members

Prop

Type

Up to 20 members. mode defaults to POINT when you send members.

Group options

FieldDefaultDescription
requireEveryonefalseLeave out places that break anyone's dealbreaker.
rank"everyone"everyone: places that work for every member first, then by how many it works for, the group score, and the longest trip. blend: the order of a normal search.
fitDetail"full"summary leaves out matched, unmet and unknown. See Privacy.

Response

Each place has every field a normal search returns, plus:

"memberFit": [
  {
    "id": "sam", "score": 0.96, "status": "match",
    "matched": ["catersFilters:vegan"], "unmet": [], "unknown": [],
    "travel": { "distanceMeters": 1100, "minutes": 18, "mode": "walk" }
  },
  {
    "id": "priya", "score": 0.63, "status": "match",
    "matched": [], "unmet": [], "unknown": ["maxPricePerHead"],
    "travel": { "distanceMeters": 900, "minutes": 10, "mode": "transit" }
  },
  {
    "id": "alex", "score": 0.48, "status": "partial",
    "matched": ["vibes:lively"], "unmet": ["genre:italian", "genre:pizza"], "unknown": [],
    "travel": { "distanceMeters": 1500, "minutes": 25, "mode": "walk" }
  }
],
"groupFit": {
  "score": 0.59, "worksForCount": 2, "memberCount": 3,
  "everyone": false, "worstTravelMinutes": 25
}

memberFit

One entry per member, in the order you sent them.

FieldDescription
statusmatch: nothing they asked for is known to be missing. partial: some wishes aren't met. miss: one of their dealbreakers isn't met.
score0 to 1. Each wish counts once, a dealbreaker twice. A met wish earns full credit, an unknown one half. With a location, a quarter of the score is the trip: full up to 10 minutes, none from 60.
matchedWhat the place meets, as field or field:value: catersFilters:vegan, goodFor:date, maxPricePerHead. For genre and vibes, where any one will do, only the values that matched.
unmetWhat the place doesn't meet.
unknownWhat we can't tell, because the place's details are missing (no price, no opening hours, no accessibility details). Unknown is never counted as a miss.
travelAn estimate from straight-line distance and typical speeds, not a route. null when the member sent no location.

groupFit

FieldDescription
everyonetrue when the place is a match for every member. This is your "it's a match".
worksForCountHow many members it's a match for.
scoreHalf the least happy member's score plus half the average, so a place everyone likes beats one that's brilliant for one person.
worstTravelMinutesThe longest trip. null when no member sent a location.

Pages

A group search ranks one list of up to 100 places, and pages are cut from it. totalFound is the length of that list. The list is kept for 10 minutes, so further pages of the same request come back quickly and in the same order while people swipe. Paginate with limit and offset as usual.

A group search is billed like any search.

Privacy

The API never returns a member's location label or preferences, only their id and how well each place fits them. But matched and unmet do hint at what someone asked for: unmet: ["catersFilters:halal"] tells you they wanted halal. If your app shows results to people who shouldn't see each other's wishes, send "fitDetail": "summary" to get only score, status and travel.

Next steps

On this page