# MISP API reference

> MISP is a threat-intelligence sharing platform you host yourself. Its Automation API lets you search the events and attributes (IPs, domains, URLs, hashes, email addresses) stored on your instance, for example to check whether an indicator has been seen before. There is no central server: the base…

Source: https://osinttools.io/apis/misp/ (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/misp/

- Base URL: https://misp.example.org
- Authentication: API key in the `Authorization` header. Get a key: https://www.misp-project.org/documentation/ The key is under Automation in your MISP instance.
- Rate limits: Not stated in the docs
- Vendor docs: https://www.misp-project.org/openapi/
- OpenAPI spec: https://raw.githubusercontent.com/MISP/MISP/develop/app/webroot/doc/openapi.yaml

## Overview

MISP is a threat-intelligence sharing platform you host yourself. Its Automation API lets you search the events and attributes (IPs, domains, URLs, hashes, email addresses) stored on your instance, for example to check whether an indicator has been seen before.

There is no central server: the base URL is your own instance. The docs' placeholder is `https://misp.local`; replace it with your host. Requests send the key as `Authorization: YOUR_API_KEY`, with `Accept` and `Content-Type` set to `application/json`. The key grants access to the whole database, so keep it secret.

The spec describes many more endpoints (tags, galaxies, collections, analyst data, write operations); only two read endpoints are described here.

## Errors

| Status | Meaning |
| --- | --- |
| 403 | Unauthorized |

## Search

### Get a filtered, paginated list of attributes.

`POST /attributes/restSearch`

- Takes: IP address, Domain, URL, File, Email
- Footprint: passive (the target is not contacted)

The recommended attribute search. The request body filters by value, type, category, tags, dates and more; returnFormat selects the output format.

Response fields:

- `response.Attribute[].id` (string): Attribute ID
- `response.Attribute[].event_id` (string): ID of the event it belongs to
- `response.Attribute[].category` (string): Attribute category
- `response.Attribute[].type` (string): Attribute type
- `response.Attribute[].value` (string): Attribute value
- `response.Attribute[].to_ids` (boolean): Whether it is meant for detection
- `response.Attribute[].uuid` (string): Attribute UUID
- `response.Attribute[].comment` (string): Analyst comment

```bash
curl -X POST 'https://misp.example.org/attributes/restSearch' \
  -H 'Authorization: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"returnFormat":"json","value":"198.51.100.7","type":"ip-dst","limit":10}'
```

Example response (200):

```json
{
  "response": {
    "Attribute": [
      {
        "id": "1001",
        "event_id": "42",
        "category": "Network activity",
        "type": "ip-dst",
        "value": "198.51.100.7",
        "to_ids": true,
        "uuid": "00000000-0000-4000-8000-000000000001",
        "comment": "Example comment"
      }
    ]
  }
}
```

## Events

### Get an event, with its attributes, by ID.

`GET /events/view/{eventId}`

- Footprint: passive (the target is not contacted)

Returns the event wrapped in an Event object, with organisation, attributes, objects, tags and related events.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `eventId` | path | string | yes | Event ID Example: 42 |

Response fields:

- `Event.id` (string): Event ID
- `Event.info` (string): Event description
- `Event.uuid` (string): Event UUID
- `Event.date` (string): Event date, YYYY-MM-DD
- `Event.published` (boolean): Whether the event is published
- `Event.analysis` (string): 0 initial, 1 ongoing, 2 complete
- `Event.threat_level_id` (string): 1 high to 4 undefined
- `Event.attribute_count` (string): Number of attributes
- `Event.Attribute[]` (object): Attributes of the event

```bash
curl 'https://misp.example.org/events/view/42' \
  -H 'Authorization: YOUR_API_KEY'
```

Example response (200):

```json
{
  "Event": {
    "id": "42",
    "info": "Example event",
    "uuid": "00000000-0000-4000-8000-000000000042",
    "date": "2026-01-01",
    "published": true,
    "analysis": "2",
    "threat_level_id": "3",
    "attribute_count": "1",
    "Attribute": [
      {
        "id": "1001",
        "type": "ip-dst",
        "value": "198.51.100.7"
      }
    ]
  }
}
```

---

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/
