Clever Districts API

The Districts API from Clever — 2 operation(s) for districts.

Operations 8

GET /districts Get districts #
GET /districts/{id} Get district #
GET /districts/{id}/admins Get admins for district #
GET /districts/{id}/schools Get schools for district #
GET /districts/{id}/sections Get sections for district #
GET /districts/{id}/status Get district status #
GET /districts/{id}/students Get students for district #
GET /districts/{id}/teachers Get teachers for district #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/clever:clever-districts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

clever-districts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Clever Districts API
  version: '1.0'
  description: 'Operations tagged Districts across 2 of this provider''s published API definitions: clever-data-api-openapi.yml, clever-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.clever.com/v3.1
- url: https://api.clever.com/v1.2
security:
- oauth: []
tags:
- name: Districts
paths:
  /districts:
    get:
      description: Returns a list of districts. In practice this will only return the one district associated with the bearer token
      operationId: getDistricts
      parameters:
      - in: query
        name: count
        schema:
          type: string
          enum:
          - ''
          - 'true'
          - 'false'
          - undefined
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistrictsResponse'
      tags:
      - Districts
      summary: Get districts
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v3.1
  /districts/{id}:
    get:
      description: Returns a specific district
      operationId: getDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistrictResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v3.1
  /districts/{id}/admins:
    get:
      description: Returns the admins for a district
      operationId: getAdminsForDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistrictAdminsResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get admins for district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
  /districts/{id}/schools:
    get:
      description: Returns the schools for a district
      operationId: getSchoolsForDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: starting_after
        schema:
          type: string
      - in: query
        name: ending_before
        schema:
          type: string
      - in: query
        name: where
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SchoolsResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get schools for district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
  /districts/{id}/sections:
    get:
      description: Returns the sections for a district
      operationId: getSectionsForDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: starting_after
        schema:
          type: string
      - in: query
        name: ending_before
        schema:
          type: string
      - in: query
        name: where
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SectionsResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get sections for district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
  /districts/{id}/status:
    get:
      description: Returns the status of the district
      operationId: getDistrictStatus
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DistrictStatusResponses'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get district status
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
  /districts/{id}/students:
    get:
      description: Returns the students for a district
      operationId: getStudentsForDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: starting_after
        schema:
          type: string
      - in: query
        name: ending_before
        schema:
          type: string
      - in: query
        name: where
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StudentsResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get students for district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
  /districts/{id}/teachers:
    get:
      description: Returns the teachers for a district
      operationId: getTeachersForDistrict
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: string
      - in: query
        name: limit
        schema:
          type: integer
      - in: query
        name: starting_after
        schema:
          type: string
      - in: query
        name: ending_before
        schema:
          type: string
      - in: query
        name: where
        schema:
          type: string
      responses:
        '200':
          description: OK Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TeachersResponse'
        '404':
          $ref: '#/components/responses/NotFound'
      tags:
      - Districts
      summary: Get teachers for district
      x-summary-source: derived
    servers:
    - url: https://api.clever.com/v1.2
