Skip to main content
GET
/
{apiVersion}
/
{apiProvince}
/
profiles_of_listing
Get Profiles of a Listing
curl --request GET \
  --url https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing \
  --header 'x-api-key: <api-key>'
import requests

url = "https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing"

headers = {"x-api-key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};

fetch('https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-api-key", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing")
.header("x-api-key", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.getbuildify.com/{apiVersion}/{apiProvince}/profiles_of_listing")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'

response = http.request(request)
puts response.read_body
"{\n  \"owners\": [],\n  \"builders\": [\n    \"Builders/3tLqusTBLjz2p52xbuU3\"\n  ],\n  \"marketingCompanies\": [\n    \"Marketers/5zG7biPh5vDGxP4GMw58\"\n  ],\n  \"salesCompanies\": [\n    \"SalesCompanies/md5syAFCqmgio8CUTk1Q\"\n  ],\n  \"architects\": [\n    \"Architects/IgC5hMbQ1jqXAAoV4ynY\"\n  ],\n  \"interiorDesigners\": [\n    \"InteriorDesigners/40MlPNcpFer8VFyhQaMl\"\n  ],\n  \"id\": \"Q1UD4Y\"\n}"
"{\n    \"requestId\": \"1675936638514022480-YXdzLWFwLXNvdXRoLTE=-11aae58e034148e6b9a998db5f8e60e93d820a60b13c49f0a1074cf2a84d3438\",\n    \"message\": \"Forbidden\"\n}"
"{\n  \"requestId\": \"1675930187281514036-YXdzLXVzLWVhc3QtMQ==-3ea8e17502b24832a8ecec42de71b8b7cdf2842f0f154daea9fa34ea5bea4b05\",\n  \"message\": \"No data product found. Please contact your data provider\"\n}"
"{\n  \"message\": \"Error: 500\"\n}"

Authorizations

x-api-key
string
header
required

Path Parameters

apiVersion
enum<string>
required
Available options:
v1-sandbox,
v1-lite,
v1
apiProvince
enum<string>
default:on
required
Available options:
all,
on,
bc,
ab,
mb,
nb,
nl,
ns,
pe,
qc,
sk

Query Parameters

id
string
required

Listing id for which profiles needs to fetched.

referrences
string

Fields to attach referrences. For example: builders, marketers, etc. It should be comma separated. See more info.

Response

200

owners
string[]
builders
string[]
marketingCompanies
string[]
salesCompanies
string[]
architects
string[]
interiorDesigners
string[]
id
string
Example:

"Q1UD4Y"