hubspot-api-client
HubSpot API client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It is the official HubSpot Python SDK and the standard choice for integrating HubSpot APIs into Python applications. Install it if you need to interact with HubSpot's CRM, OAuth, or file APIs from Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later and a valid HubSpot access token (obtained via private app or OAuth2).
- Low install friction with six common dependencies (requests, urllib3, six, certifi, python-dateutil, importlib-metadata).
- Package is actively maintained with a recent release on 2025-05-07 and an active GitHub repository.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution.
last release 2025-05-07 (464 days) · last repo commit 2026-02-24 · 433 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,099,956 downloads/mo, #2,381 on PyPI
Alternatives
Verify before relying
pip install hubspot-api-client
from hubspot import HubSpot
api_client = HubSpot(access_token='your_access_token')
contact = api_client.crm.contacts.basic_api.get_by_id('contact_id')- Whether the package supports all current HubSpot API v3 endpoints or if some remain unwrapped.
- Performance characteristics when handling large result sets with pagination.
- Compatibility with async/await patterns or if only synchronous requests are supported.
What it is and what it does
The hubspot-api-client is an official Python SDK that wraps HubSpot's API v3 endpoints, providing typed access to CRM objects (contacts, companies, deals), OAuth token management, CMS audit logs, and file uploads. It abstracts away HTTP details and handles authentication, allowing developers to interact with HubSpot data programmatically using Python objects and methods rather than raw REST calls.
The package includes utilities for OAuth URL generation, webhook signature validation, and HTTP retry configuration via urllib3. It supports both paginated retrieval of all records and filtered search queries. For endpoints not yet wrapped by the SDK, a direct api_request method exposes the underlying HTTP client with all configured credentials and retry logic already applied.
Use it for
- Sync contact and company data from HubSpot into a Python application or data pipeline.
- Create or update CRM records (contacts, deals, custom objects) programmatically from external systems.
- Validate incoming HubSpot webhook requests to ensure they originate from HubSpot.
- Implement OAuth2 authentication flow to obtain user-delegated access tokens for multi-tenant apps.
- Upload files to HubSpot and organize them in folders via the Files API.
- Search CRM records by date, property values, or custom filters without fetching all results.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs with low friction, and is permissively licensed. It is the official HubSpot Python SDK and the standard choice for integrating HubSpot APIs into Python applications. Install it if you need to interact with HubSpot's CRM, OAuth, or file APIs from Python.
Install
hubspot-api-client on PyPI
Before you install
Low install friction with six common dependencies (requests, urllib3, six, certifi, python-dateutil, importlib-metadata). Package is actively maintained with a recent release on 2025-05-07 and an active GitHub repository.
Requires Python 3.7 or later and a valid HubSpot access token (obtained via private app or OAuth2).
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions beyond attribution.
Quickstart
pip install hubspot-api-client
from hubspot import HubSpot
api_client = HubSpot(access_token='your_access_token')
contact = api_client.crm.contacts.basic_api.get_by_id('contact_id')
Verify before relying
- Whether the package supports all current HubSpot API v3 endpoints or if some remain unwrapped.
- Performance characteristics when handling large result sets with pagination.
- Compatibility with async/await patterns or if only synchronous requests are supported.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesrequestsurllib3sixcertifipython-dateutilimportlib-metadata |
| Maintenance | Actively maintained 464 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,099,956 / month, #2,381 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: hubspot_api_client-12.0.0-py3-none-any.whl
Tags
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 › “hubspot api client python”
- hubspot-api-clientPython SDK for the HubSpot API v3 that provides typed client access…
- meltanoMeltano is a declarative, code-first data integration platform that…
- ingestringestr is a command-line tool that copies data from any source…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
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.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
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.
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.
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.
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.
See also brevo-python · dynamics365crm-python · dropbox-sign · pycdc · tiktok-business-api-sdk-official · Unified-python-sdk · xdk · bandwidth-sdk · snaptrade-python-sdk · lakefs-sdk