Get Property Neighborhood And Schools
curl --request GET \
--url https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools"
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/property/neighborhood-and-schools', 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/property/neighborhood-and-schools",
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/property/neighborhood-and-schools"
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/property/neighborhood-and-schools")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools")
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,
"data": {
"schools": {
"total": 12,
"schools": [
{
"id": "078602041",
"name": "Hillcrest Drive Elementary School",
"slug_id": "Hillcrest-Drive-Elementary-School-078602041",
"slug": "Hillcrest-Drive-Elementary-School-078602041",
"education_levels": [
"elementary"
],
"distance_in_miles": 0.6,
"student_teacher_ratio": 16.2,
"rating": 4,
"grades": [
"K",
"1",
"2",
"3",
"4",
"5"
],
"funding_type": "public",
"student_count": 549,
"review_count": 8,
"parent_rating": 3,
"assigned": true
}
]
},
"location": {
"neighborhoods": [
{
"city": "Los Angeles",
"id": "c1d0952a-36b9-58c0-8beb-e281be7e6cf4",
"level": "neighborhood",
"name": "Crenshaw",
"geo_type": "neighborhood",
"state_code": "CA",
"slug_id": "Crenshaw_Los-Angeles_CA",
"geo_statistics": {},
"boundary": {
"type": "Polygon",
"coordinates": [
[
[
-118.33976,
34.00562
],
[
-118.34161,
34.00461
],
[
-118.34269,
34.00447
]
]
]
},
"centroid": {
"lat": 34.013522,
"lon": -118.346819
}
}
]
}
}
}{
"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"
}Property
Get Property Neighborhood And Schools
Get Property Neighborhood And Schools
GET
/
api
/
v1
/
property
/
neighborhood-and-schools
Get Property Neighborhood And Schools
curl --request GET \
--url https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools"
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/property/neighborhood-and-schools', 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/property/neighborhood-and-schools",
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/property/neighborhood-and-schools"
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/property/neighborhood-and-schools")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://us-red-property-data.p.rapidapi.com/api/v1/property/neighborhood-and-schools")
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,
"data": {
"schools": {
"total": 12,
"schools": [
{
"id": "078602041",
"name": "Hillcrest Drive Elementary School",
"slug_id": "Hillcrest-Drive-Elementary-School-078602041",
"slug": "Hillcrest-Drive-Elementary-School-078602041",
"education_levels": [
"elementary"
],
"distance_in_miles": 0.6,
"student_teacher_ratio": 16.2,
"rating": 4,
"grades": [
"K",
"1",
"2",
"3",
"4",
"5"
],
"funding_type": "public",
"student_count": 549,
"review_count": 8,
"parent_rating": 3,
"assigned": true
}
]
},
"location": {
"neighborhoods": [
{
"city": "Los Angeles",
"id": "c1d0952a-36b9-58c0-8beb-e281be7e6cf4",
"level": "neighborhood",
"name": "Crenshaw",
"geo_type": "neighborhood",
"state_code": "CA",
"slug_id": "Crenshaw_Los-Angeles_CA",
"geo_statistics": {},
"boundary": {
"type": "Polygon",
"coordinates": [
[
[
-118.33976,
34.00562
],
[
-118.34161,
34.00461
],
[
-118.34269,
34.00447
]
]
]
},
"centroid": {
"lat": 34.013522,
"lon": -118.346819
}
}
]
}
}
}{
"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
Property ID used to identify the property
Minimum string length:
1Pattern:
^\d+$Example:
"2503567184"
⌘I