Foursquare
Interact with Foursquare users and places (geolocation-based checkins, photos, tips, events, etc)
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Social
- Documentation / URL
- https://developer.foursquare.com/
Overview
The Foursquare Places API provides POI data — venues, geocoding, search by location/category, and place details. Auth is an API key (the Foursquare “API key” is a simple bearer token, despite the OAuth tag — requests without one return 401, verified).
Quick Start
Place search (replace YOUR_KEY):
curl "https://api.foursquare.com/v3/places/search?ll=40.7,-74&radius=1000&limit=5" \
-H "Authorization: YOUR_KEY"
{
"results": [
{ "fsq_id": "4b8f...", "name": "Starbucks", "categories": [{ "name": "Coffee Shop" }], "geocodes": { "main": { "latitude": 40.7, "longitude": -74 } } }
]
}
Place details:
curl "https://api.foursquare.com/v3/places/4b8f..." \
-H "Authorization: YOUR_KEY"
Nearby (no coords — by IP):
curl "https://api.foursquare.com/v3/places/nearby?limit=5" \
-H "Authorization: YOUR_KEY"
Authentication
- Register at developer.foursquare.com → create an app → API key.
- Send it as the
Authorizationheader (missing → 401, verified). - The Places API uses a simple API key (not a full OAuth flow) for these endpoints.
Rate Limits & Notes
- Free tier: generous request allowances (check the docs — tiered by app); paid scales.
- The v3 Places API replaces the old v2 Foursquare API.
- Search by
ll(lat,lng),near(text),categories, orquery. fsq_idis the stable place identifier.
FAQ
Is Foursquare API free? Free tier with request allowances; more is paid.
How do I get a key? developer.foursquare.com → create an app → API key.
What’s the auth style?
A simple bearer API key in the Authorization header (verified).
More in Social
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| 4chan Simple image-based bulletin board dedicated to a variety of topics | No auth | Yes | Yes | ↗ |
| Ayrshare Social media APIs to post, get analytics, and manage multiple users social media accounts | API Key | Yes | Yes | ↗ |
| aztro Daily horoscope info for yesterday, today, and tomorrow | No auth | Yes | Unknown | ↗ |
| Blogger The Blogger APIs allows client applications to view and update Blogger content | OAuth | Yes | Unknown | ↗ |
| Bluesky Decentralized social networking via the AT protocol | No auth | Yes | Yes | ↗ |