notion-api
This skill provides comprehensive instructions for interacting with the Notion API via REST calls.
Skill by intellectronica
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/intellectronica-notion-api
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, writing, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/notion-api
What's inside
- Skill name
notion-api- Description
- This skill provides comprehensive instructions for interacting with the Notion API via REST calls. This skill should be used whenever the user asks to interact with Notion, including reading, creating, updating, or deleting pages, databases, blocks, comments, or any other Notion content. The skill covers authentication, all available endpoints, pagination, error handling, and best practices.
- License
- CC0-1.0
- Instructions
- 488 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: "notion-api" does not match folder "skills"
Files (5)
- SKILL.md
- block-types.md · references/
- filters-and-sorts.md · references/
- property-types.md · references/
- rich-text.md · references/
SKILL.md (first lines)
# Notion API Skill
This skill enables interaction with Notion workspaces through the Notion REST API. Use `curl` and `jq` for direct REST calls, or write ad-hoc scripts as appropriate for the task.
## Authentication
### API Key Handling
1. **Environment Variable**: Check if `NOTION_API_TOKEN` is available in the environment
2. **User-Provided Key**: If the user provides an API key in context, use that instead
3. **No Key Available**: If neither is available, use AskUserQuestion (or equivalent) to request the API key from the user
**IMPORTANT**: Never display, log, or send `NOTION_API_TOKEN` anywhere except in the `Authorization` header. Confirm its existence, ask if missing, use it in requests—but never echo or expose it.
### Request Headers
All requests require these headers:
```bash
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json"
```
### Verifying Authentication
Test the API key by retrieving the bot user:
```bash
curl -s "https://api.notion.com/v1/users/me" \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2025-09-03" | jq
```
## Base URL and Conventions
- **Base URL**: `https://api.notion.com`
- **API Version**: `2025-09-03` (required header)
- **Data Format**: JSON for all request/response bodies
- **IDs**: UUIDv4 format (dashes optional in requests)
- **Timestamps**: ISO 8601 format (`2020-08-12T02:12:33.231Z`)
- **Property Names**: `snake_case`
- **Empty Values**: Use `null` instead of empty strings
## Rate Limits
- **Average**: 3 requests per second per integration
- **Bursts**: Brief bursts above this limit are allowed
- **Rate Limited Response**: HTTP 429 with `Retry-After` header
- **Strategy**: Implement exponential backoff when receiving 429 responses
## Request Size Limits
| Type | Limit |
|------|-------|
| Maximum block elements per payload | 1000 |
| Maximum payload size | 500KB |
| Rich text content | 2000 characters |
| URLs | 2000 characters |
| Equations | 1000 characters |
| Email addresses | 200 characters |
| Phone numbers | 200 characters |
| Multi-select options | 100 items |
| Relations | 100 related pages |
| People mentions | 100 users |
| Block arrays per request | 100 elements |
## Confirmation for Destructive Operations
**IMPORTANT**: Before executing any operation that modifies or deletes data, ask the user for confirmation. This includes:
- Updating pages or blocks
- Deleting/archiving pages or blocks
- Modifying database schemas
- Creating pages (if multiple or in batch)
- Any bulk operations
For a logical group of related operations, a single confirmation is sufficient.
## Core API Endpoints
### Search
Search across all accessible pages and databases:
```bash
curl -s -X POST "https://api.notion.com/v1/search" \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{
"query": "search term",
"filter": {"property": "object", "value": "page"},
"sort": {"direction": "descending", "timestamp": "last_edited_time"},
"page_size": 100
}' | jq
```
Filter values: `"page"` or `"data_source"` (or omit for both)
### Pages
#### Retrieve a Page
```bash
curl -s "https://api.notion.com/v1/pages/{page_id}" \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2025-09-03" | jq
```
**Note**: This returns page properties, not content. For content, use "Retrieve block children" with the page ID.
#### Create a Page
```bash
curl -s -X POST "https://api.notion.com/v1/pages" \
-H "Authorization: Bearer $NOTION_API_TOKEN" \
-H "Notion-Version: 2025-09-03" \
-H "Content-Type: application/json" \
-d '{From intellectronica/agent-skills, CC0-1.0.
More from intellectronica/agent-skills
- 0.620score
beautiful-mermaid
intellectronica
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
todoist-api
intellectronica
This skill provides instructions for interacting with Todoist using the td CLI tool.
SkillDFreshness: D★ 297Claude Code +9 - 0.536score
copilot-sdk
intellectronica
This skill helps with GitHub Copilot SDK work across Node.js/TypeScript, Python, Go, .NET, and Java.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-2
intellectronica
Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
mgrep-code-search
intellectronica
Semantic code search using mgrep for efficient codebase exploration.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-pro
intellectronica
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
ray-so-code-snippet
intellectronica
Generate beautiful code snippet images using ray.so.
SkillDFreshness: D★ 297Claude Code +9 - 0.530score
raindrop-api
intellectronica
This skill provides comprehensive instructions for interacting with the Raindrop.io bookmarks service via its REST API using curl and jq.
SkillDFreshness: D★ 297Claude Code +9 - 0.528score
ultrathink
intellectronica
Display colorful ANSI art of the word "ultrathink".
SkillDFreshness: D★ 297Claude Code +9 - 0.514score
gog-cli
intellectronica
Use this skill whenever the user wants to operate Google Workspace from the command line with gog/gogcli, including Gmail, Calendar, Drive, Docs, Sheets…
SkillDFreshness: D★ 297Claude Code +9 - 0.505score
monologue-notes-api
intellectronica
Use this skill when the user wants to read or search their Monologue notes through the Monologue Notes REST API.
SkillDFreshness: D★ 297Claude Code +9
Signals
- Stars
- 297
- Forks
- 27
- Open issues
- 1
- Last commit (this folder)
- Jan 30, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- CC0-1.0
- Repository
- github.com/intellectronica/agent-skills
- 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.
More from intellectronica
- 0.620score
beautiful-mermaid
intellectronica
Render Mermaid diagrams as SVG and PNG using the Beautiful Mermaid library.
SkillDFreshness: D★ 297Claude Code +9 - 0.620score
todoist-api
intellectronica
This skill provides instructions for interacting with Todoist using the td CLI tool.
SkillDFreshness: D★ 297Claude Code +9 - 0.536score
copilot-sdk
intellectronica
This skill helps with GitHub Copilot SDK work across Node.js/TypeScript, Python, Go, .NET, and Java.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-2
intellectronica
Generate and edit images using Google's Nano Banana 2 (Gemini 3.1 Flash Image Preview) API.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
mgrep-code-search
intellectronica
Semantic code search using mgrep for efficient codebase exploration.
SkillDFreshness: D★ 297Claude Code +9 - 0.534score
nano-banana-pro
intellectronica
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API.
SkillDFreshness: D★ 297Claude Code +9
Cite this page
notion-api skill. Agent Mart. https://agentmart.dev/skills/intellectronica-notion-api (last updated 2026-10-24)