Skip to content

Overview

Quick Reference

If you just need a quick reference to get you started here are a couple of examples (you'll find your API key in the portal).

Info

Replace YOUR-API-KEY with your actual API key in order for these commands to work. You'll find your API key in the portal.


List indicators

Returns the current list of AiTM indicators observed in the last 7 days.

curl -s \
  -H "Authorization: Bearer YOUR-API-KEY" \
  "https://aitm.lab539.io/v1.0/list" \
  | jq
Invoke-RestMethod `
-Uri "https://aitm.lab539.io/v1.0/list" `
-Method Get `
-Headers @{Authorization = 'YOUR-API-KEY'}

Search by IP

Search for a specific IP address in the feed.

curl -s \
  -H "Authorization: Bearer YOUR-API-KEY" \
  "https://aitm.lab539.io/v1.0/search/ip/192.241.159.200" \
  | jq
Invoke-RestMethod `
-Uri "https://aitm.lab539.io/v1.0/search/ip/192.241.159.200" `
-Method Get `
-Headers @{Authorization = 'YOUR-API-KEY'}

Search by hostname

Search for indicators matching a hostname pattern.

curl -s \
  -H "Authorization: Bearer YOUR-API-KEY" \
  "https://aitm.lab539.io/v1.0/search/hostname/onlineoffice" \
  | jq
Invoke-RestMethod `
-Uri "https://aitm.lab539.io/v1.0/search/hostname/onlineoffice" `
-Method Get `
-Headers @{Authorization = 'YOUR-API-KEY'}

Tip

The Mac/Linux examples use | jq to pretty-print the JSON response. If you don't have jq installed, you can remove that part of the command.

Note

For full API functionality view our Swagger documentation