βœ“
// ToolWar Public API v1

Developer Hub, Playground & Tutorials

Query vetted cybersecurity utilities, filter tools across all 14 MITRE ATT&CK Enterprise tactics, compare technical specs side-by-side, and pull verified CLI install commands into SOC playbooks and CI/CD pipelines.

Base Endpoint
https://toolwar.com/api/v1
Protocol
Read-Only GET
Specification
OpenAPI 3.1
Authorized Security Research & Defensive Notice This technical guide is strictly intended for authorized security testing, QA debugging, and defensive engineering on systems, devices, and applications you own or have explicit, written authorization to audit. ToolWar strictly prohibits the use of these techniques or utilities for unauthorized access or destructive activities.
// Live Request Console

Interactive API Playground

Test endpoints and inspect JSON payloads live
GET
Live Response
// Step-by-Step Recipes

How to Use the ToolWar API

Ready-to-adapt workflows across Bash, Python, CI/CD pipelines, and AI coding assistants.

Terminal Reconnaissance Filtering with cURL & jq

Filter tools by MITRE tactic, license model, and CLI availability directly from your shell.

# 1. Fetch open-source Linux CLI tools mapped to Reconnaissance (TA0043)
curl -fsSL "https://toolwar.com/api/v1/tools?mitre=TA0043&pricing=open_source&api_eligible=1&per_page=10" \
  | jq -r '.data[] | "\(.name) (\(.slug)) -> \(.api_capabilities.endpoints.install)"'

# 2. Pull a random CLI tool dossier for terminal MOTD or team alerts
curl -fsSL "https://toolwar.com/api/v1/tools/random?api_eligible=1" | jq '.data | {name, tagline, canonical_url}'

Inspect-First CLI Installation Workflow

Review command recipes safely via JSON or saved files instead of piping remote scripts directly into a shell.

# Always inspect install commands in JSON or a local file before executing
curl -fsSL "https://toolwar.com/api/v1/tools/nuclei/install?format=json" | jq .

# Download plaintext script to inspect manually first:
curl -fsSL "https://toolwar.com/api/v1/tools/nuclei/install" -o install_nuclei.sh
cat install_nuclei.sh

SOC & Threat Engineering Enrichment in Python

Correlate MITRE ATT&CK defensive and audit tooling programmatically.

import requests

HEADERS = {
    "Accept": "application/json",
    "User-Agent": "MySOC-Playbook/1.0",
}

# Query Credential Access tools (TA0006) eligible for CLI workflows
resp = requests.get(
    "https://toolwar.com/api/v1/mitre/TA0006",
    params={"api_eligible": 1},
    headers=HEADERS,
    timeout=10,
)
resp.raise_for_status()

for tool in resp.json().get("data", []):
    print(f"{tool['name']} | {tool['pricing_model']} | {tool['canonical_url']}")

GitHub Actions & Ephemeral Lab Provisioning

Consume curated sequential collections in CI/CD pipelines.

# .github/workflows/security-toolkit.yml
name: Fetch Curated DevSecOps Tools
on: [workflow_dispatch]
jobs:
  inventory:
    runs-on: ubuntu-latest
    steps:
      - name: Pull Collection Metadata
        run: |
          curl -fsSL "https://toolwar.com/api/v1/collections/the-ai-security-toolkit" \
            | jq -r '.data[] | select(.api_capabilities.terminal_install == true) | "# Step \(.step): \(.name)\n" + .api_capabilities.endpoints.json'

AI Coding Assistants & OpenAPI 3.1 Discovery

Connect LLM workflows to ToolWar OpenAPI and llms.txt.

# Ground Claude Code, Cursor, or custom LLM tools against ToolWar specs:
curl -fsSL https://toolwar.com/llms.txt

# Full OpenAPI 3.1.0 schema:
curl -fsSL https://toolwar.com/api/v1/openapi.json | jq '.paths | keys'

# Side-by-side comparison payload:
curl -fsSL https://toolwar.com/api/v1/compare/ghidra-vs-radare2 | jq '.data | {a: .tool_a.github, b: .tool_b.github}'

API Endpoint Reference

GET /api/v1/tools
Search & filter catalog (?q=, ?api_eligible=1, ?mitre=)
GET /api/v1/tools/{slug}
Full tool dossier metadata
GET /api/v1/tools/{slug}/install
CLI recipe for supported terminal packages
GET /api/v1/tools/random
Random active utility dossier
GET /api/v1/categories
Taxonomy categories list
GET /api/v1/mitre/{tactic}
Tools mapped to TA0001..TA0043
GET /api/v1/collections/{slug}
Curated sequential workflow steps
GET /api/v1/compare/{a}-vs-{b}
Side-by-side comparison JSON
GET /api/v1/stats
High-level directory summary
GET /api/v1/openapi.json
OpenAPI 3.1 schema

Usage & Scope Policy

Public API v1 endpoints provide read-only catalog intelligence for authorized security engineering, research, and DevSecOps automation. Only CLI and container-compatible utilities expose terminal install recipes via /install; desktop GUI, SaaS, mobile, and hardware listings provide metadata only.

Standard fair-use rate limits apply across all endpoints. For questions or listing updates, contact us via the Contact Desk.