Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • This is the places-api.foursquare.com API: service keys and a dated X-Places-Api-Version header instead of the old api.foursquare.com/v3 paths. fsq_id is now fsq_place_id.
  • With no ‘fields’, calls return all Pro fields; other fields must be named in ‘fields’, comma-separated (see the response fields page).
  • Paging: when more results exist, the response’s ‘link’ header carries the next-page URL with a cursor. ‘limit’ sets results per page.
  • Rate limit: 50 queries per second across all endpoints on Pay as You Go and Sandbox, 100 on Enterprise.

Endpoints

  • radius, ne/sw and near drop global results; places without hours are excluded by open_now and open_at.

Get place details

Get a place’s tips

Get a place’s photos

  • An image URL is prefix + size + suffix; prefix + ‘original’ + suffix gives the full-size photo.

Autocomplete places and addresses

  • Without session_token every request is billed separately (per keystroke).

Match a place by name and address