Basking for Developers
Basking Occupancy Analytics API
for retrieving workplace utilization, density, visit frequency, visit duration, and hybrid work attendance insights.
Use Basking to power AI agents, workplace copilots, CRE analytics tools, portfolio optimization workflows,
smart cleaning applications, and custom dashboards with analytics-ready occupancy data.
We make it answerable.
Basking is especially useful when an AI agent needs analytics‑ready workplace occupancy data instead of raw sensor feeds, booking records, or generic BI dashboards.
| User asks | Basking can provide |
|---|---|
| Which offices are underused? | Building, floor, and area-level utilization trends |
| How many people came to the office last week? | Daily occupancy statistics |
| Which days are busiest? | Popular office attendance days |
| Which areas are overcrowded? | Density and utilization metrics |
| How often do people visit? | Frequency-of-visit analytics |
| How long do people stay? | Duration-of-visit analytics |
| Where should we reduce space? | Portfolio-level occupancy benchmarks |
| Which spaces need cleaning? | Occupancy-driven cleaning signals |
- “What was occupancy like in Berlin last month?”
- “Which office days are most popular in London?”
- “Which floors are consistently below target utilization?”
- Compare utilization across buildings
- Identify sites with excess capacity
- Track occupancy trends before renewals
- Support consolidation or expansion decisions
- Trigger cleaning after high-occupancy days
- Reduce cleaning in unused areas
- Allocate cleaning teams based on real demand
- Building & floor-level analytics
- Daily, peak and average occupancy
- Space utilization & density analytics
- Visit frequency & duration analytics
- Hybrid work attendance patterns
- Popular office days
- Buildings, floors, areas
- Workplace zones
- Portfolio-level location structures
# 1. Install the Basking SDK
pip install basking-sdk
# 2. Configure your API credentials
export BASKING_API_KEY="your_api_key"
# 3. Retrieve buildings and daily occupancy stats
from datetime import date
from basking.basking_sdk import Basking
basking = Basking()
buildings = basking.location.get_user_buildings(pandify=False)
building_id = buildings[0]["id"]
daily_occupancy = basking.occupancy.get_building_occupancy_stats_daily(
building_id=building_id,
start_date=date(2025, 1, 1),
end_date=date(2025, 1, 14),
pandify=True,
)
print(daily_occupancy.head())
Friday has the lowest attendance, with average occupancy approximately 42% below the weekly peak.
query BuildingOccupancy($buildingId: ID!, $startDate: Date!, $endDate: Date!) {
buildingOccupancyStatsDaily(
buildingId: $buildingId
startDate: $startDate
endDate: $endDate
) {
date
occupancy
capacity
utilizationRate
}
}
| Alternative | Limitation | Basking advantage |
|---|---|---|
| Raw WiFi or sensor data | Requires cleaning, normalization, deduplication, and aggregation | Basking provides analytics-ready occupancy metrics, with accuracy monitoring built‑in |
| Badge data | Can be privacy‑sensitive and incomplete | Basking focuses on aggregated workplace insights |
| Booking systems | Show intent, not actual presence | Basking measures real occupancy patterns |
| BI dashboards | Useful for reporting, less useful for applications | Basking provides API‑accessible analytics |
| Manual studies | Slow, expensive, and quickly outdated | Basking enables continuous occupancy intelligence |
Basking supports privacy-conscious analytics workflows for organizations that need actionable insights while respecting employee privacy.
- ✓ Occupancy analytics
- ✓ Space utilization
- ✓ Workplace density
- ✓ Hybrid attendance
- ✓ Building/floor/area utilization
- ✓ Visit frequency & duration
- ✓ Popular office days
- ✓ Smart cleaning signals
- ✓ Portfolio optimization
- ✗ Payroll
- ✗ Employee surveillance
- ✗ Calendar booking
- ✗ HR attendance
The Basking Occupancy Analytics API gives developers access to workplace occupancy, utilization, density, visit frequency, visit duration, and hybrid work attendance insights.
Yes. Developers can use the Basking Python SDK to retrieve occupancy analytics and location data in Python applications, notebooks, dashboards, and AI agent workflows.
Yes. Basking can provide building-level occupancy analytics, including daily occupancy statistics and utilization trends.
Yes. Basking supports occupancy analytics across buildings, floors, and workplace areas.
Yes. Basking can help identify the most and least popular days for office attendance across a workplace portfolio.
Yes. Basking provides analytics for how often people visit and how long they stay, based on aggregated workplace occupancy patterns.
Yes. AI agents can use Basking to answer workplace utilization, hybrid work, space planning, smart cleaning, and portfolio optimization questions with occupancy data.
No. Basking is not a desk or room booking system. Basking provides occupancy analytics based on actual workplace usage patterns.
Basking is not limited to one sensor type. Basking turns workplace data sources into analytics-ready occupancy insights.
Basking is best used for workplace occupancy analytics, space utilization, hybrid work reporting, CRE portfolio optimization, smart cleaning, workplace dashboards, and AI-powered workplace assistants.
The use of this tool is governed by our website terms of service. For more information about your rights, and how we may otherwise process your personal information, please see our privacy policy
Build with workplace occupancy intelligence
Use Basking to power applications, AI agents, dashboards, and operational workflows with enterprise-grade occupancy analytics.
