{"api":{"id":"api_2bc0b7106a45310d782ad8b6","slug":"ccd-district-enrollment","name":"US School District Enrollment API","description":"Total student enrollment for each US public school district in a given year, from the Common Core of Data, keyed by the district's NCES id so it joins to the district directory. Filter by state.","kind":"ready_made","visibility":"public","domain":"educationdata.urban.org","source_url":"https://educationdata.urban.org/api/v1/school-districts/ccd/enrollment/2021/grade-99/","category":"education","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":7,"created_at":"2026-12-06T04:45:48.344Z","updated_at":"2026-12-06T04:45:48.344Z","runnable":true},"version":"1.0","contract_hash":"b3aed64e7f4e138040ae2e5917968527622e2f73d81cc108f7475b60314a2c01","fields":[{"name":"leaid","type":"string","description":"NCES district id (7 digits).","required":true,"coverage":1,"example":"3600001"},{"name":"year","type":"integer","description":"Data year.","required":false,"coverage":1,"example":2021},{"name":"fips","type":"integer","description":"State FIPS code.","required":false,"coverage":1,"example":36},{"name":"grade","type":"integer","description":"Grade code; 99 means all grades.","required":false,"coverage":1,"example":99},{"name":"race","type":"integer","description":"Race code; 99 means all races.","required":false,"coverage":1,"example":99},{"name":"sex","type":"integer","description":"Sex code; 99 means both.","required":false,"coverage":1,"example":99},{"name":"enrollment","type":"integer","description":"Number of enrolled students.","required":false,"coverage":1,"example":828}],"inputs":[{"name":"year","type":"string","description":"Data year, such as 2021.","example":"2021","required":true},{"name":"state_fips","type":"string","description":"Two-digit state FIPS code, such as 36 for New York. Leave empty for all states.","example":"36"}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"enrollment":{"description":"Number of enrolled students.","type":"integer"},"fips":{"description":"State FIPS code.","type":"integer"},"grade":{"description":"Grade code; 99 means all grades.","type":"integer"},"leaid":{"description":"NCES district id (7 digits).","type":"string"},"race":{"description":"Race code; 99 means all races.","type":"integer"},"sex":{"description":"Sex code; 99 means both.","type":"integer"},"year":{"description":"Data year.","type":"integer"}},"required":["leaid"],"title":"US School District Enrollment API","type":"object"},"samples":[{"leaid":"3600001","year":2021,"fips":36,"grade":99,"race":99,"sex":99,"enrollment":828},{"leaid":"3600002","year":2021,"fips":36,"grade":99,"race":99,"sex":99,"enrollment":995},{"leaid":"3600003","year":2021,"fips":36,"grade":99,"race":99,"sex":99,"enrollment":512}],"validation":{"checked_at":"2026-12-06T04:45:48.335Z","field_coverage":{"enrollment":1,"fips":1,"grade":1,"leaid":1,"race":1,"sex":1,"year":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:45:48.344Z","activated_at":"2026-12-06T04:45:48.344Z","active":true,"contract_hash":"b3aed64e7f4e138040ae2e5917968527622e2f73d81cc108f7475b60314a2c01","fields_count":7}]}