Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides a Node CLI for the Notion API to search, query databases, and create pages.
36% 82%+45 ptsof test cases passed
Passed 18 of 22 test cases with the skill, and 8 of 22 without it.
3 of 3 safety checks passed
Not used yet
This skill provides a small Node-based CLI for the Notion API. It’s designed to be shareable: no hard-coded database IDs and no secrets in the repo.
Provide a Notion integration token via either:
NOTION_KEY env var, or~/.config/notion/api_key (first line)Also make sure the target pages/databases are shared with your integration in Notion.
Run via:
node scripts/notion-api.mjs <command> ...node scripts/notion-api.mjs search "query" --page-size 10
node scripts/notion-api.mjs query --data-source-id <DATA_SOURCE_ID> --page-size 10
# optionally pass raw JSON body:
node scripts/notion-api.mjs query --data-source-id <ID> --body '{"filter": {...}, "sorts": [...], "page_size": 10}'
node scripts/notion-api.mjs create-page --database-id <DATABASE_ID> --title "My item" --title-prop Name
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.