GET /api/search
Supported formats: json
Returns a list of Game Objects filtered by the parameters.
Example
This is an example where the search is narrowed by the name.
GEThttps://api.boardgameatlas.com/api/search?name=Catan&client_id=
Parameters
These are all the posible parameters to add to the search request to filter or change the results based on how each function.
Parameter | Type | Example | Details |
---|---|---|---|
limit | Number | 10 | Limits the number of results returned. The max limit is 100. The default is 30. |
skip | Number | 10 | Skips the number of results provided. It's generally used for paging results. |
ids | Array | TAAifFP590,OIXt3DmJU0 | The exact ids of the games you want returned comma separated. If they exist, this will return the associated games. |
list_id | String | Y0m2bJsZMf | The list id from a user created game list. You can get user game lists from /api/lists. |
kickstarter | Boolean | true | This returns a list of kickstarters ordered by the created date in descending order. You can use order_by with the 'deadline', parameter to change it to be ordered in ascending order of when the campaign is over. |
random | Boolean | true | This returns a random game. |
name | String | Last Stand | Name of a board game to search for. This search is based on the start of the strings. |
exact | Boolean | true | Use to make the name field only return games that match the name exactly. |
fuzzy_match | Boolean | true | Use to make the name field return fuzzy matches like 'cata' to return 'catan'. |
designer | String | Trent Ellingsen | Name of a board game designer to search for. This is an exact match parameter. |
publisher | String | 5 Color Combo | Name of the board game publisher to search for. This is an exact match parameter. |
artist | String | Dimitri Bielak | Name of an artist for a board game to search for. This is an exact match parameter. |
mechanics | String | vZsDDAdOoe,WPytek5P8l | A list of mechanic ids to search for. Get this list with /api/game/mechanics. |
categories | String | hBqZ3Ar4RJ,eX8uuNlQkQ | A list of category ids to search for. Get this list with /api/game/categories. |
order_by | String | year_published | Provide the name of another parameter and it will order the results according to it. The possible values include rank, price, discount, reddit_week_count, reddit_day_count, name, year_publisher, min_age, min_playtime, max_playtime, min_players, max_players |
ascending | Boolean | false | This determines which direction the list is shown in based on the order_by parameter. |
min_players | Int | 2 | Minimum number of players exactly matching the number. |
max_players | Int | 4 | Maximum number of players exactly matching the number. |
min_playtime | Int | 10 | Minimum number of minutes exactly matching the number. |
max_playtime | Int | 30 | Maximum number of minutes exactly matching the number. |
min_age | Int | 10 | Minimum age exactly matching the number. |
year_published | Int | 2018 | The year that a game was published. |
gt_min_players | Int | 2 | Greater than the provided minimum number of players. The example will return 3 or more. |
gt_max_players | Int | 4 | Greater than the provided maximum number of players. The example will return 5 or more. |
gt_min_playtime | Int | 10 | Greater than the provided minimum minutes of playtime. The example will return 11 or more. |
gt_max_playtime | Int | 30 | Greater than the provided maximum minutes of playtime. The example will return 31 or more. |
gt_min_age | Int | 10 | Greater than the provided minimum recommended player age. The example will return 11 or more. |
gt_year_published | Int | 2017 | Greater than the provided year published. The example will return 2018 or more. |
gt_price | Float | 20 | Greater than game's lowest listed price. |
gt_msrp | Float | 25 | Greater than game's listed MSRP price. |
gt_discount | Float | 0.5 | Greater than game's listed discount percent of price compared to MSRP. The example would return games with a discount of greater than 50%. |
gt_reddit_count | Int | 30 | Greater than the number of times the game has been mentioned on /r/boardgames since we started tracking that data in September 2018. |
gt_reddit_week_count | Int | 10 | Greater than the number of times the game has been mentioned on /r/boardgames in the past 7 days. |
gt_reddit_day_count | Int | 5 | Greater than the number of times the game has been mentioned on /r/boardgames in the past 24 hours. |
lt_min_players | Int | 3 | Less than the provided minimum number of players. The example will return 2 or less. |
lt_max_players | Int | 5 | Less than the provided maximum number of players. The example will return 4 or less. |
lt_min_playtime | Int | 10 | Less than the provided minimum minutes of playtime. The example will return 9 or less. |
lt_max_playtime | Int | 30 | Less than the provided maximum minutes of playtime. The example will return 29 or less. |
lt_min_age | Int | 10 | Less than the provided minimum recommended player age. The example will return 9 or less. |
lt_year_published | Int | 2017 | Less than the provided year published. The example will return 2016 or less. |
lt_price | Float | 20 | Less than game's lowest listed price. |
lt_msrp | Float | 25 | Less than game's listed MSRP price. |
lt_discount | Float | 0.5 | Less than game's listed discount percent of price compared to MSRP. The example would return games with a discount of less than 50%. |
lt_reddit_count | Int | 30 | Less than the number of times the game has been mentioned on /r/boardgames since we started tracking that data in September 2018. |
lt_reddit_week_count | Int | 10 | Less than the number of times the game has been mentioned on /r/boardgames in the past 7 days. |
lt_reddit_day_count | Int | 5 | Less than the number of times the game has been mentioned on /r/boardgames in the past 24 hours. |
fields | String | name,description,image_url | This performs a select on the database where it will only return the parameters that are specified instead of the entire object. |