One key, one gateway
Use a Dakidarts API key with read or write scopes and control which APIs that key can reach.
Packet-capture analysis for flows, DNS activity, indicators of compromise and threat reports, with batch and asynchronous jobs for larger captures.
0 of 14 endpoints have an upstream URL configured. Other routes return 503 before billing; only send live requests to configured routes. The gateway injects upstream credentials for you.
Live checkout opens after an API route has an upstream URL. Preview examples are available below.
https://api.dakidarts.com/network-packet-threat-analyzerX-API-Key: dk_live_...GET /flowsUse a Dakidarts API key with read or write scopes and control which APIs that key can reach.
Wallet credits, plan quotas and organization invoices are settled per request with transparent response headers.
Latency, upstream status and execution mode are logged so integration issues are visible before they spread.
Keep the direct Dakidarts gateway as your primary route, or use the RapidAPI listing when marketplace billing and key management fit your stack better.
The best API is the one your team can integrate, observe and then stop thinking about.
Designed as a composable building block for product teams, internal tooling and automation.
Designed as a composable building block for product teams, internal tooling and automation.
Designed as a composable building block for product teams, internal tooling and automation.
Selected facts about coverage, delivery and production readiness.
Access, billing and integration details for Network Packet Threat Analyzer API.
Network packet captures for threat indicators and suspicious patterns.
PCAP-style packet data supported by the endpoint.
Avoid sending sensitive traffic. Use sanitized captures where possible and review the privacy terms.
Subscribe on the Dakidarts dashboard, then use an API key with this API in scope.
No. It provides analysis signals rather than a managed intrusion-detection platform.
Plans are shown for reference. Live checkout opens after an API route has an upstream URL.
$0.00 / month
Start with a Dakidarts key, call the gateway, then monitor usage from the dashboard.
Choose the API scope, then copy the key into your server environment.
Send requests to https://api.dakidarts.com/network-packet-threat-analyzer with your key and JSON body.
Track calls, latency and spend from the API dashboard and wallet.
These routes include contracts imported from the product implementation. 0 of 14 endpoints have an upstream URL configured. Other routes return 503 before billing; saved examples are previews only. Configure an upstream URL in API Studio to enable those routes.
Operations endpoints sourced from the Network Packet Threat Analyzer API implementation.
/status
Health
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Health check. No parameters.
Snapshot from
RAPID_README.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
GET /statusHealth check. No parameters.
curl -X GET \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
https://network-packet-threat-analyzer-api.p.rapidapi.com/status
Response:
{
"status": "ok",
"version": "0.0.2",
"auth_enabled": false,
"max_upload_bytes": 26214400,
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: health. Reference: RAPID_README.md.
curl -X GET https://api.dakidarts.com/network-packet-threat-analyzer/status -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
Analysis endpoints sourced from the Network Packet Threat Analyzer API implementation.
/analyze
Analyze
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Test mode — analyzes a bundled sample capture. No file upload needed. Useful for integration testing.
Snapshot from
docs/rapidapi-endpoints.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
Description: Test analysis using a bundled sample capture (5 synthetic TCP packets). No file upload needed — useful for integration testing and demo.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sensitivity | string | No | Detection sensitivity: low, medium, high (default: medium) | ?sensitivity=high |
Request Example:
curl --request GET \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/analyze?sensitivity=medium' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com'
Response 200:
{
"status": "ok",
"summary": {
"packets_analyzed": 5,
"unique_src_count": 1,
"unique_dst_count": 1,
"duration_seconds": 0.0004951953887939453,
"threat_level": "medium"
},
"detections": [
{
"type": "beacon_behavior",
"beacons": [
{
"endpoints": ["192.168.1.100", "192.168.1.1"],
"samples": 5,
"avg_interval_seconds": 0.0,
"variance": 0.0
}
],
"reason": "regular periodic connections detected"
}
],
"metrics": {
"file_size_bytes": 374,
"packets": 5,
"unique_src_ips": 1,
"unique_dst_ips": 1,
"duration_seconds": 0.0004951953887939453,
"top_protocols": [["tcp", 5]],
"top_ports": [[80, 5], [1024, 1], [1025, 1]],
"average_payload_entropy": 0.0,
"analysis_time_seconds": 0.0
},
"threat_score": 25,
"score_breakdown": [
{"rule": "beacon_behavior", "points": 25, "count": 1}
],
"sensitivity": "medium",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: analyze. Reference: docs/rapidapi-endpoints.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
curl -X GET 'https://api.dakidarts.com/network-packet-threat-analyzer/analyze?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
/analyze
Analyze
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Test mode — analyzes a bundled sample capture. No file upload needed. Useful for integration testing.
Snapshot from
docs/rapidapi-endpoints.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
Description: Test analysis using a bundled sample capture (5 synthetic TCP packets). No file upload needed — useful for integration testing and demo.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sensitivity | string | No | Detection sensitivity: low, medium, high (default: medium) | ?sensitivity=high |
Request Example:
curl --request GET \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/analyze?sensitivity=medium' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com'
Response 200:
{
"status": "ok",
"summary": {
"packets_analyzed": 5,
"unique_src_count": 1,
"unique_dst_count": 1,
"duration_seconds": 0.0004951953887939453,
"threat_level": "medium"
},
"detections": [
{
"type": "beacon_behavior",
"beacons": [
{
"endpoints": ["192.168.1.100", "192.168.1.1"],
"samples": 5,
"avg_interval_seconds": 0.0,
"variance": 0.0
}
],
"reason": "regular periodic connections detected"
}
],
"metrics": {
"file_size_bytes": 374,
"packets": 5,
"unique_src_ips": 1,
"unique_dst_ips": 1,
"duration_seconds": 0.0004951953887939453,
"top_protocols": [["tcp", 5]],
"top_ports": [[80, 5], [1024, 1], [1025, 1]],
"average_payload_entropy": 0.0,
"analysis_time_seconds": 0.0
},
"threat_score": 25,
"score_breakdown": [
{"rule": "beacon_behavior", "points": 25, "count": 1}
],
"sensitivity": "medium",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: analyze. Reference: docs/rapidapi-endpoints.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/analyze?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Batch operations endpoints sourced from the Network Packet Threat Analyzer API implementation.
/analyze/batch
Analyze Batch
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Analyze multiple captures in one request. Up to 10 files, 25 MB combined.
Snapshot from
docs/rapidapi-endpoints.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
Description: Analyze multiple captures in one request. Up to 10 files, 25 MB combined (decoded). Per-capture failures become result entries — never fail the whole batch.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sensitivity | string (query) | No | Detection sensitivity (default: medium) | ?sensitivity=high |
captures | array (JSON body) | Yes | Array of {name, pcap_b64} objects | See below |
Request Body:
{
"captures": [
{"name": "capture1.pcap", "pcap_b64": "aB3Kd..."},
{"name": "capture2.pcap", "pcap_b64": "xY7Zt..."}
]
}
Request Example:
B64_A=$(base64 -i capture1.pcap | tr -d '\n')
B64_B=$(base64 -i capture2.pcap | tr -d '\n')
curl --request POST \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/analyze/batch' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com' \
--header 'content-type: application/json' \
--data "{\"captures\": [{\"name\": \"a.pcap\", \"pcap_b64\": \"$B64_A\"}, {\"name\": \"b.pcap\", \"pcap_b64\": \"$B64_B\"}]}"
Response 200:
{
"status": "ok",
"results": [
{
"name": "a.pcap",
"summary": {"packets_analyzed": 142, "threat_level": "high"},
"threat_score": 75,
"score_breakdown": [{"rule": "c2_signature", "points": 40, "count": 1}]
},
{
"name": "b.pcap",
"summary": {"packets_analyzed": 5, "threat_level": "low"},
"threat_score": 0,
"score_breakdown": []
},
{
"name": "bad.pcap",
"error": "invalid base64",
"code": "INVALID_BASE64"
}
],
"batch_threat_score": 75,
"sensitivity": "medium",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: analyze_batch. Reference: docs/rapidapi-endpoints.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
captures | body | array | Yes | One to the configured maximum number of capture objects, each with `name` and base64 `pcap_b64`. |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"results": {
"type": "array",
"items": {}
},
"sensitivity": {
"description": "Dynamic source value; no concrete response example is published."
},
"batch_threat_score": {
"type": "integer"
}
},
"additionalProperties": true
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/analyze/batch?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"captures": [{"name": "capture.pcap", "pcap_b64": "BASE64_PCAP"}]}'
Flows endpoints sourced from the Network Packet Threat Analyzer API implementation.
/flows
Flows
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Extract per-conversation network flow records with a per-flow threat score.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /flows — Network FlowsExtracts per-conversation flow records with a per-flow score.
Query params: top_n (default 50), min_packets (default 1), sensitivity (default medium).
200 OK:
{
"status": "ok",
"flows": [
{
"src_ip": "10.0.0.5",
"dst_ip": "45.77.12.9",
"src_port": 49152,
"dst_port": 4444,
"protocol": "tcp",
"packets": 10,
"bytes": 1420,
"duration_seconds": 9.0,
"avg_interval_seconds": 1.0,
"avg_payload_entropy": 2.8274,
"flow_score": 70
}
],
"total_flows": 10,
"total_bytes": 1420,
"sensitivity": "medium"
}
flow_score components: suspicious port +40 · mean entropy above threshold +30 · beacon-like regularity +30 · high packet count / small packets +10 (capped at 100).
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: flows. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
top_n | query | integer | No | Max flows to return (default: 50) |
min_packets | query | integer | No | Min packets per flow (default: 1) |
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"flows": [
{
"bytes": 1420,
"dst_ip": "45.77.12.9",
"src_ip": "10.0.0.5",
"packets": 10,
"dst_port": 4444,
"protocol": "tcp",
"src_port": 49152,
"flow_score": 70,
"duration_seconds": 9.0,
"avg_payload_entropy": 2.8274,
"avg_interval_seconds": 1.0
}
],
"status": "ok",
"sensitivity": "medium",
"total_bytes": 1420,
"total_flows": 10
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/flows?top_n=%3Ftop_n%3D10&min_packets=%3Fmin_packets%3D5&sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Iocs endpoints sourced from the Network Packet Threat Analyzer API implementation.
/iocs
Iocs
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Extract Indicators of Compromise: IPs, domains, URLs, and payload hashes (MD5/SHA1/SHA256).
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /iocs — Indicator ExtractionExtracts IPs, domains, URLs, and payload hashes (MD5/SHA1/SHA256) from IP headers, DNS queries, and payload strings.
200 OK:
{
"status": "ok",
"iocs": {
"ips": ["10.0.0.5", "45.77.12.9"],
"domains": ["c2.evil.tk"],
"urls": ["http://c2.evil.tk/beacon"],
"hashes": { "md5": [], "sha1": [], "sha256": [] }
},
"enrichment": {
"malicious_domains": ["c2.evil.tk"],
"malicious_ips": ["45.77.12.9"],
"source": "local heuristics (no external feeds)"
}
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: iocs. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
{
"iocs": {
"ips": [
"10.0.0.5",
"45.77.12.9"
],
"urls": [
"http://c2.evil.tk/beacon"
],
"hashes": {
"md5": [],
"sha1": [],
"sha256": []
},
"domains": [
"c2.evil.tk"
]
},
"status": "ok",
"enrichment": {
"source": "local heuristics (no external feeds)",
"malicious_ips": [
"45.77.12.9"
],
"malicious_domains": [
"c2.evil.tk"
]
}
}curl -X POST https://api.dakidarts.com/network-packet-threat-analyzer/iocs -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Dns endpoints sourced from the Network Packet Threat Analyzer API implementation.
/dns
Dns
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
DNS-specific analysis: detect DNS tunneling, DGA activity, and suspicious TLDs.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /dns — DNS AnalysisQuery params: top_n (default 50), flag_tunneling (true/false, default true), sensitivity.
200 OK:
{
"status": "ok",
"queries_total": 3,
"unique_domains": 4,
"nxdomain_rate": 1.0,
"suspicious_domains": [
{
"domain": "a1b2c3d4e5f6.verylongsubdomain.tk",
"query_count": 1,
"subdomain_entropy": 4.6202,
"flag": "suspicious_tld"
}
],
"top_domains": [["mail.evil.tk", 1]],
"detections": [
{
"type": "nxdomain_spike",
"nxdomain_rate": 1.0,
"reason": "elevated NXDOMAIN rate - possible domain generation algorithm (DGA) activity"
}
],
"dns_threat_score": 25
}
Detection rules: dns_tunneling (subdomain entropy > 6.5, +40) · nxdomain_spike (NXDOMAIN rate > 0.5, +15) · suspicious TLD (+10). Domain flags: high_entropy, elevated_entropy, suspicious_tld.
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: dns. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
top_n | query | integer | No | Max domains to return (default: 50) |
flag_tunneling | query | boolean | No | Enable tunneling detection: `true`/`false` (default: `true`) |
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"status": "ok",
"detections": [
{
"type": "nxdomain_spike",
"reason": "elevated NXDOMAIN rate - possible domain generation algorithm (DGA) activity",
"nxdomain_rate": 1.0
}
],
"top_domains": [
[
"mail.evil.tk",
1
]
],
"nxdomain_rate": 1.0,
"queries_total": 3,
"unique_domains": 4,
"dns_threat_score": 25,
"suspicious_domains": [
{
"flag": "suspicious_tld",
"domain": "a1b2c3d4e5f6.verylongsubdomain.tk",
"query_count": 1,
"subdomain_entropy": 4.6202
}
]
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/dns?top_n=%3Ftop_n%3D20&flag_tunneling=%3Fflag_tunneling%3Dfalse&sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Hex endpoints sourced from the Network Packet Threat Analyzer API implementation.
/hex
Hex Analyze
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Single-packet analysis from hex-encoded data. Paste hex from `hexdump`, IDS alerts, or any tool that outputs raw packet bytes.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /hex — Single-Packet AnalysisDecodes a hex-encoded packet (e.g., from hexdump or an IDS alert) and returns a verdict. JSON only:
{ "hex": "00112233445566778899aabb08004500002c..." }
200 OK:
{
"status": "ok",
"decoded": {
"eth_dst": "66:77:88:99:aa:bb",
"eth_src": "00:11:22:33:44:55",
"ip_src": "10.0.0.1",
"ip_dst": "45.77.12.9",
"ip_ttl": 64,
"ip_proto": 6,
"protocol": "tcp",
"src_port": 12345,
"dst_port": 4444,
"flags": ["SYN"]
},
"verdict": "malicious",
"flags_list": [
{ "type": "suspicious_port", "detail": "destination port 4444 is on the suspicious ports list" },
{ "type": "c2_signature", "detail": "payload matched: beacon" }
],
"payload_entropy": 2.585
}
Verdicts: benign · suspicious (entropy above threshold) · malicious (C2 signature or suspicious port). Errors: 400 INVALID_HEX (non-hex, odd length, < 14 bytes, undissectable).
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: hex_analyze. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hex | body | string | Yes | Packet bytes as a hexadecimal string; raw text request bodies are also accepted. |
{
"status": "ok",
"decoded": {
"flags": [
"SYN"
],
"ip_dst": "45.77.12.9",
"ip_src": "10.0.0.1",
"ip_ttl": 64,
"eth_dst": "66:77:88:99:aa:bb",
"eth_src": "00:11:22:33:44:55",
"dst_port": 4444,
"ip_proto": 6,
"protocol": "tcp",
"src_port": 12345
},
"verdict": "malicious",
"flags_list": [
{
"type": "suspicious_port",
"detail": "destination port 4444 is on the suspicious ports list"
},
{
"type": "c2_signature",
"detail": "payload matched: beacon"
}
],
"payload_entropy": 2.585
}curl -X POST https://api.dakidarts.com/network-packet-threat-analyzer/hex -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -H 'Content-Type: application/json' -d '{"hex": "example"}'
Rules endpoints sourced from the Network Packet Threat Analyzer API implementation.
/rules
Rules
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Returns the full detection rule catalog, scoring weights, thresholds, and system limits.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
GET /rules — Rule CatalogReturns the active rule set, limits, and tunables.
200 OK:
{
"status": "ok",
"rules": [
{
"id": "c2_signature",
"name": "C2 Signature Match",
"weight": 40,
"severity": "critical",
"description": "Matches known command-and-control patterns (.onion, .tk, c2., beacon) inside payloads",
"threshold": "any match in any TCP/UDP payload",
"tunables": ["KNOWN_C2_PATTERNS"]
}
],
"limits": {
"max_upload_bytes": 26214400,
"max_batch_captures": 10,
"max_batch_total_bytes": 26214400,
"supported_formats": ["pcap", "pcapng"],
"sensitivity_levels": ["low", "medium", "high"],
"cache_ttl_seconds": 60
},
"version": "0.0.2"
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: rules. Reference: docs/endpoints/v2.md.
{
"rules": [
{
"id": "c2_signature",
"name": "C2 Signature Match",
"weight": 40,
"severity": "critical",
"tunables": [
"KNOWN_C2_PATTERNS"
],
"threshold": "any match in any TCP/UDP payload",
"description": "Matches known command-and-control patterns (.onion, .tk, c2., beacon) inside payloads"
}
],
"limits": {
"max_upload_bytes": 26214400,
"cache_ttl_seconds": 60,
"supported_formats": [
"pcap",
"pcapng"
],
"max_batch_captures": 10,
"sensitivity_levels": [
"low",
"medium",
"high"
],
"max_batch_total_bytes": 26214400
},
"status": "ok",
"version": "0.0.2"
}curl -X GET https://api.dakidarts.com/network-packet-threat-analyzer/rules -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
Compare endpoints sourced from the Network Packet Threat Analyzer API implementation.
/compare
Compare
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Compare two captures: identify new/removed endpoints, protocol drift, and threat-score delta.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /compare — Capture DiffingMultipart only: fields pcap_a and pcap_b. Query param sensitivity.
200 OK:
{
"status": "ok",
"packet_delta": 4,
"new_endpoints": [["10.0.0.5", "45.77.12.9", 49152, 4444, "tcp"]],
"removed_endpoints": [["10.0.0.20", "93.184.216.34", 50000, 80, "tcp"]],
"protocol_drift": { "added": [], "removed": ["icmp"] },
"threat_score_before": 25,
"threat_score_after": 100,
"score_delta": 75,
"detections_added": ["c2_signature", "suspicious_port"],
"detections_removed": [],
"sensitivity": "medium"
}
Endpoint tuples are [src_ip, dst_ip, src_port, dst_port, protocol].
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: compare. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pcap_a | file | file | Yes | First (baseline) PCAP/PCAPNG capture file. |
pcap_b | file | file | Yes | Second (current) PCAP/PCAPNG capture file. |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"status": "ok",
"score_delta": 75,
"sensitivity": "medium",
"packet_delta": 4,
"new_endpoints": [
[
"10.0.0.5",
"45.77.12.9",
49152,
4444,
"tcp"
]
],
"protocol_drift": {
"added": [],
"removed": [
"icmp"
]
},
"detections_added": [
"c2_signature",
"suspicious_port"
],
"removed_endpoints": [
[
"10.0.0.20",
"93.184.216.34",
50000,
80,
"tcp"
]
],
"detections_removed": [],
"threat_score_after": 100,
"threat_score_before": 25
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/compare?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap_a=@path/to/file -F pcap_b=@path/to/file
Report endpoints sourced from the Network Packet Threat Analyzer API implementation.
/report
Report
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Executive report with human-readable verdict, severity-ranked findings, and actionable remediation guidance.
Snapshot from
docs/rapidapi-endpoints.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
Description: Executive report with human-readable verdict, severity-ranked findings, and actionable remediation guidance for each detection type.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sensitivity | string (query) | No | Detection sensitivity (default: medium) | ?sensitivity=high |
pcap | file (multipart) | Yes* | PCAP file upload | @capture.pcap |
| — | octet-stream body | Yes* | Raw PCAP bytes in request body | --data-binary @capture.pcap |
pcap_b64 | string (JSON body) | Yes* | Base64-encoded PCAP | "aB3Kd..." |
Request Example 1 (multipart file):
curl --request POST \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/report' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com' \
--form '[email protected]'
Request Example 2 (JSON with base64):
B64=$(base64 -i capture.pcap | tr -d '\n')
curl --request POST \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/report' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com' \
--header 'content-type: application/json' \
--data "{\"pcap_b64\": \"$B64\"}"
Request Body (JSON):
{
"pcap_b64": "<base64-encoded PCAP data>"
}
Response 200:
{
"status": "ok",
"summary": {"packets_analyzed": 142, "threat_level": "high"},
"threat_score": 75,
"score_breakdown": [{"rule": "c2_signature", "points": 40, "count": 1}],
"sensitivity": "medium",
"verdict": "HIGH RISK",
"headline": "2 high-risk indicator(s): C2 Signature Match, Beacon Behavior",
"findings": [
{
"severity": "critical",
"title": "C2 Signature Match",
"detail": "Matches known command-and-control patterns... (packet #12, patterns [beacon])",
"remediation": "Block the C2 destination IPs at the firewall and isolate affected hosts; collect memory and disk forensics."
},
{
"severity": "high",
"title": "Beacon Behavior",
"detail": "regular periodic connections detected",
"remediation": "Isolate beaconing hosts and investigate the destination endpoints; check for scheduled tasks and persistence."
}
],
"remediation_summary": "Block or restrict the flagged ports at the perimeter; Block the C2 destination IPs at the firewall and isolate affected hosts; collect memory and disk forensics.",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: report. Reference: docs/rapidapi-endpoints.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"metrics": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"summary": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"verdict": {
"type": "string"
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"detail": {
"type": "string"
},
"severity": {
"type": "string"
},
"remediation": {
"type": "string"
}
},
"additionalProperties": true
}
},
"headline": {
"type": "string"
},
"detections": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"additionalProperties": true
}
},
"sensitivity": {
"type": "string"
},
"threat_score": {
"type": "integer"
},
"score_breakdown": {
"type": "object",
"properties": {},
"additionalProperties": true
},
"remediation_summary": {
"type": "string"
}
},
"additionalProperties": true
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/report?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Strings endpoints sourced from the Network Packet Threat Analyzer API implementation.
/strings
Strings
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Extract printable ASCII strings from payloads (like the `strings` command). Useful for identifying embedded commands, URLs, or debug info in captured traffic.
Snapshot from
docs/endpoints/v2.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
POST /strings — Payload String ExtractionQuery params: min_len (default 6, max 1024), top_n (default 100, max 1000).
200 OK:
{
"status": "ok",
"strings": [
{ "value": "GET /beacon HTTP/1.1", "packet_index": 1, "entropy": 3.7842 }
],
"total_strings": 30
}
Sorted by entropy (descending) — most random-looking strings first.
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: strings. Reference: docs/endpoints/v2.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
min_len | query | integer | No | Min string length (default: 6, max: 1024) |
top_n | query | integer | No | Max strings to return (default: 100, max: 1000) |
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"status": "ok",
"strings": [
{
"value": "GET /beacon HTTP/1.1",
"entropy": 3.7842,
"packet_index": 1
}
],
"total_strings": 30
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/strings?min_len=%3Fmin_len%3D8&top_n=%3Ftop_n%3D50&sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
Jobs endpoints sourced from the Network Packet Threat Analyzer API implementation.
/jobs
Create Job
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Submit an async analysis job for large captures without blocking the HTTP request. Returns a job ID to poll with `GET /jobs/{id}`.
Snapshot from
docs/rapidapi-endpoints.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
Description: Submit an async analysis job for large captures without blocking the HTTP request. Returns a job ID to poll with GET /jobs/{id}.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
sensitivity | string (query) | No | Detection sensitivity (default: medium) | ?sensitivity=high |
pcap | file (multipart) | Yes* | PCAP file upload | @capture.pcap |
| — | octet-stream body | Yes* | Raw PCAP bytes in request body | --data-binary @capture.pcap |
pcap_b64 | string (JSON body) | Yes* | Base64-encoded PCAP | "aB3Kd..." |
Request Example 1 (multipart file):
curl --request POST \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/jobs' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com' \
--form '[email protected]'
Request Example 2 (JSON with base64):
B64=$(base64 -i capture.pcap | tr -d '\n')
curl --request POST \
--url 'https://network-packet-threat-analyzer.p.rapidapi.com/jobs' \
--header 'x-rapidapi-key: YOUR_KEY' \
--header 'x-rapidapi-host: network-packet-threat-analyzer.p.rapidapi.com' \
--header 'content-type: application/json' \
--data "{\"pcap_b64\": \"$B64\"}"
Request Body (JSON):
{
"pcap_b64": "<base64-encoded PCAP data>"
}
Response 202:
{
"status": "accepted",
"job_id": "a8838851f49f471d8356977b93aa6b78",
"job_status": "queued",
"poll": "/jobs/a8838851f49f471d8356977b93aa6b78",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: create_job. Reference: docs/rapidapi-endpoints.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
pcap | file | file | No | PCAP file upload |
pcap_b64 | body | string | No | Base64-encoded PCAP |
sensitivity | query | string | No | Detection sensitivity: `low`, `medium`, or `high`. |
{
"type": "object",
"properties": {
"poll": {
"description": "Dynamic source value; no concrete response example is published."
},
"job_id": {
"description": "Dynamic source value; no concrete response example is published."
},
"status": {
"type": "string"
},
"job_status": {
"description": "Dynamic source value; no concrete response example is published."
}
},
"additionalProperties": true
}curl -X POST 'https://api.dakidarts.com/network-packet-threat-analyzer/jobs?sensitivity=medium' -H 'X-API-Key: dk_live_...' -H 'Accept: application/json' -F pcap=@path/to/file
/jobs/{job_id}
Get Job
SOURCE CONTRACT — UPSTREAM NEEDED
$0.0050 / call / 120 rpm
Upstream needed
Poll an async analysis job for status and results.
Snapshot from
RAPID_README.mdfor source API version0.0.2. This is source documentation, not evidence that an upstream is deployed.
GET /jobs/{job_id}Poll an async analysis job for status and results.
Path Parameters:
| Parameter | Required | Description |
|---|---|---|
job_id | Yes | Job ID from POST /jobs |
curl -X GET \
-H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" \
"https://network-packet-threat-analyzer-api.p.rapidapi.com/jobs/a8838851f49f471d8356977b93aa6b78"
Job states: queued → running → done | failed
Response (done):
{
"status": "ok",
"job_id": "a8838851f49f471d8356977b93aa6b78",
"job_status": "done",
"summary": {"packets_analyzed": 142, "threat_level": "high"},
"detections": [{"type": "beacon_behavior", "reason": "regular periodic connections detected"}],
"metrics": {"packets": 142, "file_size_bytes": 22140},
"threat_score": 75,
"score_breakdown": [{"rule": "beacon_behavior", "points": 25, "count": 1}],
"sensitivity": "medium",
"request_id": "..."
}
Source contract imported from Network Packet Threat Analyzer/app.py. Handler: get_job. Reference: RAPID_README.md.
| Name | In | Type | Required | Description |
|---|---|---|---|---|
job_id | path | string | Yes | Job ID from POST /jobs |
{
"type": "object",
"properties": {
"job_id": {
"description": "Dynamic source value; no concrete response example is published."
},
"status": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"job_status": {
"description": "Dynamic source value; no concrete response example is published."
}
},
"additionalProperties": true
}curl -X GET https://api.dakidarts.com/network-packet-threat-analyzer/jobs/a8838851f49f471d8356977b93aa6b78 -H 'X-API-Key: dk_live_...' -H 'Accept: application/json'
No endpoints match that search. Clear the search to see all routes.
Edit a JSON request to validate its syntax and preview the published sample response. This stays in your browser; it never calls the live API or uses credits.
The preview checks JSON syntax and shows the saved example response; it does not execute request values.
These are integration templates, not runnable sample calls. Configure an endpoint upstream in API Studio, then replace the placeholder path. Saved samples stay preview-only.
# Replace with a connected GET route and include any required parameters.
curl -X GET "https://api.dakidarts.com/network-packet-threat-analyzer/v1/your-connected-endpoint" \
-H "X-API-Key: dk_live_..." \
-H "Accept: application/json"
# Replace with a connected GET route and include any required parameters.
import requests
headers = {"X-API-Key": "dk_live_..."}
response = requests.get("https://api.dakidarts.com/network-packet-threat-analyzer/v1/your-connected-endpoint", headers=headers)
print(response.json())
// Replace with a connected GET route and include any required parameters.
const res = await fetch("https://api.dakidarts.com/network-packet-threat-analyzer/v1/your-connected-endpoint", {
headers: { "X-API-Key": "dk_live_..." }
});
const data = await res.json();
console.log(data);
<?php
// Replace with a connected GET route and include any required parameters.
$ch = curl_init("https://api.dakidarts.com/network-packet-threat-analyzer/v1/your-connected-endpoint");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-API-Key: dk_live_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
$data = json_decode($response, true);