# Foursquare Places API API reference

> 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,…

Source: https://osinttools.io/apis/foursquare-places-api/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/foursquare-places-api/

- Base URL: https://places-api.foursquare.com
- Authentication: Bearer token in the `Authorization` header. Get a key: https://foursquare.com/developers/signup Service API key; also send the X-Places-Api-Version header.
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.foursquare.com/fsq-developers-places/reference/places-api-overview

## Overview

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.

## Errors

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

## Places

### Search places by name, category, phone, taste or chain, near a location.

`GET /places/search`

- Takes: Name, Phone number
- Footprint: passive (the target is not contacted)

The query is matched against venue name, category, telephone number, taste and tips. Without a location option the search is biased by the caller's IP address.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Places-Api-Version` | header | string | yes | API version; only 2025-06-17 is allowed Example: 2025-06-17 |
| `query` | query | string | no | Matched against name, category, telephone number, taste and tips Example: coffee |
| `ll` | query | string | no | latitude,longitude Example: 41.8781,-87.6298 |
| `radius` | query | integer | no | Search radius in meters, 0-100000; works with ll Example: 5000 |
| `near` | query | string | no | Locality name, e.g. Chicago, IL Example: Chicago, IL |
| `ne` | query | string | no | Northeast corner of a search box as latitude,longitude; use with sw Example: 41.9,-87.6 |
| `sw` | query | string | no | Southwest corner of a search box as latitude,longitude; use with ne Example: 41.8,-87.7 |
| `fsq_category_ids` | query | string | no | Comma-separated category IDs Example: 13035 |
| `fsq_chain_ids` | query | string | no | Comma-separated chain IDs to include Example: EXAMPLE_CHAIN_ID |
| `exclude_all_chains` | query | boolean | no | Only places not known to belong to a chain Example: true |
| `fields` | query | string | no | Comma-separated response fields Example: fsq_place_id,name,tel |
| `open_now` | query | boolean | no | Only places open now; not with open_at Example: true |
| `tel_format` | query | string | no | Phone number format Example: E164 One of: NATIONAL, E164 |
| `sort` | query | string | no | Result order Example: DISTANCE One of: RELEVANCE, RATING, DISTANCE, POPULARITY |
| `limit` | query | integer | no | Results to return, 1-50 Example: 10 |

Response fields:

- `results[].fsq_place_id` (string): Foursquare place ID
- `results[].name` (string): Place name
- `results[].latitude` (number): Latitude
- `results[].longitude` (number): Longitude
- `results[].distance` (integer): Distance from the search point in meters
- `results[].location.formatted_address` (string): Formatted address
- `results[].categories[].name` (string): Category name
- `results[].tel` (string): Phone number
- `results[].website` (string): Website
- `results[].date_created` (string): Date the record was created
- `results[].date_closed` (string): Date the place closed, if closed

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

Example response (200):

```json
{
  "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"
    }
  ]
}
```

### Details and metadata of one place by its Foursquare ID.

`GET /places/{fsq_place_id}`

- Footprint: 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.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Places-Api-Version` | header | string | yes | API version; only 2025-06-17 is allowed Example: 2025-06-17 |
| `fsq_place_id` | path | string | yes | The place's Foursquare ID Example: EXAMPLE_PLACE_ID |
| `fields` | query | string | no | Comma-separated response fields Example: name,tel,website |

Response fields:

- `fsq_place_id` (string): Foursquare place ID
- `name` (string): Place name
- `latitude` (number): Latitude
- `longitude` (number): Longitude
- `location.formatted_address` (string): Formatted address
- `categories[].name` (string): Category name
- `tel` (string): Phone number
- `email` (string): Email address
- `website` (string): Website
- `social_media.instagram` (string): Instagram handle
- `rating` (number): Rating
- `date_created` (string): Date the record was created
- `date_refreshed` (string): Date the record was last refreshed
- `date_closed` (string): Date the place closed, if closed

```bash
curl 'https://places-api.foursquare.com/places/EXAMPLE_PLACE_ID' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'X-Places-Api-Version: 2025-06-17'
```

Example response (200):

```json
{
  "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

### Find the Foursquare record for a place given its name and address.

`GET /places/match`

- Takes: Name
- Footprint: passive (the target is not contacted)

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

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-Places-Api-Version` | header | string | yes | API version; only 2025-06-17 is allowed Example: 2025-06-17 |
| `name` | query | string | yes | Name of the place Example: Example Coffee House |
| `address` | query | string | yes | Street address Example: 123 Example St |
| `city` | query | string | yes | City or locality Example: Chicago |
| `cc` | query | string | yes | 2-letter country code Example: US |
| `state` | query | string | no | State or region Example: Illinois |
| `postal_code` | query | string | no | Postal code Example: 60601 |
| `ll` | query | string | no | latitude,longitude Example: 41.8781,-87.6298 |
| `fields` | query | string | no | Comma-separated response fields Example: name,tel |

Response fields:

- `place` (object): The matched Foursquare place record
- `place.fsq_place_id` (string): Foursquare place ID
- `place.name` (string): Place name
- `match_score` (number): Confidence of the match
- `context.latitude` (number): Latitude used
- `context.longitude` (number): Longitude used

```bash
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'
```

Example response (200):

```json
{
  "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
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
