---
url: https://www.ntop.org/guides/ntopng//guides/ntopng/api/rest.md
description: >-
  ntopng provides a RESTful API for exporting data through HTTP including
  Interfaces/Hosts/Flows information and raw PCAP data.
---

# RESTful API {#restful-api}

ntopng provides a RESTful API for exporting data through HTTP including
Interfaces/Hosts/Flows information and raw PCAP data.

* [1. RESTful API v2 Specification](/api/rest/api_v2.md)
  * [1.1. Authentication](/api/rest/api_v2.md#authentication)
  * [1.2. Request Format](/api/rest/api_v2.md#request-format)
  * [1.3. Response Format](/api/rest/api_v2.md#response-format)
  * [1.4. API](/api/rest/api_v2.md#api)
* [2. Examples v2](/api/rest/examples_v2.md)
  * [2.1. Interfaces](/api/rest/examples_v2.md#interfaces)
  * [2.2. Hosts](/api/rest/examples_v2.md#hosts)
  * [2.3. Flows](/api/rest/examples_v2.md#flows)
  * [2.4. Alerts](/api/rest/examples_v2.md#alerts)
  * [2.5. L7 Application Protocols](/api/rest/examples_v2.md#l7-application-protocols)
  * [2.6. L7 Application Categories](/api/rest/examples_v2.md#l7-application-categories)
  * [2.7. L4 Protocols](/api/rest/examples_v2.md#l4-protocols)
  * [2.8. Pools](/api/rest/examples_v2.md#pools)
  * [2.9. SNMP](/api/rest/examples_v2.md#snmp)
  * [2.10. Misc](/api/rest/examples_v2.md#misc)
* [3. RESTful API v1 Specification](/api/rest/api_v1.md)
  * [3.1. Authentication](/api/rest/api_v1.md#authentication)
  * [3.2. Request Format](/api/rest/api_v1.md#request-format)
  * [3.3. Response Format](/api/rest/api_v1.md#response-format)
  * [3.4. API](/api/rest/api_v1.md#api)
* [4. Examples v1](/api/rest/examples_v1.md)
  * [4.1. Interfaces](/api/rest/examples_v1.md#interfaces)
  * [4.2. Hosts](/api/rest/examples_v1.md#hosts)
  * [4.3. Flows](/api/rest/examples_v1.md#flows)
  * [4.4. Alerts](/api/rest/examples_v1.md#alerts)
  * [4.5. L7 Application Protocols](/api/rest/examples_v1.md#l7-application-protocols)
  * [4.6. L7 Application Categories](/api/rest/examples_v1.md#l7-application-categories)
  * [4.7. L4 Protocols](/api/rest/examples_v1.md#l4-protocols)
  * [4.8. Pools](/api/rest/examples_v1.md#pools)
  * [4.9. SNMP](/api/rest/examples_v1.md#snmp)
  * [4.10. Misc](/api/rest/examples_v1.md#misc)
