Overview
`@notionhq/client` is the official JavaScript/TypeScript SDK for the Notion API, providing token/OAuth authentication, endpoint methods, TypeScript types, error classification, retries, and pagination helpers.
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Call Notion API endpoints through typed client methods
Page, data-source, block, user, and other API operations use parameter objects and return typed TypeScript responses.
Use built-in retries, error classification, and pagination helpers
The SDK can retry rate-limit/overload and selected server errors, classify client/API errors, and iterate paginated results.
Sources: [2]
For integrating Notion into applications and automation
It is suited to backends, bots, jobs, and integrations that read or write Notion data from JavaScript or TypeScript.
Sources: [2]
Separate the SDK license from Notion API permissions and limits
MIT covers the client library code. Actual data access follows Notion integration permissions and API rules. DEBUG logs may include response bodies and should be handled carefully.
Official sources
- [1]makenotion/notion-sdk-js repository(2026-09-21)
- [2]Notion SDK README(2026-09-21)
- [3]Notion API documentation(2026-09-21)
- [4]Notion SDK MIT license(2026-09-21)
Supplemental curator note
This package is an API client rather than Notion itself or a self-hosted backend. Token/OAuth permissions, the data shared with an integration, API rate limits, and API-version changes remain separate operational concerns. DEBUG logging can include response bodies, so production logging should be configured with sensitive data in mind.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/makenotion/notion-sdk-js.git - 2
Enter the repository
cd notion-sdk-js - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
5,664 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 9
- Open PRs
- 24
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- typescript
- javascript
- notion
- js
- api-client
- api
- Stars
- 5,664
- Forks
- 712
- Watchers
- 109
- Open issues
- 57
- Contributors
- 73
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Sep 16, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- aspida1,075 Stars
2 shared tag(s) · 2 shared category(s) · Same language
A TypeScript HTTP-client generator that types paths, queries, headers, request bodies, and responses from endpoint directories and Methods definitions.
TypeScript - Bruno47,082 Stars
2 shared tag(s) · 2 shared category(s)
An offline-first API client and testing IDE that stores collections as local text files and collaborates through Git instead of cloud sync.
JavaScript - Playwright96,435 Stars
2 shared tag(s) · 1 shared category(s) · Same language
A web automation platform spanning Chromium, Firefox, and WebKit E2E tests, scripts, a coding-agent CLI, and MCP through one API.
TypeScript - Storybook91,112 Stars
2 shared tag(s) · 1 shared category(s) · Same language
A frontend workshop that isolates UI components and reuses stories across development, Docs, interaction, visual, and accessibility testing.
TypeScript - Mermaid90,334 Stars
2 shared tag(s) · 1 shared category(s) · Same language
A diagrams-as-code library that renders flowcharts, sequences, UML, and more from Markdown-like text.
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.