{"uid":"cap_ZCgcjfzgPHlgp12UqCrkl","slug":"2s-io-us-public-k-12-school-lookup-473114e8","name":"2s.io US Public K-12 School Lookup","description":"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.","url":"https://2s.io/api/edu/school-lookup","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"properties":{"zip":{"type":"string"},"city":{"type":"string"},"name":{"type":"string","description":"School name, partial match."},"limit":{"type":"integer","default":10,"maximum":100,"minimum":1},"state":{"type":"string","description":"2-letter state code."},"offset":{"type":"integer","default":0,"minimum":0},"ncessch":{"type":"string","description":"Exact 12-digit NCES school id."},"district":{"type":"string","description":"District (LEA) name, partial match."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"name":"Elementary","limit":10,"state":"CA","offset":0}}},"response":{"data":{"count":10,"source":{"url":"https://educationdata.urban.org/","license":"Public-domain NCES data; attribute the Urban Institute Education Data Portal.","provider":"NCES Common Core of Data (via Urban Institute Education Data Portal)"},"schools":[{"zip":"92880","city":"Eastvale","name":"Harada Elementary","year":2022,"leaid":"0609850","phone":"(951)739-6820","state":"CA","magnet":null,"street":"12884 Oakdale St.","charter":false,"ncessch":"060985011015","virtual":false,"district":"Corona-Norco Unified","latitude":33.971547,"longitude":-117.56526,"enrollment":1267,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":47,"highestGrade":6},{"zip":"92243","city":"El Centro","name":"McCabe Elementary","year":2022,"leaid":"0624180","phone":"(760)352-5443","state":"CA","magnet":null,"street":"701 W. McCabe Rd.","charter":false,"ncessch":"062418003643","virtual":false,"district":"McCabe Union Elementary","latitude":32.751515,"longitude":-115.595372,"enrollment":1209,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":48,"highestGrade":8},{"zip":"95336","city":"Manteca","name":"George McParland Elementary","year":2022,"leaid":"0623610","phone":"(209)858-7290","state":"CA","magnet":null,"street":"1601 N.gate Dr.","charter":false,"ncessch":"062361009398","virtual":false,"district":"Manteca Unified","latitude":37.8214,"longitude":-121.2433,"enrollment":1157,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":45,"highestGrade":8},{"zip":"92880","city":"Eastvale","name":"Eastvale Elementary","year":2022,"leaid":"0609850","phone":"(951)738-2180","state":"CA","magnet":null,"street":"13031 Orange St.","charter":false,"ncessch":"060985011711","virtual":false,"district":"Corona-Norco Unified","latitude":33.959696,"longitude":-117.567549,"enrollment":1152,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":45,"highestGrade":6},{"zip":"92880","city":"Eastvale","name":"Ronald Reagan Elementary","year":2022,"leaid":"0609850","phone":"(951)736-8250","state":"CA","magnet":null,"street":"8300 Fieldmaster St.","charter":false,"ncessch":"060985013855","virtual":false,"district":"Corona-Norco Unified","latitude":33.937405,"longitude":-117.598199,"enrollment":1147,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":46,"highestGrade":6},{"zip":"92880","city":"Eastvale","name":"Clara Barton Elementary","year":2022,"leaid":"0609850","phone":"(951)736-4545","state":"CA","magnet":null,"street":"7437 Corona Valley Ave.","charter":false,"ncessch":"060985011246","virtual":false,"district":"Corona-Norco Unified","latitude":33.951946,"longitude":-117.587934,"enrollment":1144,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":39,"highestGrade":6},{"zip":"95341","city":"Merced","name":"Pioneer Elementary","year":2022,"leaid":"0641880","phone":"(209)725-7111","state":"CA","magnet":null,"street":"2950 Gerard Ave.","charter":false,"ncessch":"064188003327","virtual":false,"district":"Weaver Union","latitude":37.280092,"longitude":-120.434821,"enrollment":1126,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":53,"highestGrade":5},{"zip":"91915","city":"Chula Vista","name":"Muraoka (Saburo) Elementary","year":2022,"leaid":"0608610","phone":"(619)216-5599","state":"CA","magnet":null,"street":"1644 Santa Alexia Ave.","charter":false,"ncessch":"060861014127","virtual":false,"district":"Chula Vista Elementary","latitude":32.614651,"longitude":-116.992291,"enrollment":1101,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":43,"highestGrade":6},{"zip":"95337","city":"Manteca","name":"Nile Garden Elementary","year":2022,"leaid":"0623610","phone":"(209)858-7370","state":"CA","magnet":null,"street":"5700 E. Nile Rd.","charter":false,"ncessch":"062361003585","virtual":false,"district":"Manteca Unified","latitude":37.7543,"longitude":-121.2375,"enrollment":1070,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":41,"highestGrade":8},{"zip":"95330","city":"Lathrop","name":"Mossdale Elementary","year":2022,"leaid":"0623610","phone":"(209)938-6285","state":"CA","magnet":null,"street":"455 Brookhurst Blvd.","charter":false,"ncessch":"062361011959","virtual":false,"district":"Manteca Unified","latitude":37.8013,"longitude":-121.3063,"enrollment":1069,"schoolType":1,"lowestGrade":0,"schoolLevel":1,"teachersFte":39,"highestGrade":8}]},"meta":{"cost":{"usd":0.00144,"tier":0},"caller":"x402","version":null,"endpoint":"edu.school-lookup","settlement":{"txHash":"0xe49c58a610a600cf9d14f1be2af7ff385ba470a4f2fa419381de1296eb87c123","network":"eip155:8453","success":true}}}},"exampleRequest":{"name":"Elementary","limit":10,"state":"CA","offset":0},"tags":["x402"],"displayCostAmount":"0.00144","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.00144/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_6Gmz7WK-8DT7MXIP9Jelp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and retrieve detailed records for ~102,000 US public K-12 schools from NCES Common Core of Data, filtering by name, district, state, city, ZIP, or exact NCES ID","exampleAgentPrompt":"Can you find all public middle schools in Austin, Texas — I want their names, addresses, enrollment numbers, and NCES IDs?","exampleUseCases":null,"resultDescription":"A list of public K-12 school records ordered by enrollment, each containing: NCES school ID, school name, district name and LEA ID, full address, phone number, latitude/longitude, school level (primary/middle/high/other), school type (regular/special-ed/vocational/alternative), charter/magnet/virtual flags, total enrollment, teacher FTE, grade span, and CCD year. Results are paginated via limit and offset.","failureModes":["No results returned if the name, city, ZIP, or district string does not partially match any record","Invalid state code (not a valid 2-letter US state abbreviation) may return empty results","ncessch must be exactly 12 digits; malformed IDs will not match","Overly broad queries may return up to 100 results per page, requiring pagination to retrieve all matches","Payment failure (402) if USDC balance is insufficient for the $0.00144 per-call fee"],"whenToPreferThis":"Use this endpoint when you need structured, authoritative data on US public K-12 schools from federal NCES records, especially when filtering by geography (state, city, ZIP), school name, or district. Prefer this over general web search when you need machine-readable fields like enrollment, grade span, school type, charter/magnet status, or precise lat/lon coordinates. For higher education, use the sibling /api/edu/college-scorecard endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:57:31.179Z","isFirstParty":false}