Datadog REST API
Cloud monitoring and observability platform API
Datadog provides comprehensive monitoring and analytics for cloud-scale applications, infrastructure, and logs. The REST API enables developers to programmatically submit metrics, query monitoring data, manage dashboards and alerts, and integrate Datadog's observability features into their applications and workflows. It's essential for DevOps automation, custom integrations, and building monitoring solutions at scale.
https://api.datadoghq.com/api/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /series | Submit time series data points to Datadog for custom metrics monitoring |
| POST | /check_run | Submit service check status updates for monitoring service health |
| POST | /events | Create events to track deployments, alerts, or application changes |
| GET | /query | Query time series data using Datadog's metric query language |
| GET | /dashboard | List all dashboards in your Datadog account |
| POST | /dashboard | Create a new dashboard with custom widgets and visualizations |
| GET | /monitor | Retrieve all monitors configured in your account |
| POST | /monitor | Create a new monitor with alerting rules and notification channels |
| PUT | /monitor/{monitor_id}/mute | Mute or unmute a specific monitor to suppress alerts temporarily |
| GET | /logs-queries/list | Execute log queries and retrieve matching log events |
| GET | /hosts | List all hosts reporting to Datadog with their metadata and tags |
| GET | /tags/hosts | Get all tags associated with hosts for filtering and organization |
| POST | /downtime | Schedule maintenance downtime windows to suppress alerts |
| GET | /usage/timeseries | Retrieve usage metrics for cost tracking and capacity planning |
| POST | /integration/webhooks | Configure webhook integrations for alert notifications |
Sponsor this page
AvailableReach developers actively building with Datadog. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST "https://api.datadoghq.com/api/v1/series" \
-H "Content-Type: application/json" \
-H "DD-API-KEY: ${DD_API_KEY}" \
-d '{
"series": [{
"metric": "custom.api.requests",
"points": [[1234567890, 42.5]],
"type": "count",
"tags": ["env:production", "service:api"]
}]
}'
Use Datadog from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Datadog. Paste your Datadog API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Datadog directly with your credentials — no local install, works on mobile.
submit_metrics
Submit custom metrics and performance data to Datadog for monitoring application health and business KPIs
query_metrics
Query and analyze time series metrics data to answer questions about system performance, trends, and anomalies
manage_monitors
Create, update, or retrieve monitoring alerts and their current status to automate incident response
search_logs
Search and filter log data to troubleshoot issues, investigate incidents, or extract insights from application logs
create_dashboard
Programmatically create and update dashboards to visualize metrics and provide custom monitoring views
Connect in 60 seconds
Paste your Datadog key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Datadog to your AI →