Skip to content
Scrappa Get API key
Redfin API 1 credit/request

Redfin Schools Near a Property

GET https://scrappa.co/api/redfin/schools

List the schools that serve a property: name, GreatSchools rating (1-10), parent rating, distance in miles, grade range, public or private type, whether the school serves the home, number of students, student-teacher ratio, address, rating parts (test scores, student growth, equity) and the school district. An empty list is a valid result. The data is US only.

Cost: 1 credit per successful request. Failed requests are not charged.

Redfin Schools Near a Property 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/redfin/schools
Auth header
x-api-key
Cost
1 credit/request
property_id = 1234567890
Response preview
200 OK
{
    "count": 3,
    "schools": [
        {
            "id": 54817,
            "name": "James Baldwin Elementary School",
            "type": "Public",
            "grades": "PreK-5",
            "rating": 8,
            "ratings": [
                {
                    "type": "Test Scores",
                    "rating": 6
                }
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

property_id string Required

Redfin property ID from /api/redfin/search (property_id).

Example value 1234567890

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

count schools districts property_id

Common schools fields

id name type grades
JSON Response
200 OK
{
    "count": 3,
    "schools": [
        {
            "id": 54817,
            "name": "James Baldwin Elementary School",
            "type": "Public",
            "grades": "PreK-5",
            "rating": 8,
            "ratings": [
                {
                    "type": "Test Scores",
                    "rating": 6
                }
            ],
            "district": "Seattle Public Schools",
            "students": 287,
            "serves_home": true,
            "parent_rating": 5,
            "distance_miles": 1.1
        }
    ],
    "districts": [
        {
            "id": 4179,
            "name": "Seattle Public Schools",
            "has_choice_schools": false
        }
    ],
    "property_id": 102610
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

400

HTTP 400

The request contains null bytes or unsupported control characters.

422

HTTP 422

One or more Redfin request parameters failed validation.

404

HTTP 404

Property not found

500

HTTP 500

The upstream service is temporarily unavailable. Please retry shortly.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.