skills$openclaw/notion-api
timenotspace3.6k

by timenotspace

notion-api – OpenClaw Skill

notion-api is an OpenClaw Skills integration for coding workflows. Generic Notion API CLI (Node) for search, querying data sources (databases), and creating pages. Configure with NOTION_KEY (or ~/.config/notion/api_key).

3.6k stars5.1k forksSecurity L1
Updated Feb 7, 2026Created Feb 7, 2026coding

Skill Snapshot

namenotion-api
descriptionGeneric Notion API CLI (Node) for search, querying data sources (databases), and creating pages. Configure with NOTION_KEY (or ~/.config/notion/api_key). OpenClaw Skills integration.
ownertimenotspace
repositorytimenotspace/notion-api
languageMarkdown
licenseMIT
topics
securityL1
installopenclaw add @timenotspace/notion-api
last updatedFeb 7, 2026

Maintainer

timenotspace

timenotspace

Maintains notion-api in the OpenClaw Skills directory.

View GitHub profile
File Explorer
4 files
.
scripts
notion-api.mjs
7.0 KB
_meta.json
462 B
SKILL.md
1.4 KB
SKILL.md

name: notion-api description: Generic Notion API CLI (Node) for search, querying data sources (databases), and creating pages. Configure with NOTION_KEY (or ~/.config/notion/api_key).

notion-api (generic)

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.

Auth

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> ...

Search

node scripts/notion-api.mjs search "query" --page-size 10

Query a data source (database query)

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}'

Create a page in a database

node scripts/notion-api.mjs create-page --database-id <DATABASE_ID> --title "My item" --title-prop Name

Output

All commands print JSON to stdout.

Notes

  • Notion API version header defaults to 2025-09-03 (override with NOTION_VERSION).
  • Rate limits apply; prefer page_size and minimal calls.
README.md

No README available.

Permissions & Security

Security level L1: Low-risk skills with minimal permissions. Review inputs and outputs before running in production.

Requirements

  • OpenClaw CLI installed and configured.
  • Language: Markdown
  • License: MIT
  • Topics:

FAQ

How do I install notion-api?

Run openclaw add @timenotspace/notion-api in your terminal. This installs notion-api into your OpenClaw Skills catalog.

Does this skill run locally or in the cloud?

OpenClaw Skills execute locally by default. Review the SKILL.md and permissions before running any skill.

Where can I verify the source code?

The source repository is available at https://github.com/openclaw/skills/tree/main/skills/timenotspace/notion-api. Review commits and README documentation before installing.