Foursquare
Overview
SLUG: FOURSQUARE
Description
Search for places and place recommendations from the Foursquare Places database
Authentication Details
API Key
Connecting to Foursquare
Create an auth config
Use the dashboard to create an auth config for the Foursquare toolkit. This allows you to connect multiple Foursquare accounts to Composio for agents to use.
Create and Get auth config ID
Click “Create Integration”. After creation, copy the displayed ID starting with ac_
. This is your auth config ID. This is not a sensitive ID — you can save it in environment variables or a database.
This ID will be used to create connections to the toolkit for a given user.
Connect Your Account
Using API Key
Tools
Executing tools
To prototype you can execute some tools to see the responses and working on the Foursquare toolkit’s playground
OpenAI (Python)
Anthropic (TypeScript)
Google (Python)
Vercel (TypeScript)
Tool List
FOURSQUARE_RETRIEVE_NEARBY_PLACES_V3
Tool Name: Retrieve nearby places v3
Description
Action Parameters
Action Response
FOURSQUARE_RETRIEVE_PLACES_BY_ID
Tool Name: Retrieve places by id
Description
Action Parameters
Action Response
FOURSQUARE_RETRIEVE_PLACE_PHOTOS_BY_ID
Tool Name: Retrieve place photos by id
Description
Action Parameters
Action Response
FOURSQUARE_RETRIEVE_PLACE_TIPS_USING_FSQ_ID
Tool Name: Retrieve place tips using fsq id
Description
Action Parameters
Action Response
FOURSQUARE_SEARCH_PLACES_API_REQUEST
Tool Name: Search places api request
Description
Action Parameters
Action Response