Place Search

GET {{baseUrl}}/v3/places/search?query=Burgers&ll=41.8781,-87.6298&radius=36105&categories=13000&exclude_all_chains=true&fields=fsq_id,name,location&min_price=3&max_price=3&open_at=&open_now=true&near=&sort=DISTANCE&limit=20&session_token={{session_token}}

Search for places in the FSQ Places database using a location and querying by name, category name, telephone number, taste label, or chain name. For example, search for coffee to get back a list of recommended coffee shops.

You may pass a location with your request by using one of the following options. If none of the following options are passed, Place Search defaults to geolocation using ip biasing with the optional radius parameter.

  • ll & radius (circular boundary)
  • near (geocodable locality)
  • ne & sw (rectangular boundary)

Request Params

KeyDatatypeRequiredDescription
querystringA string to be matched against all content for this place, including but not limited to venue name, category, telephone number, taste, and tips.
llstringThe latitude/longitude around which to retrieve place information. This must be specified as latitude,longitude (e.g., ll=41.8781,-87.6298).
radiusnumberSets a radius distance (in meters) used to define an area to bias search results. The maximum allowed radius is 100,000 meters. Radius can be used in combination with ll or ip biased geolocation only. By using radius, global search results will be omitted.
categoriesnumberFilters the response and returns FSQ Places matching the specified categories. Supports multiple Category IDs, separated by commas.

For a complete list of Foursquare Category IDs, refer to the <a href="https://docs.foursquare.com/docs/categories" target="blank">Category Taxonomy</a> page. | | chains | null | | Filters the response and returns FSQ Places matching the specified chains. Supports multiple chain IDs, separated by commas.

For more information on Foursquare Chain IDs, refer to the <a href="https://docs.foursquare.com/docs/chains" target="blank">Chains</a> page. | | exclude_chains | null | | Filters the response and returns FSQ Places not matching any of the specified chains. Supports multiple chain IDs, separated by commas.

For more information on Foursquare Chain IDs, refer to the <a href="https://docs.foursquare.com/docs/chains" target="blank">Chains</a> page. | | exclude_all_chains | boolean | | Filters the response by only returning FSQ Places that are not known to be part of any chain. | | fields | string | | Indicate which fields to return in the response, separated by commas. If no fields are specified, all <a href="https://docs.foursquare.com/reference/response-fields#core-data-fields" target="_blank">Core Fields</a> are returned by default.

For a complete list of returnable fields, refer to the <a href="https://docs.foursquare.com/reference/response-fields" target="_blank">Response Fields</a> page. | | min_price | number | | Restricts results to only those places within the specified price range. Valid values range between 1 (most affordable) to 4 (most expensive), inclusive. | | max_price | number | | Restricts results to only those places within the specified price range. Valid values range between 1 (most affordable) to 4 (most expensive), inclusive. | | open_at | null | | Support local day and local time requests through this parameter. To be specified as DOWTHHMM (e.g., 1T2130), where DOW is the day number 1-7 (Monday = 1, Sunday = 7) and time is in 24 hour format.

Places that do not have opening hours will not be returned if this parameter is specified. | | open_now | boolean | | Restricts results to only those places that are open now.

