notion-apiGeneric Notion API CLI (Node) for search, querying data sources (databases), and creating pages. Configure with NOTION_KEY (or ~/.config/notion/api_key).
Install via ClawdBot CLI:
clawdbot install timenotspace/notion-apiThis 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 ... 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
All commands print JSON to stdout.
2025-09-03 (override with NOTION_VERSION).page_size and minimal calls.Generated Mar 1, 2026
A marketing agency uses this skill to automate content calendar updates by querying Notion databases for upcoming deadlines and creating new content pages. It streamlines workflow by integrating with their existing Node-based tools, reducing manual entry and ensuring consistency across campaigns.
Academic researchers employ this CLI to search and query Notion databases for literature reviews, aggregating findings into structured pages. It facilitates collaboration by allowing team members to pull data programmatically, saving time on manual data compilation and improving accuracy.
A software development team utilizes this skill to query task databases in Notion for sprint planning and create new issue pages automatically. It enhances productivity by integrating with their CI/CD pipelines, enabling real-time updates and reducing administrative overhead.
Small businesses use this tool to manage customer databases in Notion, querying contact lists and creating new lead pages from external sources. It supports sales teams by automating data entry, ensuring up-to-date records and improving follow-up efficiency.
A company offers this skill as part of a subscription-based service that integrates Notion with other business tools like CRM or project management software. They provide custom configurations and support, generating revenue through monthly fees and premium features for advanced automation.
Freelancers or agencies use this skill to build tailored Notion automation solutions for clients, such as custom CLI scripts or data migration services. Revenue comes from project-based fees and ongoing maintenance contracts, leveraging the skill's flexibility to meet specific business needs.
An educator creates courses or tutorials on using this Notion API skill for automation, targeting beginners and intermediate users. Revenue is generated through course sales, workshops, and affiliate marketing with related tools, capitalizing on the growing demand for productivity enhancements.
π¬ Integration Tip
Ensure the Notion integration token is securely stored in environment variables or config files, and verify that target databases are shared with the integration to avoid permission errors during queries or page creation.
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
Create, search, and manage Bear notes via grizzly CLI.
Track water and sleep with JSON file storage
Notion API for creating and managing pages, databases, and blocks.
Smart ClawdBot documentation access with local search index, cached snippets, and on-demand fetch. Token-efficient and freshness-aware.
Work with Obsidian vaults as a knowledge base. Features: fuzzy/phonetic search across all notes, auto-folder detection for new notes, create/read/edit notes with frontmatter, manage tags and wikilinks. Use when: querying knowledge base, saving notes/documents, editing existing notes by user instructions.