Public School
Overview
The Public Schools API allows you to retrieve a list of public schools within a specified filter. This is useful for obtaining school information for a particular filter.
Base URL
The base URL for the API is https://api.realtyfeed.com.
Endpoint
Get Neighbourhoods by State
Endpoint
GET /geo/schools/publicsch
Query Parameters
CBSACBSATYPECDCITYCNTYCSALEAIDLOCALENAMENCESSCHNECTANMCBSANMCNTYNMCSANMNECTAOPSTFIPSSCHOOLYEARSLDLSLDUSTATESTFIPSTREETZIPoffsetlimit
Response
200 OK: Returns a JSON response containing a list of public schools
Example:
{
"data": [
{
"NCESSCH": "010000500870",
"LEAID": "0100005",
"NAME": "Albertville Middle School",
"OPSTFIPS": "01",
"STREET": "600 E Alabama Ave",
"CITY": "Albertville",
"STATE": "AL",
"ZIP": "35950",
"STFIP": "01",
"CNTY": "01095",
"NMCNTY": "Marshall County",
"LOCALE": "32",
"LAT": 34.2602,
"LON": -86.2062,
"CBSA": "10700",
"NMCBSA": "Albertville, AL",
"CBSATYPE": "2",
"CSA": "N",
"NMCSA": "N",
"NECTA": "N",
"NMNECTA": "N",
"CD": "0104",
"SLDL": "01026",
"SLDU": "01009",
"SCHOOLYEAR": "2022-2023",
"geometry": [
-86.2062,
34.2602
]
}
],
"total": 102268
}404 Not Found: If no public school is found for the given filter.
Usage
To use the public schools API, perform a GET request to the specified endpoint with the desired filter as a query parameter. The API will respond with a list of public schools within the specified filter.