Atlasblock API

GET/v1/schools/districts/{districtId}

One district: name, school count, enrollment, and a level breakdown.

[ OPTIONS ]
NameTypeRequiredDescription
districtIdstring (path)YesThe district id (NCES leaid).
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/schools/districts/3700001"
[ 200 OK ]
{
  "status": "success",
  "data": {
    "district": {
      "district_id": "3700001",
      "district_name": "Charlotte-Mecklenburg Schools",
      "state": "NC",
      "school_count": 176,
      "enrollment": 141000,
      "by_level": {
        "elementary": 90,
        "middle": 40,
        "high": 46
      }
    }
  }
}
GET/v1/schools/districts/3700001
[ PATH ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/schools/districts/3700001" \
  -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.