Overview
Foursquare is a location intelligence platform that lets you access venue data, user check-ins, photos, and tips from millions of real-world places. You can build apps that recommend nearby spots, track visits, or display location-based social activity. It uses OAuth 2.0, so users authenticate through Foursquare before your app can act on their behalf.
Beginner Tip
Start with the Places API to search for venues without needing user authentication — you only need an OAuth app token. Use the venue search endpoint with a latitude/longitude pair to quickly get nearby results.
Available Data
Example Response
{
"id": "Dwu85P9SOIk",
"urls": {
"full": "https://images.unsplash.com/photo-...",
"regular": "https://images.unsplash.com/photo-...?w=1080",
"thumb": "https://images.unsplash.com/photo-...?w=200"
},
"width": 4000,
"height": 3000,
"user": {
"name": "John Doe",
"username": "johndoe"
}
} Field Reference
fsq_id Unique Foursquare identifier for the venue name Display name of the place or venue location Address details including address, city, country, and formatted_address categories List of category objects describing the type of venue such as Coffee Shop or Restaurant distance Distance in meters from the search location to the venue geocodes Latitude and longitude of the venue under geocodes.main.latitude and geocodes.main.longitude Implementation Example
const url = "https://developer.foursquare.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"Authorization": "Bearer YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Blogger
The Blogger API from Google lets you read and write content on Blogger-powered blogs, including posts, comments, pages, and user information.
Cisco Spark
Cisco Spark provides programmatic access to team collaboration software via REST API.
Discord
⭐ Beginner's PickThe Discord API lets developers create bots, integrate Discord features into websites, and build rich applications on top of the Discord platform.
Disqus
The Disqus API gives developers access to Disqus commenting data, including posts, threads, forums, and user information.
The Facebook Graph API is Meta primary way for apps to read and write data to Facebook, including user profiles, pages, posts, photos, and analytics.