StreetEasy API endpoint
Retrieves the public school facts rendered on StreetEasy, including neighborhood, grade labels, district, address, phone, and fax when available. Use the school slug from a public /nyc/school/{slug} link, including the school results returned by streeteasy-quick-search.
/streeteasy/schools/{slug}Path parameters:
slug (required): StreetEasy school profile slug from a public /nyc/school/{slug} URL or a school entry in streeteasy-quick-search.The response includes public profile facts shown by StreetEasy: school name, neighborhood, grade labels, district, address, phone, and fax when present. Grade labels are returned as the source's strings because the upstream may include special labels such as SE.
| Field | In the sample | Value in the sample |
|---|---|---|
| slug | Has a value | |
| url | Has a value | streeteasy.com |
| name | Has a value | “Young Women's Leadership School, Astoria” |
| neighborhood | Has a value | “Astoria” |
| grades | Has a value | 8 entries |
| district | Has a value | 30 |
| address | Has a value | |
| phone | Has a value | |
| fax | Has a value |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug (path) | string | Yes | StreetEasy school slug | q286-queens | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/streeteasy/schools/q286-queens" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 0,
"data": {
"slug": "q286-queens",
"url": "https://streeteasy.com/nyc/school/q286-queens",
"name": "Young Women's Leadership School, Astoria",
"neighborhood": "Astoria",
"grades": [
"06",
"07",
"08",
"09",
"10",
"11",
"12",
"SE"
],
"district": 30,
"address": "23-06 Astoria Boulevard, Astoria, NY 11102",
"phone": "(718) 267-2839",
"fax": "(718) 728-0218"
}
}Request schema
No body schema
Response schema
#/definitions/streeteasy.SchoolDetails
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| address | string | No | ||||
| district | integer | No | ||||
| fax | string | No | ||||
| grades | array | No | ||||
| name | string | No | ||||
| neighborhood | string | No | ||||
| phone | string | No | ||||
| slug | string | No | ||||
| url | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/streeteasy/schools/q286-queens" \
-H "x-api-key: $CRAWLORA_API_KEY"