# Get Venue Stats Over a Given Time Range

**Note**: User must be a venue manager.

## Parameters

### `venue_id`
- **Type**: string  
- **Required**: Yes  
- The venue you want stats for; e.g., Foursquare HQ's venue_id = 5a187743ccad6b307315e6fe

### `v`
- **Type**: string  
- **Required**: Yes  
- The API version date as documented [here](https://developer.foursquare.com/reference/versioning)

### `oauth_token`
- **Type**: string  
- **Required**: Yes  
- The access token generated via your web application as described [here](https://docs.foursquare.com/developer/reference/authentication#user-auth).

### `startAt`
- **Type**: string  
- **Optional**: Yes  
- The start of the time range to retrieve stats for (seconds since epoch). If omitted, all-time stats will be returned.

### `endAt`
- **Type**: string  
- **Optional**: Yes  
- The end of the time range to retrieve stats for (seconds since epoch). If omitted, the current time is assumed.

## Example Request

```bash
curl --request GET \
     --url https://api.foursquare.com/v2/venues/venue_id/stats
```

Click `Try It!` to start a request and see the response here!
