Query collected network flow data via the ntopng REST API

domain: ntop.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate with HTTP Basic auth using your ntopng web UI admin credentials, and use HTTPS in production since there's no separate API-key mechanism.
  2. Call community/free-tier endpoints under /lua/rest/v2/..., e.g. GET /lua/rest/v2/get/host/data.lua?ifid=<interface_id>&host=<ip> for basic per-host data.
  3. Parse every response inside the {"rc": <code>, "rc_str": "<status>", "rsp": {...}} envelope, checking rc for success/failure.
  4. For per-flow record queries, note these live under the Pro-licensed path /lua/pro/rest/v2/get/db/flows.lua (with select_clause/where_clause/begin_time_clause/end_time_clause params) rather than the free community API surface.
  5. Do not use ElastiFlow for a query-flow-data-via-API integration — it's a self-hosted collector configured through YAML/env vars whose bundled API is scoped to Prometheus-style metrics and admin/health checks, not flow-record queries; flow data ends up in whatever downstream store (e.g. Elasticsearch) you configured it to write to.

Known gotchas

Related routes

Query cross-border physical flow data from the ENTSO-E Transparency Platform RESTful API.
transparency.entsoe.eu · 6 steps · unrated
Query scheduled and completed satellite pass observations from the SatNOGS Network API
network.satnogs.org · 5 steps · unrated
Query network, exchange, and facility data via the PeeringDB API
peeringdb.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans