edu

Look up any US public K-12 school (~102k, NCES Common Core...

Look up any US public K-12 school (~102k, NCES Common Core of Data). Search by name (partial), district (LEA name, partial), state (2-letter), city, zip, or exact ncessch (12-digit NCES id). Each school: NCES id, name, district + LEA id, address, phone, lat/lon, school level (1=primary 2=middle 3=high 4=other) and type (1=regular 2=special-ed 3=vocational 4=alternative), charter/magnet/virtual flags, enrollment, teacher FTE, grade span, CCD year. Results ordered by enrollment. Higher-ed sibling: /api/edu/college-scorecard. Public-domain federal data.

get/api/edu/school-lookup

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/edu/school-lookup
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

namestring

Name to search for.

districtstring

District.

statestring

US state — two-letter postal abbreviation (e.g. CA) or full name.

citystring

City name to filter by.

zipstring

US ZIP code.

ncesschstring

Ncessch.

limitinteger

Maximum number of results to return.

offsetinteger

Number of results to skip before returning (pagination offset).

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.