apidata.one docs Get a key

GET /v1/listings/{listingKey}/schools

A listing's school district, and the schools its agent entered.

Access
Keys publishable or secret
Plan Premium
Environment live and sandbox
Acts for the account
While the account is suspended refused
During a data stop refused

Path

Name Type Description
listingKey string Required. The listing's key. With ?mlsNumber=true, an MLS number, current or past, in its place.

Headers

Name Description
X-Client-Token Optional, with a publishable key: a token your server minted for a consumer with POST /v1/client-tokens. With it, each listing says whether it is a favorite of theirs (isFavorite).
X-Client-Id Optional, with a secret key: your own opaque ID for a consumer, to the same end.

Answers

200: The listing's schools

The answer is { data, meta, compliance, warnings }: meta holds requestId, environment and dataLastUpdatedAt; compliance is the block of notices to show; warnings is a list of Warning, empty when there is nothing to say.

data is a ListingSchoolsAnswer.

Errors

Every error has the same body, and says how to fix it (responses and errors).

More

Premium only (403 tier_insufficient with capability: "schools" on Basic).

{
  "data": {
    "listingKey": "805454359664",
    "district": { "placeId": "pl_…", "displayName": "Lower Merion School District, PA", "districtType": "unified", "grades": "KG-12" },
    "districts": [ { "placeId": "pl_…", "displayName": "Lower Merion School District, PA", "districtType": "unified", "grades": "KG-12" } ],
    "assigned": [
      { "level": "elementary", "name": "PENN VALLEY", "source": "listing" },
      { "level": "middle_or_junior", "name": "WELSH VALLEY", "source": "listing" },
      { "level": "high", "name": "HARRITON", "source": "listing" }
    ],
    "asOf": "2026-11-09T18:30:00.000Z",
    "notice": "School assignments are subject to change; verify with the school district."
  },
  "meta": { "…": "as for the detail" },
  "compliance": { "…": "the compliance block" },
  "warnings": []
}

This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.

This page as Markdown