Access curriculum metadata for superblocks, blocks, and challenges
The API provides access to the complete freeCodeCamp curriculum structure:
The new v9 curriculum introduces a three-level hierarchy:
Superblock → Chapter → Module → Block
Query chapters and modules directly:
query {
chapters(superblockDashedName: "full-stack-developer") {
dashedName
modules {
dashedName
blocks
}
}
}
In v9 curriculum, blocks can be shared across multiple superblocks. The API automatically deduplicates blocks and tracks all parent superblocks:
query {
block(dashedName: "learn-html-by-building-a-cat-photo-app") {
title
superblocks {
dashedName
title
}
}
}
query {
curriculum {
superblocks
certifications
}
}
query {
modules(chapterDashedName: "html") {
dashedName
moduleType
blockObjects {
title
challenges {
id
title
}
}
}
}
query {
superblock(dashedName: "responsive-web-design") {
title
blocks
challenges {
id
title
}
}
}