# MITRE ATT&CK API reference

> MITRE ATT&CK publishes its knowledge base of adversary tactics and techniques as STIX 2.1 data through a public TAXII 2.1 server at https://attack-taxii.mitre.org. Analysts use it to pull technique, group and software objects into threat-intelligence tools. The docs show no authentication for this…

Source: https://osinttools.io/apis/mitre-attack/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/mitre-attack/

- Base URL: https://attack-taxii.mitre.org
- Authentication: No key needed.
- Rate limits: 50 requests per 10 minutes per source IP
- Vendor docs: https://github.com/mitre-attack/attack-workbench-taxii-server/blob/main/docs/USAGE.md

## Overview

MITRE ATT&CK publishes its knowledge base of adversary tactics and techniques as STIX 2.1 data through a public TAXII 2.1 server at `https://attack-taxii.mitre.org`. Analysts use it to pull technique, group and software objects into threat-intelligence tools.

The docs show no authentication for this server. Every request needs the header `Accept: application/taxii+json;version=2.1`. The default API root is `/api/v21/` (the latest ATT&CK release); a release can be pinned with `/api/v21/attack-<x.y>`.

The server is rate limited to 50 requests per 10 minutes per source IP. Filters are `added_after`, `match[id]`, `match[spec_version]`, `match[type]` and `match[version]`. The STIX data is also published on GitHub.

## TAXII

### TAXII discovery: the default API root and the list of API roots.

`GET /taxii2/`

- Footprint: passive (the target is not contacted)

Lists the default API root and every pinned release root.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Accept` | header | string | yes | Must be application/taxii+json;version=2.1 Example: application/taxii+json;version=2.1 |

Response fields:

- `title` (string): Name of the server
- `description` (string): What the root serves
- `default` (string): The default API root
- `api_roots[]` (string): API roots, one per ATT&CK release

```bash
curl 'https://attack-taxii.mitre.org/taxii2/' \
  -H 'Accept: application/taxii+json;version=2.1'
```

Example response (200):

```json
{
  "title": "MITRE ATT&CK TAXII 2.1",
  "description": "This API Root contains TAXII 2.1 REST API endpoints that serve MITRE ATT&CK STIX 2.1 data",
  "default": "/api/v21",
  "api_roots": [
    "/api/v21",
    "/api/v21/attack-19.1"
  ]
}
```

### List the ATT&CK collections (Enterprise, ICS, Mobile).

`GET /api/v21/collections/`

- Footprint: passive (the target is not contacted)

Returns the collections of the default API root. The Enterprise, ICS and Mobile collection IDs are listed in the docs.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `Accept` | header | string | yes | Must be application/taxii+json;version=2.1 Example: application/taxii+json;version=2.1 |

Response fields:

- `collections[].id` (string): Collection ID
- `collections[].title` (string): Collection name
- `collections[].description` (string): Collection description
- `collections[].canRead` (boolean): Whether the collection can be read
- `collections[].canWrite` (boolean): Whether the collection can be written
- `collections[].mediaTypes[]` (string): Media types served

```bash
curl 'https://attack-taxii.mitre.org/api/v21/collections/' \
  -H 'Accept: application/taxii+json;version=2.1'
```

Example response (200):

```json
{
  "collections": [
    {
      "id": "x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019",
      "title": "Enterprise ATT&CK",
      "description": "ATT&CK for Enterprise provides a knowledge base of real-world adversary behavior",
      "canRead": true,
      "canWrite": false,
      "mediaTypes": [
        "application/taxii+json;version=2.1",
        "application/taxii+json"
      ]
    }
  ]
}
```

### Get the STIX objects of a collection, with optional filters.

`GET /api/v21/collections/{collection_id}/objects/`

- Footprint: passive (the target is not contacted)

Returns STIX 2.1 objects. Use match[type] to ask for one object type and added_after to get only newer objects.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `collection_id` | path | string | yes | Collection ID, for example the Enterprise ATT&CK collection Example: x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019 |
| `Accept` | header | string | yes | Must be application/taxii+json;version=2.1 Example: application/taxii+json;version=2.1 |
| `added_after` | query | string | no | Only objects added after this time Example: 2024-01-01T00:00:00.000Z |
| `match[type]` | query | string | no | Filter by STIX object type Example: attack-pattern |
| `match[id]` | query | string | no | Filter by STIX object ID Example: attack-pattern--00000000-0000-4000-8000-000000000000 |

Response fields:

- `more` (boolean): Whether more objects are available
- `objects[]` (object): STIX 2.1 objects

```bash
curl 'https://attack-taxii.mitre.org/api/v21/collections/x-mitre-collection--1f5f1533-f617-4ca8-9ab4-6a02367fa019/objects/' \
  -H 'Accept: application/taxii+json;version=2.1'
```

Example response (200):

```json
{
  "more": false,
  "objects": [
    {
      "type": "attack-pattern",
      "spec_version": "2.1",
      "id": "attack-pattern--00000000-0000-4000-8000-000000000000",
      "name": "Example technique"
    }
  ]
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
