submarket_data
Fetch Booking Lead Time Metrics for a Submarket.
This endpoint provides 12 to 20 months of historical monthly booking lead time data for a Submarket.
- Supports some Listing Filters to calculate booking lead time for certain types of STR Listings within the Submarket.
post/submarket/{submarketId}/metrics/booking_lead_time
Path parameters
submarketIdstring required
AirDNA ID for the Submarket. This can often be found as submarket_id.
Example:airdna-2331
Request body
Example request
{
"num_months": 12,
"filters": [
{
"type": "gte",
"field": "accommodates",
"value": 4
}
]
}Response
Successful Submarket Booking Lead Time Metrics Response
Example response
{
"payload": {
"metrics": [
{
"date": "2022-11",
"reservation_counts": [
{
"lead_time_day_range": [
0,
6
],
"num_reservations": 2218
}
]
}
],
"monthly_pct_change": 2.41,
"yearly_pct_change": 1.03
},
"status": {
"type": "success",
"response_id": "API-S-XXX",
"message": "A successful request was made."
}
}