notion
Notion API for creating and managing pages, databases, and blocks.
Skill by GenTelLab
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gentellab-notion
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
notion- Description
- Notion API for creating and managing pages, databases, and blocks.
- License
- MIT
- Instructions
- 151 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (1)
- SKILL.md
SKILL.md (first lines)
# notion
Use the Notion API to create/read/update pages, data sources (databases), and blocks.
## Setup
1. Create an integration at https://notion.so/my-integrations
2. Copy the API key (starts with `ntn_` or `secret_`)
3. Store it:
```bash
mkdir -p ~/.config/notion
echo "ntn_your_key_here" > ~/.config/notion/api_key
```
4. Share target pages/databases with your integration (click "..." → "Connect to" → your integration name)
## API Basics
All requests need:
```bash
NOTION_KEY=$(cat ~/.config/notion/api_key)
curl -X GET "https://api.notion.com/v1/..." \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json"
```
> **Note:** The `Notion-Version` header is required. This skill uses `2025-09-03` (latest). In this version, databases are called "data sources" in the API.
## Common Operations
**Search for pages and data sources:**
```bash
curl -X POST "https://api.notion.com/v1/search" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{"query": "page title"}'
```
**Get page:**
```bash
curl "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03"
```
**Get page content (blocks):**
```bash
curl "https://api.notion.com/v1/blocks/{page_id}/children" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03"
```
**Create page in a data source:**
```bash
curl -X POST "https://api.notion.com/v1/pages" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"parent": {"database_id": "xxx"},
"properties": {
"Name": {"title": [{"text": {"content": "New Item"}}]},
"Status": {"select": {"name": "Todo"}}
}
}'
```
**Query a data source (database):**
```bash
curl -X POST "https://api.notion.com/v1/data_sources/{data_source_id}/query" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"filter": {"property": "Status", "select": {"equals": "Active"}},
"sorts": [{"property": "Date", "direction": "descending"}]
}'
```
**Create a data source (database):**
```bash
curl -X POST "https://api.notion.com/v1/data_sources" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"parent": {"page_id": "xxx"},
"title": [{"text": {"content": "My Database"}}],
"properties": {
"Name": {"title": {}},
"Status": {"select": {"options": [{"name": "Todo"}, {"name": "Done"}]}},
"Date": {"date": {}}
}
}'
```
**Update page properties:**
```bash
curl -X PATCH "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{"properties": {"Status": {"select": {"name": "Done"}}}}'
```
**Add blocks to page:**
```bash
curl -X PATCH "https://api.notion.com/v1/blocks/{page_id}/children" \
-H "Authorization: Bearer $NOTION_KEY" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"children": [
{"object": "block", "type": "paragraph", "paragraph": {"rich_text": [{"text": {"content": "Hello"}}]}}
]
}'
```From GenTelLab/trustclaw, MIT.
Signals
- Stars
- 49
- Forks
- 6
- Open issues
- 1
- Last commit (this folder)
- Feb 2, 2026 (8 months ago)
- Last release
- Feb 3, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/GenTelLab/trustclaw
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.654score
notion
spinabot
Notion API for creating and managing pages, databases, and blocks.
SkillBFreshness: B★ 11.4KClaude Code +9 - 0.398score
notion
Bitterbot-AI
Notion API for creating and managing pages, databases, and blocks.
SkillAFreshness: A★ 2.5KClaude Code +9 - 0.394score
notion
the-open-agent
Notion API for creating and managing pages, databases, and blocks.
SkillBFreshness: B★ 5.7KClaude Code +9 - 0.336score
notion
CraftOS-dev
Notion API for creating and managing pages, databases, and blocks.
SkillAFreshness: A★ 400Claude Code +9 - 0.331score
notion
openaeon
Notion API for creating and managing pages, databases, and blocks.
SkillCFreshness: C★ 90Claude Code +9 - 0.324score
notion
wanikua
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 2.7KClaude Code +9 - 0.311score
notion
CodeAndCanvasLabs
Notion API for creating and managing pages, databases, and blocks.
SkillCFreshness: C★ 16Claude Code +9 - 0.302score
notion
understudy-ai
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 464Claude Code +9 - 0.288score
notion
hvwin8
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 61Claude Code +9 - 0.288score
notion
NJX-njx
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 59Claude Code +9 - 0.281score
notion
lllooollpp
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 38Claude Code +9 - 0.281score
notion
wuding129
Notion API for creating and managing pages, databases, and blocks.
SkillDFreshness: D★ 49Claude Code +9
More from GenTelLab
Cite this page
notion skill. Agent Mart. https://agentmart.dev/skills/gentellab-notion (last updated 2026-10-24)