
Connectors / Data and analytics · HTTP Connector
Automate Foursquare with Tray.ai
Foursquare provides location data and APIs, including a global database of points of interest with details, photos and tips for each place.
What can you do with Foursquare on Tray.ai?
Foursquare provides location data and APIs, including a global database of points of interest with details, photos and tips for each place. Tray.ai connects to Foursquare through the HTTP Connector, so your workflows can call the Foursquare API alongside the rest of your stack.
- When a new lead arrives in your CRM, match a place to confirm the business address.
- Search for places near a customer address to help your field team plan visits.
- Get place details for each store in your location database to keep hours and contact info current.
- Connects through
- HTTP Connector
- Authentication
- A bearer token
- Base URL
- https://places-api.foursquare.com
Set it up
Connect Foursquare to Tray.ai
Each step uses Foursquare's own API details, from its documentation.
Step 1
Save Foursquare's API token
Save the token Foursquare issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://places-api.foursquare.com as the base URL. Or paste a cURL example from Foursquare's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Search for places”
It's one of 10 documented actions, under Places. The response comes back as data the next step can map into your other apps.
Step 4
Hand it to an AI agent
Wrap “Get place details” and “Match a place” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with Foursquare
Each one uses actions and events from Foursquare's own API documentation.
Add Foursquare place details to new Salesforce accounts
When
An account is created in Salesforce
Then
- Match a place for the account name and address
- Get place details
- Update the account in Salesforce with the details
With Salesforce
Clean store locations in Google Sheets with Foursquare
When
A row is added in Google Sheets
Then
- Match a place for the store
- Write the matched address back to the row in Google Sheets
With Google Sheets
Apps you can build on Foursquare data
Internal tools your team can build with an AI assistant, each one using Foursquare calls from its API documentation.
Store location finder
Searches places near an address and shows details, photos and tips so a field team can check a site.
Listing correction tracker
Matches your locations to places and lets a team suggest edits and track the status of each suggestion.
Give your AI agents Foursquare tools
Build an MCP server on Foursquare in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Search for places
- Get place photos
- Suggest a new place
- Get place details
- Match a place
- Autocomplete a search
- Get place tips
- Edit a place
What the Foursquare API covers
3 resources and 10 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Places
- Search for places
- Get place details
- Match a place
- Autocomplete a search
Place content
- Get place photos
- Get place tips
Place edits
- Suggest a new place
- Edit a place
- Flag a place
- Get suggestion status
Checked against Foursquare's own documentation on 2026-10-22
How Tray.ai makes this work
Foursquare plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Foursquare — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Foursquare actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Foursquare data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More data and analytics apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every data and analytics connector →
Frequently asked questions
What can a Tray.ai workflow do in Foursquare?
+
The Foursquare API documents 10 actions across 3 resources (Places, Place content, Place edits). For example: Search for places; Get place photos; Suggest a new place. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Foursquare?
+
The Foursquare API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See Foursquare working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.