Join us for our Developer Platform Hackathon, May 16-17. Apply now →
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.blocks.children.list({
block_id: "c02fc1d3-db8b-45c5-a222-27595b15aea7",
start_cursor: undefined,
page_size: 50
}){
"type": "<string>",
"block": {},
"object": "<string>",
"next_cursor": "<string>",
"has_more": true,
"results": [
{
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Returns a paginated array of child block objects contained in the block using the ID specified. In order to receive a complete representation of a block, you may need to recursively retrieve the block children of child blocks.
import { Client } from "@notionhq/client"
const notion = new Client({ auth: process.env.NOTION_API_KEY })
const response = await notion.blocks.children.list({
block_id: "c02fc1d3-db8b-45c5-a222-27595b15aea7",
start_cursor: undefined,
page_size: 50
}){
"type": "<string>",
"block": {},
"object": "<string>",
"next_cursor": "<string>",
"has_more": true,
"results": [
{
"object": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.notion.com/llms.txt
Use this file to discover all available pages before exploring further.
page_size of results.
See Pagination for details about how to use a cursor to iterate through the list.
id doesn’t exist, or if the connection doesn’t have access to the block.
Returns a 400 or 429 HTTP response if the request exceeds the request limits.
Note: Each Public API endpoint can return several possible error codes. See the Error codes section of the Status codes documentation for more information.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use for this request. The latest version is 2026-03-11.
2026-03-11 "block""list"Show child attributes