GET/v1/schools/districts
Public-school districts, filterable by state or county (paginated).
[ OPTIONS ]
| Name | Type | Required | Description |
|---|---|---|---|
state | string | No | USPS state code. |
county_fips | string | No | 5-digit county FIPS. |
page | integer | No | Page number (default 1). |
per_page | integer | No | Results per page (default 25, max 100). |
[ EXAMPLE REQUEST ]
curl "https://atlasblock.dev/api/v1/schools/districts?state=NC"[ 200 OK ]
{
"status": "success",
"data": {
"districts": [
{
"district_id": "3700001",
"district_name": "Charlotte-Mecklenburg Schools",
"state": "NC",
"school_count": 176,
"enrollment": 141000
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 115,
"total_pages": 5
}
}
}[ TRY IT ]Open playground →
GET/v1/schools/districts?state=NC
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/schools/districts?state=NC" \ -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.