components:
  schemas:
    District:
      properties:
        district_contact:
          $ref: '#/components/schemas/DistrictContact'
        error:
          type: string
        id:
          type: string
          x-validation: true
        last_attendance_sync:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        last_sync:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        launch_date:
          format: date
          type: string
          x-validation: true
        lms_state:
          enum:
          - initial_sync_processing
          - pending_authorization
          - matching_in_progress
          - error
          - disconnected
          - ''
          - success
          - null
          type:
          - string
          - 'null'
          x-validation: true
        lms_type:
          enum:
          - canvas
          - schoology
          - google_classroom
          - ''
          - null
          type:
          - string
          - 'null'
          x-validation: true
        login_methods:
          items:
            type: string
          type: array
          x-validation: true
        mdr_number:
          type:
          - string
          - 'null'
        name:
          type: string
        nces_id:
          type:
          - string
          - 'null'
        pause_end:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        pause_start:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        portal_url:
          type: string
        sis_type:
          type: string
          x-validation: true
        state:
          enum:
          - running
          - pending
          - error
          - paused
          - ''
          - success
          - null
          type:
          - string
          - 'null'
          x-validation: true
      type: object
    DistrictsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/DistrictResponse'
          type: array
        links:
          items:
            $ref: '#/components/schemas/Link'
          type: array
      type: object
    Name:
      properties:
        first:
          type:
          - string
          - 'null'
        last:
          type:
          - string
          - 'null'
        middle:
          type:
          - string
          - 'null'
      type: object
    Link:
      properties:
        rel:
          enum:
          - next
          - prev
          - self
          type: string
        uri:
          type: string
      type: object
    NotFound:
      properties:
        message:
          type: string
      type: object
    DistrictContact:
      properties:
        district:
          type: string
          x-validation: true
        email:
          type:
          - string
          - 'null'
        id:
          type: string
          x-validation: true
        name:
          $ref: '#/components/schemas/Name'
        title:
          type: string
          x-validation: true
      type: object
    DistrictResponse:
      properties:
        data:
          $ref: '#/components/schemas/District'
      type: object
    Principal:
      properties:
        email:
          type:
          - string
          - 'null'
        name:
          type:
          - string
          - 'null'
      type: object
    Credentials:
      properties:
        district_username:
          type: string
      type: object
    TeachersResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/TeacherResponse'
          type: array
      type: object
    Location:
      properties:
        address:
          type:
          - string
          - 'null'
        city:
          type:
          - string
          - 'null'
        lat:
          type:
          - string
          - 'null'
        lon:
          type:
          - string
          - 'null'
        state:
          type:
          - string
          - 'null'
        zip:
          type:
          - string
          - 'null'
      type: object
    DistrictAdminsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/DistrictAdmin'
          type: array
      type: object
    DistrictsResponse_2:
      properties:
        data:
          items:
            $ref: '#/components/schemas/DistrictResponse'
          type: array
      type: object
    DistrictAdmin:
      properties:
        district:
          type: string
          x-validation: true
        email:
          type: string
        id:
          type: string
          x-validation: true
        name:
          $ref: '#/components/schemas/Name'
        title:
          type:
          - string
          - 'null'
      type: object
    Section:
      properties:
        course_description:
          type:
          - string
          - 'null'
        course_name:
          type:
          - string
          - 'null'
        course_number:
          type:
          - string
          - 'null'
        created:
          format: datetime
          type: string
          x-validation: true
        district:
          type: string
          x-validation: true
        grade:
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
          - '11'
          - '12'
          - PreKindergarten
          - Kindergarten
          - PostGraduate
          - Other
          - null
          type:
          - string
          - 'null'
          x-validation: true
        id:
          type: string
          x-validation: true
        last_modified:
          format: datetime
          type: string
          x-validation: true
        name:
          type: string
        period:
          type:
          - string
          - 'null'
        school:
          type: string
          x-validation: true
        section_number:
          type:
          - string
          - 'null'
        sis_id:
          type: string
        students:
          items:
            type: string
          type: array
          x-validation: true
        subject:
          enum:
          - english/language arts
          - math
          - science
          - social studies
          - language
          - homeroom/advisory
          - interventions/online learning
          - technology and engineering
          - PE and health
          - arts and music
          - other
          type: string
          x-validation: true
        teacher:
          type:
          - string
          - 'null'
          x-validation: true
        teachers:
          items:
            type: string
          type: array
          x-validation: true
        term:
          $ref: '#/components/schemas/Term'
      type: object
    Teacher:
      properties:
        created:
          format: datetime
          type: string
          x-validation: true
        credentials:
          $ref: '#/components/schemas/Credentials'
        district:
          type: string
          x-validation: true
        email:
          type:
          - string
          - 'null'
        id:
          type: string
          x-validation: true
        last_modified:
          format: datetime
          type: string
          x-validation: true
        name:
          $ref: '#/components/schemas/Name'
        school:
          type: string
          x-validation: true
        schools:
          items:
            type: string
          type: array
          x-validation: true
        sis_id:
          type: string
        state_id:
          type:
          - string
          - 'null'
        teacher_number:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
      type: object
    Student:
      properties:
        created:
          format: datetime
          type: string
          x-validation: true
        credentials:
          $ref: '#/components/schemas/Credentials'
        district:
          type: string
          x-validation: true
        dob:
          pattern: (?:[0-9]{1,2})/([0-9]{1,2})/([0-9]{4})
          type:
          - string
          - 'null'
          x-validation: true
        ell_status:
          enum:
          - Y
          - N
          - ''
          - null
          type:
          - string
          - 'null'
          x-validation: true
        email:
          type:
          - string
          - 'null'
        gender:
          enum:
          - M
          - F
          - ''
          - null
          type:
          - string
          - 'null'
          x-validation: true
        grade:
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
          - '11'
          - '12'
          - PreKindergarten
          - Kindergarten
          - PostGraduate
          - Other
          - null
          type:
          - string
          - 'null'
          x-validation: true
        graduation_year:
          type:
          - string
          - 'null'
          x-validation: true
        hispanic_ethnicity:
          enum:
          - Y
          - N
          - ''
          - null
          type:
          - string
          - 'null'
          x-validation: true
        id:
          type: string
          x-validation: true
        last_modified:
          format: datetime
          type: string
          x-validation: true
        location:
          $ref: '#/components/schemas/Location'
        name:
          $ref: '#/components/schemas/Name'
        race:
          enum:
          - Caucasian
          - Asian
          - Black or African American
          - American Indian
          - Hawaiian or Other Pacific Islander
          - Two or More Races
          - Unknown
          - ''
          - null
          type:
          - string
          - 'null'
          x-validation: true
        school:
          type: string
          x-validation: true
        schools:
          items:
            type: string
          type: array
          x-validation: true
        sis_id:
          type: string
        state_id:
          type:
          - string
          - 'null'
        student_number:
          type:
          - string
          - 'null'
      type: object
    Term:
      properties:
        end_date:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        name:
          type:
          - string
          - 'null'
        start_date:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
      type: object
    DistrictStatusResponse:
      properties:
        data:
          $ref: '#/components/schemas/DistrictStatus'
      type: object
    SchoolResponse:
      properties:
        data:
          $ref: '#/components/schemas/School'
      type: object
    StudentResponse:
      properties:
        data:
          $ref: '#/components/schemas/Student'
      type: object
    DistrictStatusResponses:
      properties:
        data:
          items:
            $ref: '#/components/schemas/DistrictStatusResponse'
          type: array
      type: object
    District_2:
      properties:
        id:
          type: string
          x-validation: true
        mdr_number:
          type:
          - string
          - 'null'
        name:
          type: string
      type: object
    StudentsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/StudentResponse'
          type: array
      type: object
    TeacherResponse:
      properties:
        data:
          $ref: '#/components/schemas/Teacher'
      type: object
    SectionResponse:
      properties:
        data:
          $ref: '#/components/schemas/Section'
      type: object
    DistrictStatus:
      properties:
        error:
          type: string
        id:
          type: string
          x-validation: true
        instant_login:
          type: boolean
        last_sync:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        launch_date:
          format: datetime
          type: string
          x-validation: true
        pause_end:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        pause_start:
          format: datetime
          type:
          - string
          - 'null'
          x-validation: true
        sis_type:
          type: string
          x-validation: true
        state:
          enum:
          - running
          - pending
          - error
          - paused
          type: string
          x-validation: true
      type: object
    SectionsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SectionResponse'
          type: array
      type: object
    SchoolsResponse:
      properties:
        data:
          items:
            $ref: '#/components/schemas/SchoolResponse'
          type: array
      type: object
    School:
      properties:
        created:
          format: datetime
          type: string
          x-validation: true
        district:
          type: string
          x-validation: true
        high_grade:
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
          - '11'
          - '12'
          - PreKindergarten
          - Kindergarten
          - PostGraduate
          - Other
          - null
          type:
          - string
          - 'null'
          x-validation: true
        id:
          type: string
          x-validation: true
        last_modified:
          format: datetime
          type: string
          x-validation: true
        location:
          $ref: '#/components/schemas/Location'
        low_grade:
          enum:
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
          - '11'
          - '12'
          - PreKindergarten
          - Kindergarten
          - PostGraduate
          - Other
          - null
          type:
          - string
          - 'null'
          x-validation: true
        mdr_number:
          type:
          - string
          - 'null'
        name:
          type: string
        nces_id:
          type:
          - string
          - 'null'
        phone:
          type:
          - string
          - 'null'
        principal:
          $ref: '#/components/schemas/Principal'
        school_number:
          type: string
        sis_id:
          type: string
        state_id:
          type:
          - string
          - 'null'
      type: object
  responses:
    NotFound:
      description: Entity Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFound'
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://clever.com/oauth/authorize
          tokenUrl: https://clever.com/oauth/tokens
          scopes: {}
x-refined-from:
- clever-data-api-openapi.yml
- clever-openapi.yml
x-samples-languages:
- curl
- node
- ruby
- python
- php
- java
- go