---
title: "Fetch Historical Metrics for a specific Listing."
method: POST
path: "/listing/{listingId}/metrics"
tags: ["listing_data"]
---

# Fetch Historical Metrics for a specific Listing.

`POST /listing/{listingId}/metrics`

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**.

## Path parameters

- `listingId` string, 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.

## Request body

- ListingMetricsRequestSchema
  - `num_months` integer, required — The number of months to request Monthly Listing data for.
  - `currency` 'afn' | 'all' | 'dzd' | 'usd' | 'eur' | 'aoa' | 'xcd' | 'ars' | 'amd' | 'awg' | 'aud' | 'azn' | 'bsd' | 'bhd' | 'bdt' | 'bbd' | 'byn' | 'bzd' | 'xof' | 'bmd' | 'btn' | 'inr' | 'bob' | 'bov' | 'bam' | 'bwp' | 'nok' | 'brl' | 'bnd' | 'bgn' | 'bif' | 'cve' | 'khr' | 'xaf' | 'cad' | 'kyd' | 'clf' | 'clp' | 'cny' | 'cop' | 'cou' | 'kmf' | 'cdf' | 'nzd' | 'crc' | 'hrk' | 'cuc' | 'cup' | 'ang' | 'czk' | 'dkk' | 'djf' | 'dop' | 'egp' | 'svc' | 'ern' | 'etb' | 'fkp' | 'fjd' | 'xpf' | 'gmd' | 'gel' | 'ghs' | 'gip' | 'gtq' | 'gbp' | 'gnf' | 'gyd' | 'htg' | 'hnl' | 'hkd' | 'huf' | 'isk' | 'idr' | 'xdr' | 'irr' | 'iqd' | 'ils' | 'jmd' | 'jpy' | 'jod' | 'kzt' | 'kes' | 'kpw' | 'krw' | 'kwd' | 'kgs' | 'lak' | 'lbp' | 'lsl' | 'zar' | 'lrd' | 'lyd' | 'chf' | 'mop' | 'mga' | 'mwk' | 'myr' | 'mvr' | 'mru' | 'mur' | 'xua' | 'mxn' | 'mxv' | 'mdl' | 'mnt' | 'mad' | 'mzn' | 'mmk' | 'nad' | 'npr' | 'nio' | 'ngn' | 'omr' | 'pkr' | 'pab' | 'pgk' | 'pyg' | 'pen' | 'php' | 'pln' | 'qar' | 'mkd' | 'ron' | 'rub' | 'rwf' | 'shp' | 'wst' | 'stn' | 'sar' | 'rsd' | 'scr' | 'sle' | 'sgd' | 'xsu' | 'sbd' | 'sos' | 'ssp' | 'lkr' | 'sdg' | 'srd' | 'szl' | 'sek' | 'che' | 'chw' | 'syp' | 'twd' | 'tjs' | 'tzs' | 'thb' | 'top' | 'ttd' | 'tnd' | 'try' | 'tmt' | 'ugx' | 'uah' | 'aed' | 'usn' | 'uyi' | 'uyu' | 'uzs' | 'vuv' | 'vef' | 'ved' | 'vnd' | 'yer' | 'zmw' | 'zwl' — ISO 4217 Currency Codes.

## Response `200`

Successful Listing Metrics Response

- object
  - `payload` object, required
    - `metrics` ListingMetricsResponseSchema[], required
      - `date` string, date, required — Date string representing the month in the `YYYY-MM` format.
      - `occupancy` number, nullable, required — The occupancy of the Listing during the month.
      - `revenue` number, nullable, required — The revenue of the Listing during the month.
      - `adr` number, nullable, required — The average daily rate of the Listing during the month.
  - `status` Status, required — The Status object on the response envelope
    - `type` 'success' | 'error', required — The type of response provided by the server.
    - `response_id` string, required — A unique response code that can be used as a reference for support requests.
    - `message` string, required — A human-readable message that can provide more detail about the status of the request.

## Other responses

- `400` — The request was invalid.
- `404` — Failed to find data matching your request.
- `500` — An internal server error occurred.

---

[API](https://skmtc.net/airdna/apis/airdna-enterprise-api.md) · [All operations](https://skmtc.net/airdna/apis/airdna-enterprise-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/airdna/airdna-enterprise-api/versions/aeed3678926f/schema)
