Build network infrastructure health report API
Aggregate log, latency, packet-loss, DNS, BGP, certificate, configuration, reputation, and incident sections from caller-supplied network records.
The Build network infrastructure health report operation is part of the Telecom & Network Infrastructure Intelligence API on BRAINIAC.software. Aggregate log, latency, packet-loss, DNS, BGP, certificate, configuration, reputation, and incident sections from caller-supplied network records. It is exposed as POST /api/v1/network-intelligence/infrastructure-health-report and priced at $0.08 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Caller-supplied logs, latency/packet-loss samples, DNS/BGP/cert/config/reputation/incident records Public DNS when publicDns is requested Public TLS port 443 when publicTls is requested Limitations: Private, loopback, link-local, and documentation addresses are never contacted. Private networks are not scanned. No intrusive security testing is performed and no paid reputation API is used. IP reputation uses only caller-supplied labels/observations. Missing reputation data is not invented. Optional public DNS and TLS inspection are limited to public hostnames on standard resolvers / port 443. Infrastructure health reports aggregate only sections for which records were supplied or optionally fetched. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Normalize network logs, Detect network latency anomalies, Analyze packet-loss patterns, Diagnose DNS resolution. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/network-intelligence/infrastructure-health-reportExample request
curl -i -X POST "https://www.brainiac.software/api/v1/network-intelligence/infrastructure-health-report" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"asOf": "2026-11-04T21:00:00.000Z",
"latencyAnomalyZ": 2,
"packetLossWarnPct": 1,
"expiryWarningDays": 30,
"logs": [
{
"at": "2026-11-04T20:00:00.000Z",
"host": "edge-1",
"severity": "error",
"message": "BGP session timeout",
"source": "Caller-supplied"
}
],
"latencySamples": [
{
"pathId": "POP-A",
"at": "2026-11-04T20:00:00.000Z",
"latencyMs": 20,
"source": "Caller-supplied"
},
{
"pathId": "POP-A",
"at": "2026-11-04T20:01:00.000Z",
"latencyMs": 22,
"source": "Caller-supplied"
},
{
"pathId": "POP-A",
"at": "2026-11-04T20:02:00.000Z",
"latencyMs": 21,
"source": "Caller-supplied"
},
{
"pathId": "POP-A",
"at": "2026-11-04T20:03:00.000Z",
"latencyMs": 95,
"source": "Caller-supplied"
}
],
"packetLossSamples": [
{
"pathId": "POP-A",
"sent": 1000,
"lost": 40,
"source": "Caller-supplied"
}
],
"dnsRecords": [
{
"hostname": "www.example.com",
"recordType": "A",
"answer": "93.184.216.34",
"expectedAnswer": "93.184.216.34",
"rcode": "NOERROR",
"source": "Caller-supplied"
}
],
"bgpRoutes": [
{
"prefix": "203.0.113.0/24",
"peer": "64500",
"asPath": "64500 64501",
"nextHop": "198.51.100.1",
"side": "before",
"source": "Caller-supplied"
},
{
"prefix": "203.0.113.0/24",
"peer": "64500",
"asPath": "64500 64502 64501",
"nextHop": "198.51.100.2",
"side": "after",
"source": "Caller-supplied"
}
],
"certificates": [
{
"host": "www.example.com",
"commonName": "www.example.com",
"notAfter": "2026-12-01T00:00:00.000Z",
"source": "Caller-supplied"
}
],
"configs": [
{
"deviceId": "edge-1",
"key": "mtu",
"value": "1500",
"side": "before",
"source": "Caller-supplied"
},
{
"deviceId": "edge-1",
"key": "mtu",
"value": "9000",
"side": "after",
"source": "Caller-supplied"
}
],
"reputations": [
{
"ip": "203.0.113.77",
"listed": true,
"score": 85,
"source": "Caller-supplied"
}
],
"incidents": [
{
"at": "2026-11-04T19:55:00.000Z",
"host": "edge-1",
"severity": "major",
"title": "Packet loss spike",
"source": "Caller-supplied"
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Normalize network logs — $0.03 USDC
- Detect network latency anomalies — $0.03 USDC
- Analyze packet-loss patterns — $0.03 USDC
- Diagnose DNS resolution — $0.03 USDC
Related APIs
Telecom & Network Infrastructure Intelligence APIFull docsHow it works