Skip to content
OSINTtools.io

MISP API

Open-source threat intelligence platform for storing, correlating and sharing indicators between organisations.

Base URL
https://misp.example.org
Sign-in
API key
Format
REST
Endpoints
2

Compiled by OSINTtools.io editors from misp-project.org · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with MISP and copy your api key. Where to get it

  2. Make your first request

    Get an event, with its attributes, by ID.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://misp.example.org/events/view/42' \
      -H 'Authorization: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "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"
          }
        ]
      }
    }

Authentication

Send your API key in the Authorization header of every request.

The key is under Automation in your MISP instance.

Get a key from MISP

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Errors

StatusMeaning
403Unauthorized

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

Request body (JSON) · 9Show

valuestring

Attribute value to match

typestring

Attribute type, such as ip-src, md5 or url

categorystring

Attribute category

tagsstring[]

Tags to match, such as tlp:amber

fromstring

Start date filter

tostring

End date filter

pageinteger

Page number

limitinteger

Results per page

returnFormatstring

Response format, such as json, xml, csv, stix2

Response fields · 8Show

idstring

Attribute ID

event_idstring

ID of the event it belongs to

categorystring

Attribute category

typestring

Attribute type

valuestring

Attribute value

to_idsboolean

Whether it is meant for detection

uuidstring

Attribute UUID

commentstring

Analyst comment

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}'
Replace YOUR_API_KEY with your key
Response
{
  "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

  • Passive: the target is not contacted

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

Path parameters

eventIdstringrequired

Event ID

Example: 42
Response fields · 9Show

idstring

Event ID

infostring

Event description

uuidstring

Event UUID

datestring

Event date, YYYY-MM-DD

publishedboolean

Whether the event is published

analysisstring

0 initial, 1 ongoing, 2 complete

threat_level_idstring

1 high to 4 undefined

attribute_countstring

Number of attributes

Attribute[]object

Attributes of the event

curl 'https://misp.example.org/events/view/42' \
  -H 'Authorization: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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"
      }
    ]
  }
}