This sends you the closest location to your address (defaults to within 50 miles). It includes a list of machines at the location.

Supported Formats

json

Params

Param name Description
address
required

Address

Validations:

  • Must be a String

max_distance
optional

Closest location within “max_distance” miles, max 500

Validations:

  • Must be a String

send_all_within_distance
optional

Send all locations within max_distance param, or 50 miles.

Validations:

  • Must be a String

no_details
optional

Omit data that app does not need from pull

Validations:

  • Must be a Integer

by_ic_active
optional

Send only locations that have at least one machine that is tagged as Stern Insider Connected

Validations:

  • Must be one of: true, false, 1, 0.

manufacturer
optional

Locations with machines from this manufacturer

Validations:

  • Must be a String

by_machine_type
optional

Locations with machines of this type (em, ss, me)

Validations:

  • Must be a String

by_machine_display
optional

Locations with machines with this display (alphanumeric, lcd, dmd, reels, lights)

Validations:

  • Must be a String

by_machine_id
optional

Machine ID to find in locations, returns all versions in group

Validations:

  • Must be a Integer

by_machine_single_id
optional

Machine ID to find in locations, returns only exact version

Validations:

  • Must be a Integer

by_machine_group_id
optional

Machine Group to search for

Validations:

  • Must be a String

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:

  • Must be a Integer

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:

  • Must be a Integer

by_machine_year
optional

Locations with at least one machine manufacturered in this year

Validations:

  • Must be a Integer

by_machine_year_gte
optional

Locations with at least one machine manufactured in this year or later

Validations:

  • Must be a Integer

by_machine_year_lte
optional

Locations with at least one machine manufactured in this year or earlier

Validations:

  • Must be a Integer

by_all_ages
optional

Send only all ages locations. Locations tagged ‘Yes’ or ‘At Times’ are both included. ‘No’ for not all ages.

Validations:

  • Must be a String

by_payment_type
optional

Send only free play locations. Accepted values are ‘Free Play’ and ‘No’ (meaning not Free Play).

Validations:

  • Must be a String