---
title: "Retrieves agents matching the specified location criteria."
method: POST
path: "/v2/agentsearch/agents/location"
tags: ["AgentSearch"]
---

# Retrieves agents matching the specified location criteria.

`POST /v2/agentsearch/agents/location`

## Request body

- AgenciesV2GetAgentsByLocationRequest — GetAgentsByLocationRequest
  - `sortBy` 'default' | 'nameAscending' | 'nameDescending' | 'totalSoldAscending' | 'totalSoldAndAuctionedAscending' | 'totalSoldAndAuctionedDescending' | 'totalSoldDescending' | 'avgSalePriceAscending' | 'avgSalePriceDescending' | 'avgDayOnMarketAscending' | 'avgDayOnMarketDescending' | 'forSaleAscending' | 'forSaleDescending' | 'forRentAscending' | 'forRentDescending' | 'totalLeasedDescending', nullable — Gets or Sets SortBy
  - `agentType` 'all' | 'sale' | 'rent' | 'soldOnly', nullable — Gets or Sets AgentType
  - `suburbs` string[], nullable — Gets or Sets Suburbs
  - `suburbIds` integer[], nullable — Gets or Sets SuburbIds
  - `page` integer, nullable — Gets or Sets Page
  - `pageSize` integer, nullable — Gets or Sets PageSize
  - `agentNameKeyword` string, nullable — Gets or Sets AgentNameKeyword
  - `propertyType` string, nullable — Gets or Sets PropertyType
  - `bedrooms` number, double, nullable — Gets or Sets Bedrooms

## Response `200`

OK

- AgenciesV2AgentSearchPageResultContactStatsDto — AgentSearchPageResultContactStatsDto
  - `total` integer, nullable — Gets or Sets Total
  - `totalPages` integer, nullable — Gets or Sets TotalPages
  - `pageNumber` integer, nullable — Gets or Sets PageNumber
  - `results` AgenciesV2ContactStatsDto[], nullable — Gets or Sets Results
    - `id` integer, nullable — Gets or Sets Id
    - `name` string, nullable — Gets or Sets Name
    - `agentIdV2` string, nullable — Gets or Sets AgentIdV2
    - `propertyType` string, nullable — Gets or Sets PropertyType
    - `bedrooms` number, double, nullable — Gets or Sets Bedrooms
    - `profileTier` string, nullable — Gets or Sets ProfileTier
    - `profileUrl` string, nullable — Gets or Sets ProfileUrl
    - `profilePhoto` string, nullable — Gets or Sets ProfilePhoto
    - `thumbnail` string, nullable — Gets or Sets Thumbnail
    - `jobTitle` string, nullable — Gets or Sets JobTitle
    - `jobCategory` string, nullable — Gets or Sets JobCategory
    - `mobile` string, nullable — Gets or Sets Mobile
    - `telephone` string, nullable — Gets or Sets Telephone
    - `email` string, nullable — Gets or Sets Email
    - `averageSoldDaysOnMarket` number, double, nullable — Gets or Sets AverageSoldDaysOnMarket
    - `averageSoldPrice` number, double, nullable — Gets or Sets AverageSoldPrice
    - `averageSoldPriceIncWithheld` number, double, nullable — Gets or Sets AverageSoldPriceIncWithheld
    - `maxSoldPrice` number, double, nullable — Gets or Sets MaxSoldPrice
    - `maxSoldPriceIncWithheld` number, double, nullable — Gets or Sets MaxSoldPriceIncWithheld
    - `minSoldPrice` number, double, nullable — Gets or Sets MinSoldPrice
    - `minSoldPriceIncWithheld` number, double, nullable — Gets or Sets MinSoldPriceIncWithheld
    - `totalForRent` integer, nullable — Gets or Sets TotalForRent
    - `totalLeased` integer, nullable — Gets or Sets TotalLeased
    - `totalForSale` integer, nullable — Gets or Sets TotalForSale
    - `totalSold` integer, nullable — Gets or Sets TotalSold
    - `totalJointSold` integer, nullable — Gets or Sets TotalJointSold
    - `totalJointLeased` integer, nullable — Gets or Sets TotalJointLeased
    - `totalSoldAndAuctioned` integer, nullable — Gets or Sets TotalSoldAndAuctioned
    - `totalJointSoldAndAuctioned` integer, nullable — Gets or Sets TotalJointSoldAndAuctioned
    - `totalDaysOnMarket` number, double, nullable — Gets or Sets TotalDaysOnMarket
    - `totalSoldPrice` integer, nullable — Gets or Sets TotalSoldPrice
    - `totalSoldPriceIncWithheld` integer, nullable — Gets or Sets TotalSoldPriceIncWithheld
    - `totalAuctioned` integer, nullable — Gets or Sets TotalAuctioned
    - `totalNotWithheldSoldCount` integer, nullable — Gets or Sets TotalNotWithheldSoldCount
    - `totalSoldWithValidDaysOnMarket` integer, nullable — Gets or Sets TotalSoldWithValidDaysOnMarket
    - `agencyId` integer, nullable — Gets or Sets AgencyId
    - `agencyName` string, nullable — Gets or Sets AgencyName
    - `agencyLogoSmall` string, nullable — Gets or Sets AgencyLogoSmall
    - `agencyLogoUrl` string, nullable — Gets or Sets AgencyLogoUrl
    - `brandColour` string, nullable — Gets or Sets BrandColour
    - `agencyProfileUrl` string, nullable — Gets or Sets AgencyProfileUrl
    - `showRecentlySold` boolean, nullable — Gets or Sets ShowRecentlySold

## 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/revisions/cc7620662261/schema)
