Skip to main content
Every Find endpoint filters on the values the Knowledge Graph publishes, and each filter matches those values in full. Some are easy to guess, like PUBLIC or RANK_1. Others are not: regions read State of California, nationalities read American rather than US, and source languages read English rather than en. Filter Values lists the values a filter accepts, so you can read them instead of guessing. It is only supported in the API.

Usage

category is any Knowledge Graph category, and filter is the name of one of that category’s filters, spelled as it appears in the request body of its Find endpoint. For example, the regions you can filter places by:
Output:
A value from that list goes straight into the filter it came from:
Values are returned in the form the filter accepts, so no translation is needed: countries come back as ISO 3166-1 alpha-2 codes, and source ranks as RANK_1 to RANK_5, because that is what those filters take.
The whole list is returned, sorted, with no narrowing parameter, and is capped at 5000 values.

Availability

Every filter of every category is available, with three exceptions on sources that are not stored in a form that can be listed: packages, categories and tiers. Those return 404, as does an unknown category or a filter that the category does not have.