InBetween
SearchPreferences

Chains

Use chainPreference to include, exclude or favour chain and independent venues.

"preferences": {
  "chainPreference": "PREFER_INDEPENDENT"
}
ValueEffect
NO_PREFERENCEDefault. Chains and independents are treated the same.
PREFER_INDEPENDENTRanking: independents score higher and chains score lower.
PREFER_CHAINSRanking: chains score higher and independents score lower.
NO_CHAINSFilter: only independent venues are returned.
CHAINS_ONLYFilter: only chain venues are returned.

Values are uppercase and case-sensitive. Each venue's isChain field tells you which group it's in.

Examples

{
  "locations": [{ "lat": 51.5246, "lon": -0.0784 }],
  "mode": { "mode": "POINT", "maxDistance": 600 },
  "preferences": {
    "establishmentFilters": ["serves_coffee"],
    "chainPreference": "NO_CHAINS"
  }
}
{
  "locations": [{ "lat": 51.531, "lon": -0.1233 }],
  "mode": { "mode": "POINT", "maxDistance": 400 },
  "preferences": {
    "establishmentFilters": ["serves_breakfast", "takeout"],
    "chainPreference": "PREFER_CHAINS"
  }
}

Tips

  • Use PREFER_INDEPENDENT rather than NO_CHAINS unless your product promises independents only. A well-matched chain is often better than no result.
  • CHAINS_ONLY suits predictable needs, such as travellers who want a familiar breakfast.

Next steps

On this page