Foursquare
FREE
By serg.osipchuk
Updated a year ago

Foursquare API Documentation

Get Foursquare data and enable user/merchant interactions.

Learn more about this API
POSTaddCommentToCheckin
POSTaddItemToList
POSTaddList
POSTaddPage
POSTaddPostToCheckin
POSTaddTip
POSTaddVenue
POSTchangeSingleSetting
POSTclaimVenue
POSTcreateCheckin
POSTdeleteItemFromList
POSTdislikeVenue
POSTfindUsers
POSTflagTip
POSTflagVenue
POSTfollowList
POSTgetAccessToken
POSTgetCheckin
POSTgetEventCategories
POSTgetListFollowers
POSTgetListItem
POSTgetListsTipAppears
POSTgetNextVenues
POSTgetNotificationUpdates
POSTgetPageAccessToken
POSTgetPageUpdates
POSTgetPageVenues
POSTgetPageVenuesTimeSeriesData
POSTgetPendingFriendRequests
POSTgetPhoto
POSTgetRecentFriendsCheckins
POSTgetRecommendedVenues
POSTgetSimilarVenues
POSTgetSingleEvent
POSTgetSingleList
POSTgetSinglePageUpdate
POSTgetSingleSetting
POSTgetSingleVenue
POSTgetSuggestedCompletion
POSTgetTip
POSTgetTrendingVenues
POSTgetUpdateDetails
POSTgetUser
POSTgetUserCheckins
POSTgetUserFriends
POSTgetUserLikedVenues
POSTgetUserLists
POSTgetUserManagedPages
POSTgetUserManagedVenues
POSTgetUserMayorships
POSTgetUserPhotos
POSTgetUserSettings
POSTgetUserVisitedVenues
POSTgetUsersSavedTip
POSTgetUsersWhoLikedCheckin
POSTgetUsersWhoLikedTip
POSTgetUsersWhoLikedVenue
POSTgetVenueCategories
POSTgetVenueEvents
POSTgetVenueGroups
POSTgetVenueHours
POSTgetVenueLinks
POSTgetVenueMenu
POSTgetVenuePeopleCount
POSTgetVenuePhotos
POSTgetVenueTips
POSTlikeCheckin
POSTlikePageUpdate
POSTlikeTip
POSTlikeVenue
POSTmarkNotificationsAsRead
POSTmoveItemOnList
POSTproposeVenueChange
POSTremoveCommentFromCheckin
POSTremoveTipFromToDoList
POSTresolvePublicCheckinFromUrl
POSTsearchEvents
POSTsearchSpecials
POSTsearchVenues
POSTshareList
POSTsuggestItemListPhotos
POSTsuggestListTips
POSTsuggestVenuesForList
POSTundoDislikeVenue
POSTunfollowList
POSTunlikeCheckin
POSTunlikeTip
POSTunlikeVenue
POSTupdateListItem
POSTupdateUserPhoto
POSTupdatesList
POSTgetSuggestedCompletion

Returns a list of mini-venues partially matching the search term, near the location.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
querySTRING
REQUIREDA search term to be applied against titles. Must be at least 3 characters long.
clientIdCREDENTIALS
REQUIREDApplication client id.
clientSecretCREDENTIALS
REQUIREDApplication client secret key.
Optional Parameters
nearSTRING
OPTIONALRequired unless location is provided: A string naming a place in the world. If the near string is not geocodable, returns a failed_geocode error. Otherwise, searches within the bounds of the geocode. Adds a geocode object to the response. (Required for query searches)
limitSTRING
OPTIONALNumber of results to return, up to 100.
southWestSTRING
OPTIONALExample: `44.3,37.2`. With northEast, limits results to the bounding quadrangle defined by the latitude and longitude given by sw as its south-west corner, and ne as its north-east corner. The bounding quadrangle is only supported for intent=browse searches. Not valid with ll or radius. Bounding quadrangles with an area up to approximately 10,000 square kilometers are supported.
locationMAP
OPTIONALRequired unless near is provided: Latitude and longitude of the user's location. Format: `lat,lng`. Example: `40.7,-74`
locationAccuracyFLOAT
OPTIONALAccuracy of latitude and longitude, in meters. (Does not currently affect search results.)
northEastSTRING
OPTIONALSee `southWest`.
radiusSTRING
OPTIONALLimit results to venues within this many meters of the specified location. Defaults to a city-wide area. The maximum supported radius is currently 80,000 meters.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication