$npx skillfedfor your agent

notion-client

Python client for the official Notion API

Worth itPyPI WWW/HTTPReleased May 20264.4M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — notion_client-3.1.0-py2.py3-none-any.whl
v3.1.0 · released 2026-05-12 · Python <4,>=3.8 · 2 runtime deps: httpx, typing_extensions

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid Notion integration token or OAuth access token set in the NOTION_TOKEN environment variable to authenticate with the Notion API.
  • 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 · maintenance · safety

permissive license (permissive) — Licensed under the MIT License (permissive), which allows free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-05-12 (94 days) · last repo commit 2026-08-14 · 2,176 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,397,936 downloads/mo, #2,312 on PyPI

Verify before relying

pip install notion-client

from notion_client import Client
import os

notion = Client(auth=os.environ["NOTION_TOKEN"])
users = notion.users.list()
print(users)
  • 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
Same gist for agents: .md · .json

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 on this page. Verify before relying on it.

Worth it

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

notion-client on PyPI

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.

Requires a valid Notion integration token or OAuth access token set in the NOTION_TOKEN environment variable to authenticate with the Notion API.

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)

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

Licensepermissive license permissive
Python supportSupports the current Python release <4,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
httpxtyping_extensions
MaintenanceActively maintained 94 days since the last release
Last repo commit
First released
Downloads4,397,936 / month, #2,312 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: notion_client-3.1.0-py2.py3-none-any.whl

Tags

Capabilities
notion api client pythonnotion database query sdknotion integration pythonnotion api wrappernotion page automationnotion sdk pythonnotion api sync async
Topics
notion-integrationasync-supportapi-client

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “notion api client python”

  • notion-clientA Python client library for the official Notion API that provides…
  • notionUnofficial Python client for Notion.so API v3 that maps Notion…
  • aionotionaionotion is an asyncio-friendly Python library for interacting with…

Give your agent the search over MCP, or paste the wish link into any chat.

More WWW/HTTP packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
h11 With conditions
PyPI · WWW/HTTP · released Apr 2025

h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.

MITpure Python · 3.8+aging
894.9Mdownloads / mo
httpx Worth it
PyPI · WWW/HTTP · released Dec 2024

HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.

Install it if you are building new projects or modernizing existing ones that rely on HTTP.

BSD-3-Clausepure Python · 3.8+
797.0Mdownloads / mo
httpcore With conditions
PyPI · WWW/HTTP · released Apr 2025

A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.

BSD-3-Clausepure Python · 3.8+aging
783.6Mdownloads / mo
aiohttp Worth it
PyPI · WWW/HTTP · released Jul 2026

aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.

Install it if you need async HTTP client or server capabilities in asyncio-based applications.

permissive licensecompiled wheel · 3.10+
643.6Mdownloads / mo

See also notion-to-md-py · notion · notion2md · aionotion · composio-client · python-intercom · vapi-server-sdk · steel-sdk · parallel-web · pipedream