CYBERSTATS DOCS

API Documentation

Everything you need to use your CyberSecStats Pro key: JSON, RSS, Slack setup, and code samples.

On this page

60-second setup

The fastest way to use Cyberstats Pro is to paste your RSS URL into Slack. You'll see new stats in your channel every morning.

  1. In any Slack channel, type /feed subscribe
  2. Paste the RSS URL below (replace YOUR_KEY with your API key)
  3. You're done. New stats arrive daily.
https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&digest=daily&newsletter=true
Prefer the dashboard? Open cybersecuritystatistic.com/dashboard.html and paste your key. You can search, copy stats, and export CSVs from there.

Two ways to authenticate

Every request needs your API key. Use either a query parameter (simpler) or a Bearer token (more secure).

Option 1: Query parameter

curl "https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&limit=10"

Option 2: Authorization header (recommended)

curl -H "Authorization: Bearer YOUR_KEY" \ "https://cybersecuritystatistic.com/api/v1/stats?limit=10"
Keep your key private Your API key is tied to your Pro subscription. Don't commit it to public repos or share it in support tickets. We'll rotate it if exposed.

The API endpoint

GET https://cybersecuritystatistic.com/api/v1/stats

Query parameters

Parameter Type Description
key string Your API key (required if not using Authorization header).
q string Search query. Supports boolean operators: ransomware AND healthcare, phishing NOT email.
format string json (default) or rss.
limit integer Results per page. Default 10, max 100 for queries, max 10,000 for bulk export.
offset integer Pagination offset. Default 0.
publisher string Filter by publisher name. Case-insensitive partial match (e.g. Verizon, IBM).
tags string Comma-separated tags (e.g. Ransomware,Healthcare).
days integer Only stats added in the last N days (1-365).
sort string date (default) or relevance (requires q).
order string desc (default) or asc.
digest string RSS-only: daily (90-day window, publisher diversity) or monthly.
count boolean Set to 1 to include total_count in response.

JSON response structure

A successful JSON request returns an object with an items array and pagination metadata.

{ "items": [ { "title": "88% of internal audit leaders identify AI-powered phishing as a top risk.", "slug": "88-of-internal-audit-leaders-identify-ai-powered-phishing", "link": "https://www.theiia.org/en/content/research/...", "publisher": "The Internal Audit Foundation and AuditBoard", "source_name": "Internal Audit and AI-Enabled Fraud", "published_on": "2026-02-17", "created_at": "2026-02-22T22:55:00.149305", "tags": ["AI-Powered Phishing", "Internal Audit", "Cybersecurity Risk"] } ], "limit": 10, "offset": 0, "total_count": 419, "next_offset": 10 }

Error responses

StatusWhen it happens
401Missing or invalid API key.
429Rate limit exceeded (see below).
500Server error. Retry with exponential backoff.

RSS modes for every workflow

Add format=rss to any request. Three modes for different use cases:

Standard RSS

One item per stat. Good for feed readers like Feedly or Inoreader.

https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&limit=50

Daily digest (recommended for Slack)

Grouped digest with unique daily GUIDs so Slack shows fresh content every morning. Uses publisher diversity to avoid one report dominating.

https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&digest=daily&newsletter=true

Topic-filtered RSS

Only stats matching a query. Great for tracking one area (e.g. ransomware).

https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&q=ransomware

Publisher-filtered RSS

Only stats from a specific publisher.

https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&publisher=Verizon

Get stats in Slack in 30 seconds

The Slack RSS app pulls your feed automatically. No bot setup needed.

  1. In the Slack channel where you want stats, type /feed subscribe
  2. Paste the daily digest URL (replace YOUR_KEY with your key)
  3. Hit enter. You'll see a confirmation. Stats arrive next morning and every morning after.
https://cybersecuritystatistic.com/api/v1/stats?key=YOUR_KEY&format=rss&digest=daily&newsletter=true
Using Microsoft Teams instead? Use the "RSS" connector, same URL works. Settings → Connectors → Configure RSS → paste URL.

Language-specific snippets

Bash / curl

curl -H "Authorization: Bearer YOUR_KEY" \ "https://cybersecuritystatistic.com/api/v1/stats?q=ransomware&limit=20"

JavaScript (fetch)

const res = await fetch( 'https://cybersecuritystatistic.com/api/v1/stats?q=phishing&limit=20', { headers: { Authorization: 'Bearer YOUR_KEY' } } ); const data = await res.json(); console.log(data.items);

Python (requests)

import requests r = requests.get( 'https://cybersecuritystatistic.com/api/v1/stats', params={'q': 'ransomware', 'limit': 20}, headers={'Authorization': 'Bearer YOUR_KEY'} ) for stat in r.json()['items']: print(stat['title'])

Node.js (axios)

import axios from 'axios'; const { data } = await axios.get( 'https://cybersecuritystatistic.com/api/v1/stats', { params: { q: 'data breach', limit: 20 }, headers: { Authorization: 'Bearer YOUR_KEY' } } );

Go

req, _ := http.NewRequest("GET", "https://cybersecuritystatistic.com/api/v1/stats?q=ransomware", nil) req.Header.Set("Authorization", "Bearer YOUR_KEY") resp, _ := http.DefaultClient.Do(req) defer resp.Body.Close()

Fair use limits

Window Pro limit Notes
Per hour 100 requests Per API key
Per day 1,000 requests Per API key
Per IP / hour 200 requests Prevents abuse
Max limit per request 10,000 items For bulk export
Need more? Reply to your welcome email. We'll bump your limits for free for legitimate use cases.

Need help?

Reply to your welcome email or reach out to contact@cybersecstats.com. We answer within one business day.

Common questions

My key stopped working. Most often this means your subscription lapsed. Check your account to renew, then reply to your welcome email and we'll re-issue the key.

How often is new data added? 50-100 new stats per week across 200+ publishers. The RSS daily digest surfaces new additions automatically.

Can I share my key with my team? Each Pro seat is for one person. For teams, email us and we'll set up a team plan.

Not Pro yet?

Unlock full API access, RSS feeds, and the dashboard for $5/month.

Get Pro Access →