listing_data
Fetch Historical Metrics for a specific Listing.
This endpoint provides 12-60 months of historical monthly listing metrics for a specific Listing.
This request will return metrics of:
- Occupancy
- Revenue
- ADR
Supports Currency Conversion for non-USD currencies.
- By default, all currency data is in USD.
post/listing/{listingId}/metrics
Path parameters
listingIdstring required
AirDNA ID for the Listing. This can often be found as property_id. The ID is prefixed with the channel the Listing belongs to:
- abnb_ for Airbnb
- vrbo_ for Vrbo
- bkng_ for Booking.com
Smart Rates endpoints currently only model Airbnb Listings; requests with vrbo_* or bkng_* IDs are rejected with a "Smart Rates does not yet model Booking.com / Vrbo listings." envelope.
Example:abnb_XXXXXXXX
Request body
Example request
{
"num_months": 12,
"currency": "usd"
}Response
Successful Listing Metrics Response
Example response
{
"payload": {
"metrics": [
{
"date": "2022-12-01",
"occupancy": 77.42,
"revenue": 39140,
"adr": 1630.81
}
]
},
"status": {
"type": "success",
"response_id": "API-S-XXX",
"message": "A successful request was made."
}
}