GET/v1/schools/search
Search schools by name (paginated).
[ OPTIONS ]
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | At least 2 characters of the school name. |
state | string | No | Restrict to a state. |
source / level / sector / charter / type | string | No | Same filters as /v1/schools. |
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/search?query=Myers+Park&state=NC"[ 200 OK ]
{
"status": "success",
"data": {
"query": "Myers Park",
"schools": [
{
"id": "370297001543",
"name": "Myers Park High",
"source": "ccd",
"level": "high",
"zip": "28207",
"state": "NC"
}
],
"pagination": {
"page": 1,
"per_page": 25,
"total": 1,
"total_pages": 1
}
}
}[ TRY IT ]Open playground →
GET/v1/schools/search?query=Myers%2BPark&state=NC
[ QUERY ]
[ CURL ]
curl "https://atlasblock.dev/api/v1/schools/search?query=Myers%2BPark&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.
