datadog-api-client
Collection of all Datadog Public endpoints
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Datadog API client with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if you need programmatic access to Datadog's monitoring, alerting, dashboards, or incident management from Python. The only gotcha is that you must provide Datadog API credentials (via environment variables or configuration) before making calls.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires DD_API_KEY and DD_APP_KEY environment variables or explicit credential configuration; Python 3.8 or later.
- Low install friction with a pure-wheel distribution and four lightweight runtime dependencies (urllib3, certifi, python-dateutil, typing-extensions).
- Active maintenance with a release 2 days old and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most production environments.
last release 2026-08-12 (2 days) · last repo commit 2026-08-13 · 166 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 26,049,728 downloads/mo, #892 on PyPI
Alternatives
Verify before relying
pip install datadog-api-client
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.monitors_api import MonitorsApi
configuration = Configuration()
with ApiClient(configuration) as api_client:
api_instance = MonitorsApi(api_client)
response = api_instance.list_monitors()- Extent of API endpoint coverage and whether all Datadog services are represented in this client version.
- Performance characteristics and rate-limiting behavior under high-volume usage patterns.
- Stability guarantees for endpoints marked as unstable in the documentation.
What it is and what it does
This is the official Python SDK for Datadog's public API, generated from OpenAPI specifications. It provides typed access to Datadog's monitoring, alerting, dashboard, incident, and log management endpoints, handling authentication, request serialization, and response deserialization automatically.
The library supports multiple usage patterns: synchronous blocking calls via ApiClient, threaded execution via ThreadedApiClient for concurrent operations, and asynchronous coroutines via AsyncApiClient (requires the async extra). Configuration is flexible, allowing proxy setup, custom retry policies via urllib3, GZIP compression control, debug logging, and per-endpoint opt-in for unstable API endpoints. Authentication defaults to DD_API_KEY and DD_APP_KEY environment variables but can be overridden programmatically.
Use it for
- Create, update, and query monitors and alerts programmatically within CI/CD pipelines or automation workflows.
- Fetch dashboard definitions and metrics data for reporting, auditing, or integration with other systems.
- List and manage incidents, including status updates and timeline annotations during incident response.
- Retrieve and analyze logs from Datadog's log management system for custom analytics or compliance audits.
- Implement custom retry logic and rate-limit handling for reliable bulk operations against Datadog's API.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Datadog API client with low install friction, permissive licensing, no known vulnerabilities, and broad Python version support. Install it if you need programmatic access to Datadog's monitoring, alerting, dashboards, or incident management from Python. The only gotcha is that you must provide Datadog API credentials (via environment variables or configuration) before making calls.
Install
datadog-api-client on PyPI
Before you install
Low install friction with a pure-wheel distribution and four lightweight runtime dependencies (urllib3, certifi, python-dateutil, typing-extensions). Active maintenance with a release 2 days old and recent commits.
Requires DD_API_KEY and DD_APP_KEY environment variables or explicit credential configuration; Python 3.8 or later.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions, making it suitable for most production environments.
Quickstart
pip install datadog-api-client
from datadog_api_client import ApiClient, Configuration
from datadog_api_client.v1.api.monitors_api import MonitorsApi
configuration = Configuration()
with ApiClient(configuration) as api_client:
api_instance = MonitorsApi(api_client)
response = api_instance.list_monitors()
Verify before relying
- Extent of API endpoint coverage and whether all Datadog services are represented in this client version.
- Performance characteristics and rate-limiting behavior under high-volume usage patterns.
- Stability guarantees for endpoints marked as unstable in the documentation.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesurllib3certifipython-dateutiltyping-extensions |
| Maintenance | Actively maintained 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 26,049,728 / month, #892 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: datadog_api_client-2.59.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 › “datadog api client python”
- datadog-api-clientPython client library for the Datadog API, providing programmatic…
- datadogProvides a Python client library to send metrics, events, and service…
- ddapm-test-agentEmulates Datadog APM agent endpoints to test Datadog APM client…
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 datadog · opsgenie-sdk · seeq · lance-namespace-urllib3-client · py-dactyl · apache-airflow-providers-datadog · Flask-Datadog · ddtrace · whylabs-client · datadog-checks-base