API Reference
Get Building
Comprehensive building data including amenities, policies, developer, architect, NYC regulatory data (community district, police precinct, building class), and tax/management details.
On Business and Internal keys, when the stored building is more than 30
minutes old the request first fetches it live, waiting up to about 10
seconds, and returns meta.source: "live". If that fetch times out or
fails, or the shared live-fetch budget is held for Borough’s scheduled
updates, or live fetching is paused, the stored record is returned
instead (meta.source cached or stale).
Tier: Starter+
GET
/
building
/
{id}
Get building detail
curl --request GET \
--url https://borough.qwady.app/v1/building/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://borough.qwady.app/v1/building/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://borough.qwady.app/v1/building/{id}', 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://borough.qwady.app/v1/building/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://borough.qwady.app/v1/building/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://borough.qwady.app/v1/building/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://borough.qwady.app/v1/building/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"addressStreet": "<string>",
"yearBuilt": 123,
"floorCount": 123,
"unitCount": 123,
"buildingType": "<string>",
"areaId": 123,
"geoPoint": {
"latitude": 40.7654,
"longitude": -73.9791
},
"amenities": {},
"policies": {},
"nycData": {},
"additionalDetails": {},
"taxAbatementStatus": "<string>",
"taxAbatementYearsRemaining": 123,
"managementCompany": "<string>",
"yearRenovated": 123,
"bbl": "<string>",
"internetProviders": {
"status": "matched",
"source": "fcc_bdc",
"coverageLevel": "building",
"fccLocationId": 123,
"blockGeoid": "<string>",
"matchedAddress": "<string>",
"unitCount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"providers": [
{
"providerId": 123,
"providerName": "<string>",
"holdingCompanyName": "<string>",
"technologyCode": 123,
"technologyLabel": "<string>",
"maxDownloadMbps": 123,
"maxUploadMbps": 123,
"lowLatency": true
}
],
"disclaimer": "<string>"
}
},
"meta": {
"dataAge": "2023-11-07T05:31:56Z",
"source": "cached",
"freshnessThreshold": 123,
"refreshTriggered": true,
"detailScraped": true
}
}
Use the
internetProviders field to inspect FCC-sourced likely internet availability, including provider names, technologies, and advertised speeds.
This product uses FCC APIs and/or Data but is not endorsed or certified by the FCC.
⌘I
Get building detail
curl --request GET \
--url https://borough.qwady.app/v1/building/{id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://borough.qwady.app/v1/building/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://borough.qwady.app/v1/building/{id}', 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://borough.qwady.app/v1/building/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://borough.qwady.app/v1/building/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://borough.qwady.app/v1/building/{id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://borough.qwady.app/v1/building/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"slug": "<string>",
"name": "<string>",
"addressStreet": "<string>",
"yearBuilt": 123,
"floorCount": 123,
"unitCount": 123,
"buildingType": "<string>",
"areaId": 123,
"geoPoint": {
"latitude": 40.7654,
"longitude": -73.9791
},
"amenities": {},
"policies": {},
"nycData": {},
"additionalDetails": {},
"taxAbatementStatus": "<string>",
"taxAbatementYearsRemaining": 123,
"managementCompany": "<string>",
"yearRenovated": 123,
"bbl": "<string>",
"internetProviders": {
"status": "matched",
"source": "fcc_bdc",
"coverageLevel": "building",
"fccLocationId": 123,
"blockGeoid": "<string>",
"matchedAddress": "<string>",
"unitCount": 123,
"updatedAt": "2023-11-07T05:31:56Z",
"providers": [
{
"providerId": 123,
"providerName": "<string>",
"holdingCompanyName": "<string>",
"technologyCode": 123,
"technologyLabel": "<string>",
"maxDownloadMbps": 123,
"maxUploadMbps": 123,
"lowLatency": true
}
],
"disclaimer": "<string>"
}
},
"meta": {
"dataAge": "2023-11-07T05:31:56Z",
"source": "cached",
"freshnessThreshold": 123,
"refreshTriggered": true,
"detailScraped": true
}
}