Fetch stats
Statistics
Aggregated IOC statistics and trends
Pre-computed aggregations over the entire IOC corpus. Backed by the iocs_stats_cache table (refreshed every 10 minutes via pg_cron) — sub-millisecond response time.
What you get
- Total IOC count and total article count
- Breakdown by IOC type (ipv4, domain, hash, etc.)
- Breakdown by source feed
- Breakdown by category (news, research, threat-intel, vendor, government)
- Last 24h and last 7d trend
- Feed health (healthy / degraded / error)
- Top MITRE ATT&CK techniques
- Top CVEs
Use cases
- Dashboard tiles: “23,541 indicators ingested in the last 24h”
- Trend charts: 7-day rolling counts for sparklines
- Coverage analysis: which sources contribute most volume
- Health monitoring: detect when a feed stops producing IOCs
Cache headers
Response includes:
X-Cache-Updated-At: when the cache was last refreshedX-Cache-Age-Seconds: how stale the data is (max ~600s)X-Cache-Stale: trueif pg_cron missed its window
GET
Fetch stats