Contact support

Reference

School district

GET

/api/v1/schools/districts/{lea_id}/

One attendance district, with counts of the open campuses inside it.

Parameters

Name Type Description
lea_id* string NCES district id.
boundary boolean When true, include a simplified GeoJSON polygon of the attendance boundary. Default False.

* Required.

Response

  • lea_id string
  • name string

    Full district name.

  • short_name string

    Short district name.

  • state string
  • public_schools integer

    Open public campuses inside the boundary.

  • private_schools integer

    Open private campuses inside the boundary.

  • all_schools integer
  • all_students integer

    Sum of enrollment for open campuses inside the boundary.

  • boundary object | null

    Simplified GeoJSON polygon. Null unless the request sent boundary=1.

Status

  • 200 The record.
  • 401 Missing or invalid credentials.
  • 403 This plan has no call allowance configured.
  • 404 No record with that id.
  • 429 Monthly call limit reached.