Atlasblock API

GET/v1/schools/districts/{districtId}/schools

The schools in a district (paginated).

[ OPTIONS ]
NameTypeRequiredDescription
districtIdstring (path)YesThe district id (NCES leaid).
source / level / sector / charter / typestringNoSame filters as /v1/schools.
pageintegerNoPage number (default 1).
per_pageintegerNoResults per page (default 25, max 100).
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/schools/districts/3700001/schools"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "district_id": "3700001",
    "schools": [
      {
        "id": "370297001543",
        "name": "Myers Park High",
        "source": "ccd",
        "level": "high",
        "zip": "28207"
      }
    ],
    "pagination": {
      "page": 1,
      "per_page": 25,
      "total": 176,
      "total_pages": 8
    }
  }
}
GET/v1/schools/districts/3700001/schools
[ PATH ]
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/schools/districts/3700001/schools" \
  -H "Authorization: Bearer $ATLASBLOCK_API_KEY"
[ EVERY REQUEST ]

Send an Authorization: Bearer key against the base URL https://atlasblock.dev/api. Every call counts toward your plan quota. See the overview for authentication, rate limits, and status codes.