---
title: Network Device Monitoring
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > API Reference > Network Device Monitoring
---

# Network Device Monitoring
Copy pageCopied
The Network Device Monitoring API allows you to fetch devices and interfaces and their attributes. See the [Network Device Monitoring page](https://docs.datadoghq.com/network_monitoring.md) for more information.

## Get the list of devices →{% #get-the-list-of-devices %}

| Datadog site      | API endpoint                                         |
| ----------------- | ---------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/devices |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/devices |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/devices      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/devices      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/devices  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/devices     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/devices |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/devices |

## Get the device details →{% #get-the-device-details %}

| Datadog site      | API endpoint                                                     |
| ----------------- | ---------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/devices/{device_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/devices/{device_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/devices/{device_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/devices/{device_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/devices/{device_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/devices/{device_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/devices/{device_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/devices/{device_id} |

## Get the list of interfaces of the device →{% #get-the-list-of-interfaces-of-the-device %}

| Datadog site      | API endpoint                                            |
| ----------------- | ------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/interfaces |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/interfaces |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/interfaces      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/interfaces      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/interfaces  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/interfaces     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/interfaces |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/interfaces |

## Get the list of tags for a device →{% #get-the-list-of-tags-for-a-device %}

| Datadog site      | API endpoint                                                          |
| ----------------- | --------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/tags/devices/{device_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/tags/devices/{device_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |

## Update the tags for a device →{% #update-the-tags-for-a-device %}

| Datadog site      | API endpoint                                                            |
| ----------------- | ----------------------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/ndm/tags/devices/{device_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/ndm/tags/devices/{device_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/ndm/tags/devices/{device_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/ndm/tags/devices/{device_id} |

## List tags for an interface →{% #list-tags-for-an-interface %}

| Datadog site      | API endpoint                                                                |
| ----------------- | --------------------------------------------------------------------------- |
| ap1.datadoghq.com | GET https://api.ap1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| ap2.datadoghq.com | GET https://api.ap2.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.datadoghq.eu  | GET https://api.datadoghq.eu/api/v2/ndm/tags/interfaces/{interface_id}      |
| app.ddog-gov.com  | GET https://api.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}      |
| us2.ddog-gov.com  | GET https://api.us2.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}  |
| app.datadoghq.com | GET https://api.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id}     |
| us3.datadoghq.com | GET https://api.us3.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| us5.datadoghq.com | GET https://api.us5.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |

## Update the tags for an interface →{% #update-the-tags-for-an-interface %}

| Datadog site      | API endpoint                                                                  |
| ----------------- | ----------------------------------------------------------------------------- |
| ap1.datadoghq.com | PATCH https://api.ap1.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| ap2.datadoghq.com | PATCH https://api.ap2.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| app.datadoghq.eu  | PATCH https://api.datadoghq.eu/api/v2/ndm/tags/interfaces/{interface_id}      |
| app.ddog-gov.com  | PATCH https://api.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}      |
| us2.ddog-gov.com  | PATCH https://api.us2.ddog-gov.com/api/v2/ndm/tags/interfaces/{interface_id}  |
| app.datadoghq.com | PATCH https://api.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id}     |
| us3.datadoghq.com | PATCH https://api.us3.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
| us5.datadoghq.com | PATCH https://api.us5.datadoghq.com/api/v2/ndm/tags/interfaces/{interface_id} |
