This doesn’t actually create a new location, it just sends location information to region admins. Please send a region or lat/lon combo to get suggestions to the right people.
| Param name | Description |
|---|---|
|
location_name
required |
Name of new location Validations:
|
|
region_id
optional |
ID of the region that the location belongs in Validations:
|
|
lat
optional |
Latitude Validations:
|
|
lon
optional |
Longitude Validations:
|
|
location_street
optional |
Street address of new location Validations:
|
|
location_city
optional |
City of new location Validations:
|
|
location_state
optional |
State of new location Validations:
|
|
location_zip
optional |
Zip code of new location Validations:
|
|
location_phone
optional |
Phone number of new location Validations:
|
|
location_website
optional |
Website of new location Validations:
|
|
location_type
optional |
Type of location Validations:
|
|
location_operator
optional |
Machine operator of new location Validations:
|
|
location_zone
optional |
Machine operator of new location Validations:
|
|
location_all_ages
optional |
Whether the location is all ages. One of ‘Yes’, ‘At Times’, and ‘No’ Validations:
|
|
location_payment_type
optional |
Whether the location is free to play. The only accepted value is ‘Free Play’ Validations:
|
|
location_comments
optional |
Comments Validations:
|
|
place_id
optional |
Google Maps Place ID Validations:
|
|
location_machines
optional |
List of machines at new location Validations:
|
|
location_machines_ids
optional |
List of machine ids at new location Validations:
|
This will also return a list of machines at each location
| Param name | Description |
|---|---|
|
region
required |
Name of the Region you want to see locations for Validations:
|
|
by_location_name
optional |
Name of location to search for Validations:
|
|
by_location_id
optional |
Location ID to search for Validations:
|
|
by_machine_id
optional |
Machine ID to find in locations. Returns locations with all variant models of the machine Validations:
|
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version Validations:
|
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
|
by_machine_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with all variant models of the machine. Validations:
|
|
by_machine_single_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with exact model of the machine. Validations:
|
|
manufacturer
optional |
Locations with machines from this manufacturer. Additional filtering required for this endpoint. Validations:
|
|
by_machine_year
optional |
Locations with at least one machine manufacturered in this year. Additional filtering required for this endpoint. Validations:
|
|
by_machine_year_gte
optional |
Locations with at least one machine manufactured in this year or later Validations:
|
|
by_machine_year_lte
optional |
Locations with at least one machine manufactured in this year or earlier Validations:
|
|
by_ipdb_id
optional |
IPDB ID to find in locations Validations:
|
|
by_opdb_id
optional |
OPDB ID to find in locations Validations:
|
|
by_machine_name
optional |
Find machine name in locations Validations:
|
|
by_city_id
optional |
City to search for Validations:
|
|
by_city_no_state
optional |
City to search for when that city is in a country that does not have state/provinces in the data Validations:
|
|
by_state_id
optional |
State to search for. Matches location state field (often an abbreviation). Additional filtering required for this endpoint. Validations:
|
|
by_country
optional |
Country to search for. Matches location country code, in all caps, such as ‘US’. Additional filtering required for this endpoint. Validations:
|
|
by_zone_id
optional |
Zone ID to search by Validations:
|
|
by_operator_id
optional |
Operator ID to search by Validations:
|
|
by_type_id
optional |
Location type ID to search by Validations:
|
|
place_id
optional |
Google Maps Place ID for helping app to identify whether location exists Validations:
|
|
by_at_least_n_machines
optional |
Only locations with N or more machines. Additional filtering required for this endpoint. Validations:
|
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines. Additional filtering required for this endpoint. Validations:
|
|
by_is_stern_army
optional |
Send only locations labeled as Stern Army Validations:
|
|
by_ic_active
optional |
Send only locations that have at least one machine that is tagged as Stern Insider Connected. Additional filtering required for this endpoint. Validations:
|
|
by_machine_type
optional |
Locations with machines of this type (em, ss, me). Additional filtering required for this endpoint. Validations:
|
|
by_machine_display
optional |
Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights). Additional filtering required for this endpoint. Validations:
|
|
no_details
optional |
Omit lmx/condition data from pull. Additional filtering required for this endpoint. Validations:
|
|
with_lmx
optional |
Include location machine details such as comments. Additional filtering required for this endpoint. Validations:
|
|
regionless_only
optional |
Show only regionless locations Validations:
|
|
by_all_ages
optional |
Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages. Additional filtering required for this endpoint. Validations:
|
|
by_payment_type
optional |
Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play). Additional filtering required for this endpoint. Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of location Validations:
|
|
description
optional |
Description of location Validations:
|
|
website
optional |
Website of location Validations:
|
|
phone
optional |
Phone number of location Validations:
|
|
location_type
optional |
ID of location type Validations:
|
|
operator_id
optional |
ID of the operator Validations:
|
|
all_ages
optional |
Whether the location is all ages. One of ‘Yes’, ‘At Times’ Validations:
|
|
payment_type
optional |
Whether the location is free to play. The only accepted value is ‘Free Play’ Validations:
|
This sends you the closest location to your lat/lon (defaults to within 50 miles). It includes a list of machines at the location.
| Param name | Description |
|---|---|
|
lat
required |
Latitude Validations:
|
|
lon
required |
Longitude Validations:
|
|
by_type_id
optional |
Location type ID to search by Validations:
|
|
manufacturer
optional |
Locations with machines from this manufacturer Validations:
|
|
by_machine_id
optional |
Machine ID to find in locations Validations:
|
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version Validations:
|
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
|
by_machine_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with all variant models of the machine Validations:
|
|
by_machine_single_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with exact model of the machine Validations:
|
|
by_machine_year
optional |
Locations with at least one machine manufacturered in this year Validations:
|
|
by_machine_year_gte
optional |
Locations with at least one machine manufactured in this year or later Validations:
|
|
by_machine_year_lte
optional |
Locations with at least one machine manufactured in this year or earlier Validations:
|
|
by_operator_id
optional |
Operator ID to search by Validations:
|
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
|
by_machine_type
optional |
Locations with machines of this type (em, ss, me) Validations:
|
|
by_machine_display
optional |
Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights) Validations:
|
|
max_distance
optional |
Closest location within “max_distance” miles, with a max of 500 Validations:
|
|
no_details
optional |
Omit data that app does not need from pull Validations:
|
|
send_all_within_distance
optional |
Send all locations within max_distance param, or 50 miles. Validations:
|
|
by_all_ages
optional |
Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages. Validations:
|
|
by_payment_type
optional |
Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play). Validations:
|
This sends locations within the sw_corner and ne_corner bounding box. It includes a list of machines at the location. If the bounding box diagonal exceeds 500 miles and no limit param and no_details != 2 is sent, results are capped at 50 and pagination metadata is included in the response.
| Param name | Description |
|---|---|
|
swlat
required |
SW_Latitude Validations:
|
|
swlon
required |
SW_Longitude Validations:
|
|
nelat
required |
NE_Latitude Validations:
|
|
nelon
required |
NE_Longitude Validations:
|
|
by_type_id
optional |
Location type ID to search by Validations:
|
|
manufacturer
optional |
Locations with machines from this manufacturer. Multiple manufacturers can be chained together like manufacturer[]=Stern&manufacturer[]=Bally etc. Validations:
|
|
by_machine_id
optional |
Machine ID to find in locations, returns all versions in group. Multiple IDs can be chained together like by_machine_id[]=111&by_machine_id[]=222 etc. Validations:
|
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version. Multiple IDs can be chained together like by_machine_single_id[]=111&by_machine_single_id[]=22. Validations:
|
|
by_machine_group_id
optional |
Machine Group ID to find in locations. Multiple IDs can be chained together like by_machine_group_id[]=111&by_machine_group_id[]=22. Validations:
|
|
by_machine_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with any variant models of the machine. Multiple IDs can be chained together like by_machine_id_ic[]=111&by_machine_id_ic[]=22. Validations:
|
|
by_machine_single_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with exact model of the machine. Multiple IDs can be chained together like by_machine_single_id_ic[]=111&by_machine_single_id_ic[]=22. Validations:
|
|
by_machine_year
optional |
Locations with at least one machine manufacturered in this year. Multiple years can be chained together by_machine_year[]=1980&by_machine_year[]=1982. Validations:
|
|
by_machine_year_gte
optional |
Locations with at least one machine manufactured in this year or later Validations:
|
|
by_machine_year_lte
optional |
Locations with at least one machine manufactured in this year or earlier Validations:
|
|
by_operator_id
optional |
Operator ID to search by Validations:
|
|
by_ic_active
optional |
Send only locations that have at least one machine that is tagged as Stern Insider Connected Validations:
|
|
user_faved
optional |
User ID of Faved Locations Validations:
|
|
by_ipdb_id
optional |
IPDB ID to find in locations. Multiple IDs can be chained together like by_ipdb_id[]=4565&by_ipdb_id[]=2345. Validations:
|
|
by_opdb_id
optional |
OPDB ID to find in locations. Multiple IDs can be chained together like by_opdb_id[]=4565&by_opdb_id[]=2345. Validations:
|
|
by_at_least_n_machines
optional |
Only locations with N or more machines Validations:
|
|
by_at_least_n_machines_type
optional |
Only locations with N or more machines Validations:
|
|
by_machine_type
optional |
Locations with machines of this type (em, ss, me). Multiple types can be chained together like by_machine_type[]=ss&by_machine_type[]=em. Validations:
|
|
by_machine_display
optional |
Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights). Multiple display types can be chained together like by_machine_display[]=dmd&by_machine_display[]=reels. Validations:
|
|
no_details
optional |
Omit data that app does not need from pull (options include ‘1’ or ‘2’) Validations:
|
|
by_all_ages
optional |
Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages. Validations:
|
|
by_payment_type
optional |
Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play). Validations:
|
|
limit
optional |
Limit results to a quantity and include pagination metadata in response Validations:
|
|
order_by
optional |
Order results descending by a field in the locations scope. Allowed fields are updated_at, name, machine_count, distance. Otherwise, sorts by location ID. Using distance requires user_lat and user_lon params Validations:
|
|
machines_only
optional |
When set to ‘1’, returns only a flat list of unique machine_ids found across all matching locations. No location data is included. Validations:
|
This sends you the closest location to your address (defaults to within 50 miles). It includes a list of machines at the location.
| Param name | Description |
|---|---|
|
address
required |
Address Validations:
|
|
max_distance
optional |
Closest location within “max_distance” miles, max 500 Validations:
|
|
send_all_within_distance
optional |
Send all locations within max_distance param, or 50 miles. Validations:
|
|
no_details
optional |
Omit data that app does not need from pull Validations:
|
|
by_ic_active
optional |
Send only locations that have at least one machine that is tagged as Stern Insider Connected Validations:
|
|
manufacturer
optional |
Locations with machines from this manufacturer Validations:
|
|
by_machine_type
optional |
Locations with machines of this type (em, ss, me) Validations:
|
|
by_machine_display
optional |
Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights) Validations:
|
|
by_machine_id
optional |
Machine ID to find in locations, returns all versions in group Validations:
|
|
by_machine_single_id
optional |
Machine ID to find in locations, returns only exact version Validations:
|
|
by_machine_group_id
optional |
Machine Group to search for Validations:
|
|
by_machine_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with all variant models of the machine Validations:
|
|
by_machine_single_id_ic
optional |
Machine ID to find in locations, when Stern Insider Connected is enabled for that machine at that location. Returns locations with exact model of the machine Validations:
|
|
by_machine_year
optional |
Locations with at least one machine manufacturered in this year Validations:
|
|
by_machine_year_gte
optional |
Locations with at least one machine manufactured in this year or later Validations:
|
|
by_machine_year_lte
optional |
Locations with at least one machine manufactured in this year or earlier Validations:
|
|
by_all_ages
optional |
Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages. Validations:
|
|
by_payment_type
optional |
Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play). Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of location Validations:
|
|
no_details
optional |
Omit lmx/condition data from pull. When no_details=1 and user_id is included, each lmx includes an in_life_list boolean; no_details=2 includes the first 5 machines and a count of machine - optimized for when you click a map marker on the app and it displays in the bottom sheet Validations:
|
|
metadata_only
optional |
Omit entire lmx list from pull - optimized for the app in order to refetch a small subset of location data after a particular update Validations:
|
|
user_id
optional |
When included with no_details=1, each lmx includes an in_life_list boolean for this user Validations:
|
| Param name | Description |
|---|---|
|
id
required |
Location id Validations:
|
|
thumbnail
optional |
Return 200x200 thumbnail variants instead of full-size Validations:
|
| Param name | Description |
|---|---|
|
id
required |
ID of location Validations:
|
|
machines_only
optional |
Simple list of only machine names Validations:
|
| Param name | Description |
|---|---|
|
name
required |
city/state name part Validations:
|
| Param name | Description |
|---|---|
|
name
required |
name to fuzzy search with Validations:
|
Fetch top 10 cities by number of locations
Fetch top 10 cities by number of machines
Fetch a count of each location type
Fetch countries by number of locations
Fetch biggest locations by number of number
Geocode address to lat/lon. Requires an api_token (param or X-Api-Token header).
| Param name | Description |
|---|---|
|
address
required |
Address Validations:
|
|
api_token
optional |
API token (or send the X-Api-Token header) Validations:
|