Get Venue Attributes

Public Beta Feature

This documentation covers a feature currently in Public Beta. Access is available to anyone interested in building personalized experiences for their end-users.

This feature is subject to the Personalization API (Self-Service) Public Beta End user License Agreement.

API Parameters

Parameter Type Required Description
venue_id string yes The unique identifier for the venue.
v string yes The API version date as documented here; e.g. 20231010

Response Structure

Successful response with venue attributes for the specified venue ID.

meta
notifications

Array of notification objects.

response
attributeSections

Array of attribute sections for the specified venue.

{
  "meta": {
    "code": 200,
    "requestId": "6455603247dc644df09c9f51"
  },
  "notifications": [
    {
      "type": "notificationTray",
      "item": {
        "unreadCount": 3
      }
    },
    {
      "type": "unconfirmed",
      "item": {
        "unreadCount": 0
      }
    }
  ],
  "response": {
    "attributes": {
      "groups": [
        {
          "type": "price",
          "name": "Price",
          "summary": "$$",
          "count": 1,
          "items": [
            {
              "name": "price",
              "availability": "unknown",
              "displayName": "Price",
              "displayValue": "it's moderately cheap",
              "priceTier": 2
            }
          ]
        }
      ]
    }
  }
}

cURL Example

curl --request GET \
     --url https://api.foursquare.com/v2/venues/venue_id/attributes \
     --header 'accept: application/json'

Attribute Sections

People Say

Food & Drink

Features