Get Agent Property Active Listing
curl --request GET \
--url https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://us-red-property-data.p.rapidapi.com/api/v1/agent/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://us-red-property-data.p.rapidapi.com/api/v1/agent/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-rapidapi-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://us-red-property-data.p.rapidapi.com/api/v1/agent/listing"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-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://us-red-property-data.p.rapidapi.com/api/v1/agent/listing")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"cost": 1,
"total": 792,
"has_more": true,
"data": [
{
"property_id": "5894444041",
"listing_id": "2989314307",
"status": "for_sale",
"description": {
"sold_date": "2015-12-16",
"baths_consolidated": "2.5+",
"beds": 3,
"lot_sqft": 2614,
"sqft": 3332,
"stories": 3,
"sold_price": 675265
},
"location": {
"address": {
"postal_code": "20018",
"state": "District of Columbia",
"street_name": "Baldwin",
"street_number": "2538",
"city": "Washington",
"coordinate": {
"lat": 38.924137,
"lon": -76.956252
}
},
"county": {
"state_code": "DC"
},
"search_areas": [
{
"city": "washington",
"state_code": "dc",
"county": "district of columbia"
}
]
},
"list_price": 834900,
"photos": [
{
"href": "http://ap.rdcpix.com/daba0037e6ad2b440d742de51d7d9b92l-m2331241703rd-w960_h720.jpg"
}
],
"primary_photo": {
"href": "http://ap.rdcpix.com/daba0037e6ad2b440d742de51d7d9b92l-m2331241703rd-w960_h720.jpg"
},
"href": "https://www.realtor.com/realestateandhomes-detail/2538-Baldwin-Cres-NE_Washington_DC_20018_M58944-44041",
"permalink": "2538-Baldwin-Cres-NE_Washington_DC_20018_M58944-44041",
"advertisers": [
{
"fulfillment_id": "208999",
"type": "seller"
}
],
"flags": {
"is_coming_soon": null,
"is_contingent": null,
"is_garage_present": true,
"is_new_construction": null,
"is_pending": null,
"is_short_sale": null,
"is_foreclosure": null,
"is_senior_community": null,
"is_for_rent": null,
"is_deal_available": null,
"is_price_excludes_land": null,
"is_promotion_present": null,
"is_subdivision": null,
"is_plan": null,
"is_price_reduced": true,
"is_new_listing": false,
"is_sales_builder": null,
"is_usda_eligible": null
}
}
]
}{
"message": "Bad request"
}{
"message": "Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info."
}{
"message": "You are not subscribed to this API."
}{
"success": false,
"message": "Request failed with status 500: Internal Server Error",
"status_code": 500,
"cost": 0,
"explain": "Oops, it looks like there was an issue processing your request. Don't worry, you won't be charged for this request"
}Agent
Get Agent Property Active Listing
Get Agent Property Active Listing
GET
/
api
/
v1
/
agent
/
listing
Get Agent Property Active Listing
curl --request GET \
--url https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://us-red-property-data.p.rapidapi.com/api/v1/agent/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://us-red-property-data.p.rapidapi.com/api/v1/agent/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-rapidapi-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://us-red-property-data.p.rapidapi.com/api/v1/agent/listing"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-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://us-red-property-data.p.rapidapi.com/api/v1/agent/listing")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://us-red-property-data.p.rapidapi.com/api/v1/agent/listing")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"cost": 1,
"total": 792,
"has_more": true,
"data": [
{
"property_id": "5894444041",
"listing_id": "2989314307",
"status": "for_sale",
"description": {
"sold_date": "2015-12-16",
"baths_consolidated": "2.5+",
"beds": 3,
"lot_sqft": 2614,
"sqft": 3332,
"stories": 3,
"sold_price": 675265
},
"location": {
"address": {
"postal_code": "20018",
"state": "District of Columbia",
"street_name": "Baldwin",
"street_number": "2538",
"city": "Washington",
"coordinate": {
"lat": 38.924137,
"lon": -76.956252
}
},
"county": {
"state_code": "DC"
},
"search_areas": [
{
"city": "washington",
"state_code": "dc",
"county": "district of columbia"
}
]
},
"list_price": 834900,
"photos": [
{
"href": "http://ap.rdcpix.com/daba0037e6ad2b440d742de51d7d9b92l-m2331241703rd-w960_h720.jpg"
}
],
"primary_photo": {
"href": "http://ap.rdcpix.com/daba0037e6ad2b440d742de51d7d9b92l-m2331241703rd-w960_h720.jpg"
},
"href": "https://www.realtor.com/realestateandhomes-detail/2538-Baldwin-Cres-NE_Washington_DC_20018_M58944-44041",
"permalink": "2538-Baldwin-Cres-NE_Washington_DC_20018_M58944-44041",
"advertisers": [
{
"fulfillment_id": "208999",
"type": "seller"
}
],
"flags": {
"is_coming_soon": null,
"is_contingent": null,
"is_garage_present": true,
"is_new_construction": null,
"is_pending": null,
"is_short_sale": null,
"is_foreclosure": null,
"is_senior_community": null,
"is_for_rent": null,
"is_deal_available": null,
"is_price_excludes_land": null,
"is_promotion_present": null,
"is_subdivision": null,
"is_plan": null,
"is_price_reduced": true,
"is_new_listing": false,
"is_sales_builder": null,
"is_usda_eligible": null
}
}
]
}{
"message": "Bad request"
}{
"message": "Invalid API key. Go to https://docs.rapidapi.com/docs/keys for more info."
}{
"message": "You are not subscribed to this API."
}{
"success": false,
"message": "Request failed with status 500: Internal Server Error",
"status_code": 500,
"cost": 0,
"explain": "Oops, it looks like there was an issue processing your request. Don't worry, you won't be charged for this request"
}Authorizations
Rapid API Key
Query Parameters
fulfillment_id
Minimum string length:
1Example:
"208999"
⌘I