Filters are used to sift through results to get what you want. You can exclude and include results based on their properties. For example you could remove all Games where the
rating was below 80 (
Filters are parameter arrays so must be added using special keys like this:
The filter itself comprises of 2 parts; The
field and the
postfix. Fields are described in the section on the left, postfixes are described below.
Filters can be used on any entity that has sub-properties such as Games, Companies, People etc.
eqEqual: Exact match equal.
not_eqNot Equal: Exact match equal.
gtGreater than works only on numbers.
gteGreater than or equal to works only on numbers.
ltLess than works only on numbers.
lteLess than or equal to works only on numbers.
prefixPrefix of a value only works on strings.
existsThe value is not null.
not_existsThe value is null.
inThe value exists within the (comma separated) array (AND between values).
not_inThe values must not exists within the (comma separated) array (AND between values).
anyThe value has any within the (comma separated) array (OR between values).
id field is special and cannot be filtered.
Applying any postfix to the field
id are not supported except for
not_in which can be used to filter away specific results.
searchThis parameter is not like other filters. It is an independant parameter that performs a full text search.
order parameter will override the default
relevance ordering of search results.
If you checkout the platforms endpoint:
You will find the names and id’s of the platform. Select the ones you want.
Then when you know the ID’s of the platform:
This will give you games that are released on PS4 or XBOX ONE or PC