Package Manager
Install the@notionhq/client package using your preferred package manager:
Requirements
The Notion SDK has the following minimum version requirements:Runtime
- Node.js:
>= 18
TypeScript (Optional)
- TypeScript:
>= 5.9
The SDK includes comprehensive TypeScript definitions out of the box. No additional
@types packages are required.Version Compatibility
Different versions of the Notion SDK are designed to work with specific Notion API versions:| SDK Version | Minimum Recommended API Version |
|---|---|
| v4.0.0 and above | 2022-06-28 |
| v5.0.0 and above | 2025-09-03 |
Verify Installation
After installation, verify that the package is properly installed by importing it in your project:Next Steps
Quickstart
Learn how to initialize the client and make your first API call
Authentication
Set up authentication with integration tokens or OAuth