Notion API - Database & Page Automation
Pricing
from $10.00 / 1,000 search notions
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
from $10.00 / 1,000 search notions
Rating
0.0
(0)
Developer
The Howlers
Maintained by CommunityActor stats
0
Bookmarked
21
Total users
0
Monthly active users
6 hours 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_')
Demo Mode is off by default, so runs fetch real data. Set demoMode to true to get free sample data that shows the output format, no key needed.
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 | false | No | Run with sample data (no integration token required) |
*Required when Demo Mode is off.
Pricing
This actor uses pay-per-event billing:
| Event | When it is charged | Price |
|---|---|---|
| Actor start | Once when the run starts, one event per GB of memory (minimum one). At the default 4 GB of memory a run starts at $0.40 | $0.10 per GB |
| Search Notion | Search pages and databases by title | $0.01 |
| Query Database | Query Notion database with filters and sorts | $0.02 |
| Get Database | Retrieve Notion database schema and properties | $0.01 |
| Create Database | Create new Notion database with custom properties | $0.05 |
| Update Database | Modify Notion database title and properties | $0.02 |
| Get Page | Retrieve Notion page properties | $0.01 |
| Create Page | Create new page in database or as subpage | $0.03 |
| Update Page | Modify Notion page properties | $0.02 |
| Get Block | Retrieve block content | $0.01 |
| Get Block Children | List child blocks (page content) | $0.01 |
| Append Blocks | Add content blocks to a page | $0.02 |
| Update Block | Modify block content | $0.02 |
| Delete Block | Remove a block from Notion | $0.01 |
| List Users | Get workspace members | $0.01 |
| Get User | Retrieve user details by ID | $0.01 |
| Get Bot User | Retrieve bot integration info | $0.01 |
| List Comments | Get comments on page or block | $0.01 |
| Create Comment | Add comment to a page | $0.02 |
| Batch Create Pages | Create multiple pages in one run (per page) | $0.03 |
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