Skip to content

Data API API

by clever.com

OAuthHTTPSOpen Data
Open documentation ↗

Overview

Serves the Clever Data API

Data API is an open data API from clever.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 44 endpoints.

At a glance

Authentication
OAuth
HTTPS
Yes
CORS
Unknown
Category
Open Data
Base URL
https://api.clever.com/v1.2
Version
1.2.0
Endpoints
44
Spec updated
2023-03-06

Make a first request

Replace the placeholders; the documentation says exactly where credentials go.

cURL
curl -X GET "https://api.clever.com/v1.2/contacts" \
  -H "Accept: application/json" \
  -H "Authorization: Bearer YOUR_TOKEN"
JavaScript
const response = await fetch("https://api.clever.com/v1.2/contacts", {
  method: "GET",
  headers: {
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
  },
});
const data = await response.json();
console.log(data);
Python
import requests

response = requests.request(
    "GET",
    "https://api.clever.com/v1.2/contacts",
    headers={
    "Accept": "application/json",
    "Authorization": "Bearer YOUR_TOKEN",
    },
    timeout=30,
)
print(response.json())

Endpoints

MethodPathWhat it does
GET/contactsReturns a list of student contacts
GET/contacts/{id}Returns a specific student contact
GET/contacts/{id}/districtReturns the district for a student contact
GET/contacts/{id}/studentReturns the student for a student contact
GET/district_adminsReturns a list of district admins
GET/district_admins/{id}Returns a specific district admin
GET/districtsReturns a list of districts. In practice this will only return the one district associated with the bearer token
GET/districts/{id}Returns a specific district
GET/districts/{id}/adminsReturns the admins for a district
GET/districts/{id}/schoolsReturns the schools for a district
GET/districts/{id}/sectionsReturns the sections for a district
GET/districts/{id}/statusReturns the status of the district
GET/districts/{id}/studentsReturns the students for a district
GET/districts/{id}/teachersReturns the teachers for a district
GET/school_adminsReturns a list of school admins
GET/school_admins/{id}Returns a specific school admin
GET/school_admins/{id}/schoolsReturns the schools for a school admin
GET/schoolsReturns a list of schools
GET/schools/{id}Returns a specific school
GET/schools/{id}/districtReturns the district for a school
GET/schools/{id}/sectionsReturns the sections for a school
GET/schools/{id}/studentsReturns the students for a school
GET/schools/{id}/teachersReturns the teachers for a school
GET/sectionsReturns a list of sections
GET/sections/{id}Returns a specific section
GET/sections/{id}/districtReturns the district for a section
GET/sections/{id}/schoolReturns the school for a section
GET/sections/{id}/studentsReturns the students for a section
GET/sections/{id}/teacherReturns the primary teacher for a section
GET/sections/{id}/teachersReturns the teachers for a section
GET/studentsReturns a list of students
GET/students/{id}Returns a specific student
GET/students/{id}/contactsReturns the contacts for a student
GET/students/{id}/districtReturns the district for a student
GET/students/{id}/schoolReturns the primary school for a student
GET/students/{id}/sectionsReturns the sections for a student
GET/students/{id}/teachersReturns the teachers for a student
GET/teachersReturns a list of teachers
GET/teachers/{id}Returns a specific teacher
GET/teachers/{id}/districtReturns the district for a teacher
GET/teachers/{id}/grade_levelsReturns the grade levels for sections a teacher teaches
GET/teachers/{id}/schoolRetrieves school info for a teacher.
GET/teachers/{id}/sectionsReturns the sections for a teacher
GET/teachers/{id}/studentsReturns the students for a teacher

Questions

Does the Data API API need an API key?

Yes. The Data API API uses OAuth authentication; the documentation explains how to get credentials.

Does the Data API API support HTTPS?

Yes, the Data API API is served over HTTPS.

How many endpoints does the Data API API have?

Its OpenAPI description lists 44 endpoints in version 1.2.0. All of them are shown on this page.

What are alternatives to the Data API API?

Other Open Data APIs include Search Services, Wayback API, Wikipedia, Nasdaq Data Link, University of Oslo.

Compare alternatives →

Listed from APIs.guru (CC0).