Skip to main content

API Documentation

Reference documentation for the blackhat.ie threat intelligence API.

Authentication

Most endpoints require authentication via request headers.

Standard authentication header:

X-Internal-Token: <your-token>

Admin endpoints additionally require:

X-Admin-Token: <your-admin-token>

Public endpoints (no authentication required):

/health/rss.xml/audio/feed.xml/audio/:date/stream/stix/bundle

Endpoints

Intelligence

GET/api/v1/posts

Query intelligence posts with filtering and pagination.

ParameterDescription
source_idFilter by source ID
categoryFilter by category
threat_levelFilter by threat level
searchFull-text search query
from_dateStart date filter (ISO 8601)
to_dateEnd date filter (ISO 8601)
limitResults per page (max 100)
offsetPagination offset
GET/api/v1/posts/latest

Get the most recent intelligence posts.

ParameterDescription
hoursLookback window in hours (max 168)
limitNumber of results
GET/api/v1/posts/:id

Get a single intelligence post by ID.

GET/api/v1/articles

Query synthesised intelligence articles.

ParameterDescription
threat_levelFilter by threat level
featuredFilter featured articles only
limitResults per page
offsetPagination offset
GET/api/v1/articles/latest

Get the most recent articles.

ParameterDescription
hoursLookback window in hours
limitNumber of results
GET/api/v1/articles/:slug

Get a single article by its URL slug.

Threat Actors

GET/api/v1/actors

List all tracked threat actors with associated post counts.

GET/api/v1/actors/:name

Get threat actor detail with linked intelligence posts.

Sectors

GET/api/v1/sectors

List all sectors with associated post counts.

GET/api/v1/sectors/:slug

Get sector detail with posts and statistics.

MITRE ATT&CK

GET/api/v1/mitre/heatmap

Get technique and tactic frequency data for heatmap visualisation.

ParameterDescription
daysLookback window in days (max 90)
GET/api/v1/mitre/techniques/:id

Get intelligence posts tagged with a specific MITRE technique.

Compliance

GET/api/v1/compliance/overview

Get compliance tag frequencies across intelligence.

ParameterDescription
daysLookback window in days
GET/api/v1/compliance/:framework

Get posts tagged with a specific compliance framework (NIS2, DORA, GDPR).

OSINT

GET/api/v1/osint

List indicators of compromise.

ParameterDescription
typeFilter by indicator type (ip, domain, hash, cve, url, email)
limitNumber of results
GET/api/v1/osint/search

Search indicators of compromise.

ParameterDescription
qSearch query (minimum 2 characters)
GET/api/v1/osint/stats

Get IOC counts grouped by indicator type.

Audio Briefings

GET/api/v1/audio

List available audio briefings.

GET/api/v1/audio/latest

Get metadata for the latest audio briefing.

GET/api/v1/audio/:date/streamPublic

Stream the MP3 audio briefing for a given date.

Feeds

GET/api/v1/rss.xmlPublic

RSS 2.0 feed of intelligence reports.

GET/api/v1/audio/feed.xmlPublic

Podcast RSS feed for audio briefings.

Export

GET/api/v1/stix/bundlePublic

Export intelligence as a STIX 2.1 bundle.

ParameterDescription
daysLookback window in days (max 90)

Stats

GET/api/v1/stats

Get platform-wide statistics.

GET/api/v1/healthPublic

Health check endpoint.

Rate Limits

Endpoint TypeLimitExceeded Response
Read endpoints120 requests/minuteHTTP 429
Admin endpoints10 requests/minuteHTTP 429

Response Format

All responses are JSON. Errors return a standard error object:

{"detail": "error message"}