--- id: notion-client version: "3.1.0" license: unclear license_treatment: permissive maintenance: active --- # notion-client — Python client for the official Notion API License: permissive · Maintenance: active · Downloads: 4.4M/mo ## What it is and what it does Notion-client is a Python SDK that wraps the official Notion API, designed as a Python equivalent to the reference JavaScript SDK. It provides both synchronous (Client) and asynchronous (AsyncClient) interfaces for interacting with Notion workspaces—querying databases, managing pages, listing users, and handling API responses. The library abstracts away the complexity of HTTP requests by grouping endpoint parameters into a single object, so you don't need to track which parameters go in the path, query, or body. The client handles common API concerns automatically: it retries rate-limited requests (HTTP 429) and transient server errors (500, 503) with exponential backoff by default, emits structured logs for debugging, and raises typed APIResponseError exceptions with machine-readable error codes. It depends only on httpx for HTTP transport and typing_extensions for type hints, keeping the dependency footprint minimal. The package supports Python 3.8 through 3.14 and is marked as Production/Stable. Use it for: - Automate data synchronization between Notion databases and external systems or scripts - Build integrations that query Notion pages and databases to generate reports or dashboards - Create bots or scheduled tasks that update Notion content programmatically - Develop async applications that interact with Notion without blocking the event loop - Handle bulk operations on Notion workspaces with automatic retry logic for reliability ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for the official Notion API that provides synchronous and asynchronous interfaces to query, create, and manage Notion databases, pages, and users. Yes. This is the official Python SDK for the Notion API with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to integrate Notion into a Python application or automate Notion workflows. The synchronous and asynchronous interfaces, built-in retry logic, and comprehensive error handling make it a straightforward choice for Notion API access. ## Install pip install notion-client uv add notion-client poetry add notion-client ## Installing notion-client Before you install: Low install friction with a pure-Python wheel distribution. The package is actively maintained with a recent release and carries 2176 GitHub stars, indicating stable community adoption. License in practice: Licensed under the MIT License (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects. Quickstart: pip install notion-client from notion_client import Client import os notion = Client(auth=os.environ["NOTION_TOKEN"]) users = notion.users.list() print(users) Requires a valid Notion integration token or OAuth access token set in the NOTION_TOKEN environment variable to authenticate with the Notion API. Verify before relying: - Rate-limit and retry behavior under high-volume request scenarios - Performance characteristics when querying large Notion databases - Compatibility with all Notion API endpoint types beyond the documented examples ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 4.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags notion api client python, notion database query sdk, notion integration python, notion api wrapper, notion page automation, notion sdk python, notion api sync async, notion-integration, async-support, api-client [View on SkillFed](https://skillfed.io/packages/notion-client) · [View on PyPI](https://pypi.org/project/notion-client/)