/metrics/hourly/neighborhoods

Hourly metrics for neighborhoods

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Example Queries

Path

/metrics/hourly/neighborhoods?filter[local_date][gt]=2022-08-02&filter[local_date][lt]=2022-08-20&filter[local_hour][gt]=4&filter[ref_id]=floor_5_west

Description

Retrieve all hourly neighborhood metrics where the local_date is greater than 2022-08-02 and local_date is less than 2022-08-20 and the local_hour is greater than 4 and the neighborhood's ref_id equals floor_5_west.

Hourly Neighborhood Metric Attributes

PropertyTypeDescription
local_dateStringLocal date, formatted YYYY-MM-DD
local_hourNumberLocal hour between 0-23
capacityNumberCapacity of the neighborhood which the metric belongs at the time when the metric was recorded.
avg_person_count StringAverage person count of spaces on the neighborhood during the hour.
avg_occupied_person_countString or nullAverage person count of spaces on the neighborhood when they are occupied during the hour.
min_person_count NumberMinimum amount of people on the neighborhood during the hour.
max_person_countNumberMaximum amount of people on the neighborhood during the hour.
minutes_actively_occupiedStringAmount of minutes that the spaces on the neighborhood were actively occupied during the hour.
minutes_passively_occupied StringAmount of minutes that the spaces on the neighborhood were passively occupied during the hour.
space_countNumber or nullThe number of spaces on the neighborhood that were included in the hourly neighborhood metric.

Query Parameters

local_date and local_hour have 6 different comparison operators.

filter[<local_date/local_hour>][<operator>]=<value to filter against>

OperatorDescription
eq== is equal to
not_eq!= is not equal to
lt< is less than
lte<= is less than or equal to
gt> is greater than
gte>= is greater than or equal to

Date Range Limits


filter[local_date] is required. A request without it returns 400 Must include local date filter.

A single request covers at most a month of dates. A wider range returns 400 Cannot request more than a month of data. Split a longer window into month-sized chunks and issue one request per chunk.

A request for one specific date is exempt from this limit. Pass filter[local_date]=2025-06-18 or filter[local_date][eq]=2025-06-18.


Filtering by Hour


filter[local_hour] has no default. If you omit it, the response covers all 24 hours of each day. Pass the filter to narrow the result and reduce the number of rows returned.

filter[local_hour][gte] must be lower than filter[local_hour][lte]. Equal or inverted values return 400 local_hour param order incorrect. To request a single hour, pass filter[local_hour]=8 or filter[local_hour][eq]=8.

Query Params
string
Defaults to -neighborhood_id,-local_date,-local_hour

Comma separated list of attributes used to sort the collection. Use a negative(-) sign to reverse the order.

string

Limit attributes that are included in a request. Comma separated list of attributes.

int32
Defaults to 1

Page number for pagination.

int32
Defaults to 250

Amount of records to return per page. Limit is 1000.

string

Filter metrics for a specific neighborhood

date

Filter metrics where local_date is greater than or equal to value.

date

Filter metrics where local_date is less than or equal to value.

int32

Number between 0-23. Filter metrics where local_hour is greater than or equal to value.

int32

Number between 0-23. Filter metrics where local_hour is less than or equal to value.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json