Khan Academy Data: Domains, Courses, Units and Lessons
A Khan Academy scraper reads khanacademy.org, the nonprofit's learning site for K-12 and early college. Khan Academy courses are free for learners and teachers, and the platform puts its catalog at 840+ free courses. Everything hangs on one tree: a domain such as Math, Science, Computing, Test prep or Life skills holds courses, a course holds numbered units, a unit holds lessons, and a lesson holds the items a learner opens - videos, articles and exercises, plus talk-throughs, challenges and projects in computing. Life skills holds the Khan Academy courses for adults, from personal finance to careers; Khan for Educators holds the Khan Academy courses for teachers; Pre-K to grade 2 links out to Khan Academy Kids, a separate app.
The address follows the tree. /math/cc-seventh-grade-math is the 7th grade math course and /cc-7th-ratio-proportion one of its units; a lesson slug comes next, then a letter for the item kind: /v/ for a video, /e/ for an exercise, /a/ for an article, /pt/, /pc/ and /pp/ for talk-throughs, challenges and projects. Quizzes sit under /quiz/, unit tests and the course challenge under /test/. Many newer units and lessons put an x-prefixed hex ID before the slug, as in xf8b56da266eb02cb:multiplying-dividing-integers.
One item often serves several courses. A video or exercise has one canonical path and is reused by aligned and state versions of the same grade, such as the Illustrative Mathematics and Eureka Math courses, so every record keeps both the canonical URL and the course path it was found under.
Get a Quote