---
title: "Get location data based on the given domainLocationId"
method: GET
path: "/v1/locations/profiles/{domainLocationId}"
tags: ["Locations"]
---

# Get location data based on the given domainLocationId

`GET /v1/locations/profiles/{domainLocationId}`

## Request

- Base URL: `https://api.domain.com.au`
- URL: `https://api.domain.com.au/v1/locations/profiles/{domainLocationId}`
- Auth: one of:
  - API key in header `x-api-key`
  - OAuth 2
    - Authorization code: `https://auth.domain.com.au/v1/connect/authorize`
    - Client credentials
    - Token URL: `https://auth.domain.com.au/v1/connect/token` scopes: `api_locations_read`
- TypeScript: <https://skmtc.dev/domain/apis/domain-public-api/docs/v1/locations/profiles/:domainLocationId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `domainLocationId` string, required

## Response `200`

Ok

- DomainLocationProfilesServiceV1ModelLocation
  - `domainLocationId` integer
  - `postcode` string
  - `pfLocationId` string
  - `surroundingSuburbs` DomainLocationProfilesServiceV1ModelLocationSurroundingSuburbs[]
    - `name` string
    - `urlSlug` string
  - `urlSlug` string
  - `suburbName` string
  - `data` DomainLocationProfilesServiceV1ModelLocationData
    - `studiosForRent` integer
    - `terracedHousesForSale` integer
    - `semiDetachedHousesForSale` integer
    - `townhousesForRent` integer
    - `apartmentsAndUnitsForSale` integer
    - `apartmentsAndUnitsForRent` integer
    - `villasForSale` integer
    - `duplexesForSale` integer
    - `semiDetachedHousesForRent` integer
    - `studiosForSale` integer
    - `singlePercentage` number, double
    - `mostCommonAgeBracket` string
    - `renterPercentage` number, double
    - `penthousesForSale` integer
    - `villasForRent` integer
    - `duplexesForRent` integer
    - `housesForSale` integer
    - `ownerOccupierPercentage` number, double
    - `propertyCategories` DomainLocationProfilesServiceV1ModelLocationDataPropertyCategories[]
      - `luxuryLevelPrice` number, double
      - `numberSold` integer
      - `estimatedRepayments` number, double
      - `forSale` integer
      - `medianSoldPrice` number, double
      - `medianRentPrice` number, double
      - `daysOnMarket` number, double
      - `bedrooms` integer
      - `forRent` integer
      - `entryLevelPrice` number, double
      - `salesGrowthList` DomainLocationProfilesServiceV1ModelLocationDataSalesGrowthList[]
        - `medianSoldPrice` number, double
        - `annualGrowth` number, double
        - `numberSold` integer
        - `year` integer
      - `auctionClearanceRate` number, double
      - `propertyCategory` string
      - `mostRecentSale` string
    - `population` number, double
    - `penthousesForRent` integer
    - `townhousesForSale` integer
    - `terracedHousesForRent` integer
    - `marriedPercentage` number, double
    - `housesForRent` integer
    - `blockOfUnitsForSale` integer
  - `apmLocationId` integer
  - `locationId` integer
  - `areaName` string
  - `regionName` string
  - `state` string

## Other responses

- `401`: Unauthorised
- `404`: Not Found

---

[API](https://skmtc.dev/domain/apis/domain-public-api.md) - [All operations](https://skmtc.dev/domain/apis/domain-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/domain/apis/domain-public-api/revisions/133015c6842c?raw)
