The Places API offers real-time access to Foursquare’s global database of rich venue data and user content to power your location-based experiences in your app or website.

Key Features

Feature Description
Access to Foursquare’s Global Database Get real-time access to over 105MM places available across 190 countries and 50 territories.
Power App Experiences Use our custom API endpoints to power geo-tagging, venue search, venue recommendations, and more in your apps.
Descriptive Place Profiles Leverage 70+ venue attributes and 900+ categories, sourced by the Foursquare consumer community.
Rich User Content Create engaging location experiences with access to user-generated tips, tastes, photos & more.

Get Started in 5 Easy Steps!

Create A New Foursquare App

On the next page, choose a name for your app and enter the URL from where it will be hosted.

screenshot of the page to create an app

Obtain Your Client ID and Secret

Once you’ve created your app, make note of your Client ID and Client Secret since you will need these credentials in order to make a request. Please note the key below has been generated for this guide and will not be usable in an application.

screenshot of the page tshowing client ID and secret

Make Your First API Call

Using your client ID and secret, let's make our first API call! The examples below show you how to find a coffee shop near a given location.

curl -X GET -G \
  '' \
    -d client_id="CLIENT_ID" \
    -d client_secret="CLIENT_SECRET" \
    -d v="20180323" \
    -d ll="40.7243,-74.0018" \
    -d query="coffee" \
    -d limit=1
import json, requests
url = ''

params = dict(
resp = requests.get(url=url, params=params)
data = json.loads(resp.text)
const request = require('request');

  url: '',
  method: 'GET',
  qs: {
    client_id: 'CLIENT_ID',
    client_secret: 'CLIENT_SECRET',
    ll: '40.7243,-74.0018',
    query: 'coffee',
    v: '20180323',
    limit: 1
}, function(err, res, body) {
  if (err) {
  } else {
    .then(function() {
        // Code for handling API response
    .catch(function() {
        // Code for handling errors
// Response shortened to display relevant information
  "meta": {
    "code": 200,
    "requestId": "5991c2dbdd57972dfdf5831b"
  "response": {
    "headerLocation": "SoHo",
    "headerFullLocation": "SoHo, New York",
    "headerLocationGranularity": "neighborhood",
    "query": "coffee",
    "totalResults": 101,
    "groups": [
        "items": [
            "venue": {
              "id": "573498df498e6df2eb8b36a7",
              "name": "La Colombe Torrefaction",
              "location": {
                "address": "154 Prince St",
                "crossStreet": "B/T W. Broadway & Thompson",
                "lat": 40.7258839175593,
                "lng": -74.0010660462815,
                "distance": 186,
                "postalCode": "10012",
                "cc": "US",
                "city": "New York",
                "state": "NY",
                "country": "United States",
                "formattedAddress": [
                  "154 Prince St (B/T W. Broadway & Thompson)",
                  "New York, NY 10012",
                  "United States"
              "categories": [
                  "id": "4bf58dd8d48988d1e0931735",
                  "name": "Coffee Shop",
                  "pluralName": "Coffee Shops",
                  "shortName": "Coffee Shop",
                  "icon": {
                    "prefix": "",
                    "suffix": ".png"
                  "primary": true
              "stats": {
                "checkinsCount": 2097,
                "usersCount": 893,
                "tipCount": 12
              "url": "",
              "price": {
                "tier": 1,
                "message": "Cheap",
                "currency": "$"
              "rating": 9.2,
              "hours": {
                "status": "Likely open",
                "isOpen": true,
                "isLocalHoliday": false
              "hereNow": {
                "count": 1,
                "summary": "One other person is here"
            "tips": [
                "createdAt": 1468075940,
                "text": "The iced coffee is no longer an iced red eye, it's cold brew. If you want the red eye ask for it; it's the same price.",
                "type": "user",
                "canonicalUrl": "",
                "likes": {
                  "count": 1,
                  "groups": [],
                  "summary": "1 like"
                "agreeCount": 3,
                "user": {
            "referralId": "e-0-573498df498e6df2eb8b36a7-0"

Choose Your Account Tier

Need more requests? Need higher rate limits?

Choose the right API tier for you and upgrade your account to receive even more rich content, dedicated technical support, as well as discounts for higher call volumes.

screenshot of the page to select tier

Explore API Tiers

Next Steps

Now that you're all set to make API calls, be sure to check out these additional links to get you live:

API Endpoints

Rate Limits



Terms of Use

Was this page helpful?
Thank you!