Places that do not have opening hours will not be returned if this parameter is specified. | | ne | null | | The latitude/longitude representing the north/east points of a rectangle. Must be used with sw parameter to specify a rectangular search box. Global search results will be omitted. | | sw | null | | The latitude/longitude representing the south/west points of a rectangle. Must be used with ne parameter to specify a rectangular search box. Global search results will be omitted. | | near | null | | A string naming a locality in the world (e.g., "Chicago, IL"). If the value is not geocodable, returns an error. | | sort | string | | Specifies the order in which results are listed. Possible values are:<ul><li>relevance (default)</li><li>rating</li><li>distance</li></ul> | | limit | number | | The number of results to return, up to 50. Defaults to 10. | | session_token | string | | A user-generated token to identify a session for billing purposes. Learn more about session tokens. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;fsq_id&quot;:&quot;12340b116d390f4708ed099a&quot;,&quot;categories&quot;:[{&quot;id&quot;:13065,&quot;name&quot;:&quot;Restaurant&quot;,&quot;icon&quot;:{&quot;id&quot;:&quot;1234&quot;,&quot;created_at&quot;:&quot;2022-04-23T18:25:43.511Z&quot;,&quot;prefix&quot;:&quot;https://ss3.4sqi.net/img/categories_v2/food/hotdog_&quot;,&quot;suffix&quot;:&quot;.png&quot;,&quot;width&quot;:1500,&quot;height&quot;:1500,&quot;classifications&quot;:[&quot;food&quot;],&quot;tip&quot;:{&quot;id&quot;:&quot;123ABC&quot;,&quot;created_at&quot;:&quot;2022-04-23T18:25:43.511Z&quot;,&quot;text&quot;:&quot;A POI tip&quot;,&quot;url&quot;:&quot;somelink.com&quot;,&quot;photo&quot;:&quot;photolink.com&quot;,&quot;lang&quot;:&quot;EN&quot;,&quot;agree_count&quot;:1000,&quot;disagree_count&quot;:1000}}}],&quot;chains&quot;:[{&quot;id&quot;:&quot;12345&quot;,&quot;name&quot;:&quot;Chain Name&quot;}],&quot;date_closed&quot;:&quot;2023-01-15&quot;,&quot;description&quot;:&quot;description of poi&quot;,&quot;distance&quot;:292,&quot;email&quot;:&quot;poi@site.com&quot;,&quot;fax&quot;:&quot;123-456-7890&quot;,&quot;features&quot;:{&quot;payment&quot;:{&quot;credit_cards&quot;:{&quot;accepts_credit_cards&quot;:{},&quot;discover&quot;:{},&quot;visa&quot;:{},&quot;diners_club&quot;:{},&quot;master_card&quot;:{}},&quot;digital_wallet&quot;:{&quot;accepts_nfc&quot;:{}}},&quot;food_and_drink&quot;:{&quot;alcohol&quot;:{&quot;beer&quot;:{},&quot;byo&quot;:{},&quot;cocktails&quot;:{},&quot;full_bar&quot;:{},&quot;wine&quot;:{}},&quot;meals&quot;:{&quot;breakfast&quot;:{},&quot;brunch&quot;:{},&quot;lunch&quot;:{},&quot;happy_hour&quot;:{},&quot;dessert&quot;:{},&quot;dinner&quot;:{}}},&quot;services&quot;:{&quot;delivery&quot;:{},&quot;takeout&quot;:{},&quot;drive_through&quot;:{},&quot;dine_in&quot;:{&quot;reservations&quot;:{},&quot;online_reservations&quot;:{},&quot;groups_only_reservations&quot;:{}}},&quot;amenities&quot;:{&quot;restroom&quot;:{},&quot;smoking&quot;:{},&quot;jukebox&quot;:{},&quot;music&quot;:{},&quot;live_music&quot;:{},&quot;private_room&quot;:{},&quot;outdoor_seating&quot;:{},&quot;tvs&quot;:{},&quot;atm&quot;:{},&quot;coat_check&quot;:{},&quot;wheelchair_accessible&quot;:{},&quot;parking&quot;:{&quot;parking&quot;:{},&quot;street_parking&quot;:{},&quot;valet_parking&quot;:{},&quot;public_lot&quot;:{},&quot;private_lot&quot;:{}}}},&quot;geocodes&quot;:{&quot;drop_off&quot;:{&quot;latitude&quot;:41.879136,&quot;longitude&quot;:-87.632628},&quot;front_door&quot;:{&quot;latitude&quot;:41.879136,&quot;longitude&quot;:-87.632628},&quot;main&quot;:{&quot;latitude&quot;:41.879136,&quot;longitude&quot;:-87.632628},&quot;road&quot;:{&quot;latitude&quot;:41.879136,&quot;longitude&quot;:-87.632628},&quot;roof&quot;:{&quot;latitude&quot;:41.879136,&quot;longitude&quot;:-87.632628}},&quot;hours&quot;:{&quot;display&quot;:&quot;lorem&quot;,&quot;is_local_holiday&quot;:false,&quot;open_now&quot;:true,&quot;regular&quot;:[{&quot;close&quot;:&quot;10:00pm&quot;,&quot;day&quot;:&quot;1&quot;,&quot;open&quot;:&quot;6:00am&quot;}],&quot;seasonal&quot;:[{&quot;closed&quot;:&quot;true&quot;,&quot;end_date&quot;:&quot;2023-01-15&quot;,&quot;hours&quot;:[{&quot;close&quot;:&quot;10:00pm&quot;,&quot;day&quot;:&quot;1&quot;,&quot;open&quot;:&quot;6:00am&quot;}],&quot;start_date&quot;:&quot;2023-01-14&quot;}]},&quot;hours_popular&quot;:[{&quot;close&quot;:&quot;10:00pm&quot;,&quot;day&quot;:&quot;1&quot;,&quot;open&quot;:&quot;6:00am&quot;}],&quot;link&quot;:&quot;/v3/places/4c6b0b116d390f4708ed099a&quot;,&quot;location&quot;:{&quot;address&quot;:&quot;Ut magna ut&quot;,&quot;address_extended&quot;:&quot;exercitation cupidatat lab&quot;,&quot;admin_region&quot;:&quot;ad id nostrud exercitation commodo&quot;,&quot;census_block&quot;:&quot;culpa id est deserunt&quot;,&quot;country&quot;:&quot;sed exercitation ipsum&quot;,&quot;cross_street&quot;:&quot;labore est dolore tempor eiusm&quot;,&quot;dma&quot;:&quot;cillum cupidatat deserunt officia&quot;,&quot;formatted_address&quot;:&quot;quis anim voluptate labore tempor&quot;,&quot;locality&quot;:&quot;amet deserunt sunt eiusmod&quot;,&quot;neighborhood&quot;:[&quot;quis anim&quot;],&quot;po_box&quot;:&quot;culpa incididunt amet in&quot;,&quot;post_town&quot;:&quot;in&quot;,&quot;postcode&quot;:&quot;sed &quot;,&quot;region&quot;:&quot;amet reprehenderit eu Lorem&quot;},&quot;menu&quot;:&quot;lorem ipsum&quot;,&quot;name&quot;:&quot;The Florentine&quot;,&quot;photos&quot;:[{&quot;id&quot;:&quot;123455f5b863c0008b1edca&quot;,&quot;created_at&quot;:&quot;2020-01-14T02:50:07.000Z&quot;,&quot;prefix&quot;:&quot;https://fastly.4sqi.net/img/general/&quot;,&quot;suffix&quot;:&quot;/12345438_8tJRLpG3PbPVN-Ekde66x8XN7IVVYP__YaS1KmLfntc.png&quot;,&quot;width&quot;:2000,&quot;height&quot;:1500,&quot;classifications&quot;:[&quot;food&quot;],&quot;tip&quot;:{&quot;id&quot;:&quot;123ABC&quot;,&quot;created_at&quot;:&quot;2022-04-23T18:25:43.511Z&quot;,&quot;text&quot;:&quot;A POI tip&quot;,&quot;url&quot;:&quot;somelink.com&quot;,&quot;photo&quot;:&quot;photolink.com&quot;,&quot;lang&quot;:&quot;EN&quot;,&quot;agree_count&quot;:1000,&quot;disagree_count&quot;:1000}}],&quot;popularity&quot;:&quot;1.75&quot;,&quot;price&quot;:2,&quot;rating&quot;:&quot;75.52&quot;,&quot;related_places&quot;:{&quot;parent&quot;:&quot;lorem ipsom&quot;},&quot;social_media&quot;:{&quot;facebook_id&quot;:&quot;lorem&quot;,&quot;instagram&quot;:&quot;ipsom&quot;,&quot;twitter&quot;:&quot;plurubus&quot;},&quot;stats&quot;:{&quot;total_photos&quot;:20,&quot;total_ratings&quot;:50,&quot;total_tips&quot;:25},&quot;store_id&quot;:&quot;plurubus&quot;,&quot;tastes&quot;:[&quot;lorem&quot;],&quot;tel&quot;:&quot;123-456-7890&quot;,&quot;timezone&quot;:&quot;America/Chicago&quot;,&quot;tips&quot;:[{&quot;id&quot;:&quot;ullamco qui dolore&quot;,&quot;created_at&quot;:&quot;1963-08-21T13:57:06.927Z&quot;,&quot;text&quot;:&quot;eiusmod&quot;,&quot;url&quot;:&quot;eu commodo ut&quot;,&quot;photo&quot;:&quot;lorem ipsom&quot;,&quot;lang&quot;:&quot;nulla&quot;,&quot;agree_count&quot;:40683730,&quot;disagree_count&quot;:-65410876}],&quot;verified&quot;:true,&quot;website&quot;:&quot;www.thesite.com&quot;}],&quot;context&quot;:{&quot;geo_bounds&quot;:{&quot;circle&quot;:{&quot;center&quot;:{&quot;latitude&quot;:41.8781,&quot;longitude&quot;:-87.6298},&quot;radius&quot;:36105}}}}