- Takes: IP address
- Takes: Domain
- Takes: URL
- Takes: File
- Passive: the target is not contacted
Every call is POST to the same URL. query=search_ioc (search_term, exact_match; wildcard unless exact_match is true), search_hash (hash: MD5 or SHA256), get_iocs (days 1-7, default 3), ioc (id) or malwareinfo (malware: exact Malpedia name; limit default 100, max 1000). Responses have query_status ok and a data list.
Request body (JSON) · 8ShowHide
query
search_ioc, search_hash, get_iocs, ioc or malwareinfo
search_term
search_ioc: IP, domain, URL or hash to search
exact_match
search_ioc: default false (wildcard search)
hash
search_hash: MD5 or SHA256
days
get_iocs: 1-7, default 3
id
ioc: IOC ID
malware
malwareinfo: Malpedia family name
limit
malwareinfo: default 100, max 1000
Response fields · 11ShowHide
query_status
ok on success
id
IOC ID
ioc
The indicator
ioc_type
Indicator type, such as domain
threat_type
Threat type, such as botnet_cc
malware
Malpedia malware name
confidence_level
Confidence 0-100
first_seen
When first seen (UTC)
last_seen
When last seen, or null
reporter
Reporter
tags[]
Tags
curl -X POST 'https://threatfox-api.abuse.ch/api/v1/' \
-H 'Auth-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"query":"search_ioc","search_term":"example.com","exact_match":true}'{
"query_status": "ok",
"data": [
{
"id": "1001",
"ioc": "example.com",
"threat_type": "botnet_cc",
"ioc_type": "domain",
"malware": "win.example_family",
"confidence_level": 50,
"first_seen": "2026-11-01 12:00:00 UTC",
"last_seen": null,
"reporter": "example_reporter",
"tags": [
"exe"
]
}
]
}