---
title: "Retrieves stats for the listings of a given agent"
method: GET
path: "/v1/agents/{id}/statistics"
tags: ["Agents"]
---

# Retrieves stats for the listings of a given agent

`GET /v1/agents/{id}/statistics`

## Path parameters

- `id` integer, required

## Query parameters

- `timePeriod` 'last7Days' | 'last90Days' | 'wholeCampaign' — Defines StatisticsTimePeriod
- `statusFilter` 'live' | 'liveAndArchived' — Which listings to filter based on status in lifecycle
- `channel` 'residential' | 'commercial' | 'business' — Channel of the listing
- `pageNumber` integer
- `pageSize` integer

## Response `200`

OK

- ListingPerformanceV1Statistics[]
  - `listingId` integer, nullable — Domain Advertisement Id
  - `totalListingViews` integer, nullable — Total number of views for the listing details
  - `totalPhotoViews` integer, nullable — Total number of listing photo views
  - `totalPhotoGalleryViews` integer, nullable — Total number of listing photo gallery views
  - `totalFloorplanViews` integer, nullable — Total number of floorplan views
  - `totalMapViews` integer, nullable — Total number of address map views
  - `totalVideoViews` integer, nullable — Total number of vedio views
  - `totalEbrochureViews` integer, nullable — Total number of Ebrochure views
  - `totalAgentDetailViews` integer, nullable — Total number of agent detail views
  - `totalShortlisted` integer, nullable — Total number of times the listing was shortlisted
  - `totalPrinted` integer, nullable — Total number of time the listing detail was printed
  - `totalAgentPhoneNumberReveals` integer, nullable — Total number of times the agent phone number was revealed for contact
  - `totalEnquiries` integer, nullable — Total number of enquiries
  - `totalEmailToFriend` integer, nullable — Total number of times the listing link was emailed
  - `totalSharedViaSocialMedia` integer, nullable — Total number of shares via social media
  - `totalInspectionTimeSaving` integer, nullable — Total numnber of times when the inspection was saved to calendar
  - `totalCallToAgentFromMobile` integer, nullable — Total number of calls made to agent from inside the listing
  - `percentageWebsiteViews` number, double, nullable — Percentage of total views from website
  - `percentageMobileSiteViews` number, double, nullable — Percentage of total views from mobile site
  - `percentageSmartPhoneViews` number, double, nullable — Percentage of total views from smart phone apps
  - `percentageTabletViews` number, double, nullable — Percentage of total views from tablets

## Other responses

- `default` — Error

---

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