Skip to content
OSINTtools.io

Foursquare Places API API

Search Foursquare's places database by name, category or phone number near a location; get place details, tips and photos.

Base URL
https://places-api.foursquare.com
Sign-in
Bearer token
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from docs.foursquare.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

The Foursquare Places API searches the Foursquare places database (points of interest) by name, category, phone number or location, returns details for a place by its fsq_place_id, and matches a name and address to a Foursquare record. Records can include address, coordinates, categories, phone, website, hours, social media handles, rating and creation dates.

Requests go to https://places-api.foursquare.com with an Authorization: Bearer <Service API Key> header and a required X-Places-Api-Version: 2025-06-17 header. Other endpoints (autocomplete, geotagging, batch and partner endpoints) are listed in the docs and not described here.

The docs' authentication page shows some code samples against https://api.foursquare.com/v3/places/search with a key without the Bearer prefix; this reference follows the text and the current reference pages.

Quick start

  1. Get a key

    Create an account with Foursquare Places API and copy your bearer token. Where to get it

  2. Make your first request

    Search places by name, category, phone, taste or chain, near a location.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://places-api.foursquare.com/places/search' \
      -H 'Authorization: Bearer YOUR_API_KEY' \
      -H 'X-Places-Api-Version: 2025-06-17'
  3. Read the response

    A 200 response looks like this.

    {
      "results": [
        {
          "fsq_place_id": "EXAMPLE_PLACE_ID",
          "name": "Example Coffee House",
          "latitude": 41.8781,
          "longitude": -87.6298,
          "distance": 250,
          "location": {
            "formatted_address": "123 Example St, Chicago, IL 60601"
          },
          "categories": [
            {
              "fsq_category_id": "13035",
              "name": "Coffee Shop"
            }
          ],
          "tel": "+1 312-555-0100",
          "website": "https://example.com",
          "date_created": "2020-01-01"
        }
      ]
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Service API key; also send the X-Places-Api-Version header.

Get a key from Foursquare Places API

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Errors

StatusMeaning
400Place Match: address could not be resolved; provide ll instead
404Place not found or no match
422Place Match: unsupported country
500Internal server error

Places

  • Passive: the target is not contacted

Returns all Pro fields unless fields is set: location, categories, chains, hours, attributes, contact and social media, rating, stats, related places and dates.

Path parameters

fsq_place_idstringrequired

The place's Foursquare ID

Example: EXAMPLE_PLACE_ID

Query parameters

fieldsstring

Comma-separated response fields

Example: name,tel,websiteDefault: all Pro fields

Headers

X-Places-Api-Versionstringrequired

API version; only 2025-06-17 is allowed

Example: 2025-06-17Default: 2025-06-17
Response fields · 14Show

fsq_place_idstring

Foursquare place ID

namestring

Place name

latitudenumber

Latitude

longitudenumber

Longitude

formatted_addressstring

Formatted address

namestring

Category name

telstring

Phone number

emailstring

Email address

websitestring

Website

instagramstring

Instagram handle

ratingnumber

Rating

date_createdstring

Date the record was created

date_refreshedstring

Date the record was last refreshed

date_closedstring

Date the place closed, if closed

curl 'https://places-api.foursquare.com/places/EXAMPLE_PLACE_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'X-Places-Api-Version: 2025-06-17'
Replace YOUR_API_KEY with your key
Response
{
  "fsq_place_id": "EXAMPLE_PLACE_ID",
  "name": "Example Coffee House",
  "latitude": 40.7418,
  "longitude": -73.9895,
  "location": {
    "formatted_address": "123 Example St, New York, NY 10001"
  },
  "categories": [
    {
      "fsq_category_id": "13035",
      "name": "Coffee Shop"
    }
  ],
  "tel": "+1 212-555-0100",
  "website": "https://example.com",
  "rating": 8.4
}

Match

Only English-speaking countries are supported. Returns the matched place with a match score.

Query parameters

namestringrequiredtakes your name

Name of the place

Example: Example Coffee House
addressstringrequired

Street address

Example: 123 Example St
citystringrequired

City or locality

Example: Chicago
ccstringrequired

2-letter country code

Example: US
statestring

State or region

Example: Illinois
postal_codestring

Postal code

Example: 60601
llstring

latitude,longitude

Example: 41.8781,-87.6298
fieldsstring

Comma-separated response fields

Example: name,telDefault: all Pro fields

Headers

X-Places-Api-Versionstringrequired

API version; only 2025-06-17 is allowed

Example: 2025-06-17Default: 2025-06-17
Response fields · 6Show

placeobject

The matched Foursquare place record

fsq_place_idstring

Foursquare place ID

namestring

Place name

match_scorenumber

Confidence of the match

latitudenumber

Latitude used

longitudenumber

Longitude used

curl 'https://places-api.foursquare.com/places/match?name=Example%20Coffee%20House&address=123%20Example%20St&city=Chicago&cc=US' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'X-Places-Api-Version: 2025-06-17'
Replace YOUR_API_KEY with your key
Response
{
  "place": {
    "fsq_place_id": "EXAMPLE_PLACE_ID",
    "name": "Example Coffee House",
    "tel": "+1 312-555-0100"
  },
  "match_score": 0.97,
  "context": {
    "latitude": 41.8781,
    "longitude": -87.6298
  }
}