Notion API - Database & Page Automation
Pricing
Pay per event
Notion API - Database & Page Automation
Automate your Notion workspace with the official API. Query databases, create and update pages, manage blocks, search content, and sync data. Perfect for CMS automation, content pipelines, project management, and knowledge base workflows.
Pricing
Pay per event
Rating
0.0
(0)
Developer
The Howlers
Actor stats
0
Bookmarked
5
Total users
2
Monthly active users
5 days ago
Last modified
Categories
Share
Automate Notion workspaces with the official API. Query databases, create/update pages, manage blocks, search content, and sync data. Perfect for CMS automation, content pipelines, and knowledge base management.
BYOK (Bring Your Own Key) -- you provide your own API credentials.
Before You Start
This actor requires your own API credentials to fetch real data.
Where to get your key: Notion integration token (starts with 'secret_')
You can test with Demo Mode first (free, no key needed) to see the output format before committing.
Quick Start
Test with Demo Mode (free, no API key needed)
{"demoMode": true}
Run with real data
{"demoMode": false,"task": "search","accessToken": "YOUR_API_KEY_HERE","filter": {},"sorts": [],"properties": {},"content": [],"databaseProperties": {},"maxResults": 20,"batchPages": []}
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
task | string | "search" | Yes* | Operation to perform |
accessToken | string | - | Yes* | Notion integration token (starts with 'secret_') |
databaseId | string | - | No | Notion database ID for database operations |
pageId | string | - | No | Notion page ID for page operations |
blockId | string | - | No | Notion block ID for block operations |
userId | string | - | No | Notion user ID for user operations |
searchQuery | string | - | No | Text to search for in page/database titles |
searchFilter | string | - | No | Filter search results by object type |
filter | object | {} | No | Filter object for database queries (JSON) |
sorts | array | [] | No | Sort configuration for database queries (JSON array) |
pageTitle | string | - | No | Title for new page |
properties | object | {} | No | Properties object for create/update operations (JSON) |
content | array | [] | No | Block content to add to page (JSON array of blocks) |
parentPageId | string | - | No | Parent page ID for creating databases or pages |
databaseTitle | string | - | No | Title for new database |
databaseProperties | object | {} | No | Property schema for database (JSON object defining columns) |
commentContent | string | - | No | Rich text content for comments |
maxResults | integer | 20 | No | Maximum number of results to return |
batchPages | array | [] | No | Array of page objects for batch creation |
webhookUrl | string | - | No | URL to send results to (Zapier, Make, n8n, etc.) |
demoMode | boolean | true | No | Run with sample data (no integration token required) |
*Required when Demo Mode is off.
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
| API Request | Each Notion API request completed | $0.01 |
Demo mode is free -- no charges for sample data.
Troubleshooting
"API key is required"
You have Demo Mode turned off but didn't provide an API key. Either:
- Turn Demo Mode on to test with sample data
- Add your API key in the input
"API error 403" or "Unauthorized"
Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.
"API error 429" or "Rate limit"
Too many requests. Wait a minute and try again, or reduce the number of items per run.
No results or empty dataset
Check the run log for error messages. Common causes:
- Invalid input format (check the examples above)
- API key without proper permissions
- The target data doesn't exist or is too small to track
How do I test without an API key?
Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.
Built by John Rippy | Actor Arsenal