API Reference

List Top Techniques

Return the most-referenced MITRE ATT&CK techniques across intelligence reporting, ranked by mention count.

GET
/v1/mitre/techniques/top

Cost: 1 credit per successful call

Query parameters

limitintegeroptionaldefault: 10

Number of techniques to return. Accepted range: 1–50.

Request

curl "https://api.precursorintelligence.com/functions/v1/mitre/techniques/top?limit=10" \
  -H "Authorization: Bearer $PRECURSOR_API_KEY"

Response

200 OK
{
  "data": {
    "count": 10,
    "items": [
      { "technique_id": "T1059.001", "name": "PowerShell", "mention_count": 312 },
      { "technique_id": "T1566.001", "name": "Spearphishing Attachment", "mention_count": 287 },
      { "technique_id": "T1078", "name": "Valid Accounts", "mention_count": 241 }
    ],
    "generated_at": "2026-05-18T10:24:31.118Z"
  },
  "meta": {
    "request_id": "8b16efb8-9a6c-4ace-b817-11cbee626d08",
    "generated_at": "2026-05-18T10:24:31.118Z",
    "credits": { "charged": 1, "remaining": 9998 }
  }
}

Response fields

data.countintegeroptional

Number of techniques returned (equals items.length).

data.itemsarrayoptional

Techniques ranked by mention count, highest first. Each object contains the fields below.

data.items[].technique_idstringoptional

The canonical ATT&CK technique identifier (e.g. T1059.001).

data.items[].namestringoptional

Human-readable technique name.

data.items[].mention_countintegeroptional

Number of times this technique was referenced across intelligence reporting.

data.generated_atstringoptional

ISO 8601 timestamp indicating when this response was generated.

Errors

StatuserrorWhen
400invalid_limitlimit is not an integer in the range 1–50.
401invalid_authorizationThe Authorization header is missing or malformed.
401unauthorizedThe key is invalid, revoked, or the request IP is not on the allowlist.
402insufficient_creditsThe organisation's credit balance is below 1.
404not_foundThe route does not exist.
405method_not_allowedOnly GET and OPTIONS are accepted.
500internalAn unexpected server error occurred.

See Errors for the full error reference.