{"openapi":"3.1.0","info":{"title":"ThreatFox (BYOK) API","version":"0.1.0","description":"ThreatFox (BYOK) lets an AI assistant read your own ThreatFox data through the ThreatFox API with a key you supply (abuse.ch Auth-Key). Read-only: 10 tools (get_recent_iocs, get_ioc, search_ioc, search_by_hash, get_iocs_by_tag, get_iocs_by_malware, identify_malware_label, list_malware_families, list_ioc_types, list_tags). The BYOK key travels with each request, is used for that one call only and...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-threatfox.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-threatfox/docs"},"termsOfService":"https://connectorbay.com/byok-threatfox/terms"},"servers":[{"url":"https://byok-threatfox.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-threatfox/docs"},"security":[{"upstreamKey":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."},"upstreamKey":{"type":"apiKey","in":"header","name":"X-Upstream-Key","description":"Your own key for the service this connector wraps (bring your own key). Used for that one call only; never stored, logged or cached."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/get_recent_iocs":{"post":{"operationId":"get_recent_iocs","summary":"List ThreatFox IOCs first seen in the last 1 to 7 days with type, threat type, malware family, confidence and tags. Use ","description":"List ThreatFox IOCs first seen in the last 1 to 7 days with type, threat type, malware family, confidence and tags. Use for \"What new malware IOCs did ThreatFox record in the last day\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"days":{"anyOf":[{"maximum":7,"minimum":1,"type":"integer"},{"type":"null"}],"default":3,"description":"How many days back to look (1 to 7), based on first seen.","title":"Days"}},"title":"get_recent_iocsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_ioc":{"post":{"operationId":"get_ioc","summary":"Get one ThreatFox IOC by its numeric id with comment, credits and linked malware samples. Use for \"Show ThreatFox IOC nu","description":"Get one ThreatFox IOC by its numeric id with comment, credits and linked malware samples. Use for \"Show ThreatFox IOC number 41\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"id":{"description":"ThreatFox IOC id.","maximum":2000000000,"minimum":1,"title":"Id","type":"integer"}},"required":["id"],"title":"get_iocArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_ioc":{"post":{"operationId":"search_ioc","summary":"Search ThreatFox for an IOC such as an IP address, IP and port, domain or URL. Wildcard search by default, exact match w","description":"Search ThreatFox for an IOC such as an IP address, IP and port, domain or URL. Wildcard search by default, exact match when asked. Use for \"Does ThreatFox know the IP address 139.180.203.104\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"search_term":{"description":"The IOC to search for, for example 139.180.203.104 or example.com.","maxLength":500,"title":"Search Term","type":"string"},"exact_match":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"description":"True to match the IOC exactly instead of a wildcard search.","title":"Exact Match"}},"required":["search_term"],"title":"search_iocArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/search_by_hash":{"post":{"operationId":"search_by_hash","summary":"Find ThreatFox IOCs linked to a malware file hash (MD5 or SHA256). Use for \"Which ThreatFox IOCs are tied to file hash 2","description":"Find ThreatFox IOCs linked to a malware file hash (MD5 or SHA256). Use for \"Which ThreatFox IOCs are tied to file hash 2151c4b970eff0071948dbbc19066aa4\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"hash":{"description":"MD5 or SHA256 file hash.","maxLength":64,"title":"Hash","type":"string"}},"required":["hash"],"title":"search_by_hashArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_iocs_by_tag":{"post":{"operationId":"get_iocs_by_tag","summary":"List ThreatFox IOCs that carry a tag such as Magecart. Use for \"Which ThreatFox IOCs are tagged Magecart\".","description":"List ThreatFox IOCs that carry a tag such as Magecart. Use for \"Which ThreatFox IOCs are tagged Magecart\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tag":{"description":"Tag to look up, for example Magecart.","maxLength":100,"title":"Tag","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many IOCs to return (1 to 1000).","title":"Limit"}},"required":["tag"],"title":"get_iocs_by_tagArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_iocs_by_malware":{"post":{"operationId":"get_iocs_by_malware","summary":"List ThreatFox IOCs for a malware family. Use the family name from identify_malware_label or list_malware_families. Use ","description":"List ThreatFox IOCs for a malware family. Use the family name from identify_malware_label or list_malware_families. Use for \"Show recent ThreatFox IOCs for Cobalt Strike\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"malware":{"description":"Malware family name, for example 'Cobalt Strike'.","maxLength":100,"title":"Malware","type":"string"},"limit":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"default":100,"description":"How many IOCs to return (1 to 1000).","title":"Limit"}},"required":["malware"],"title":"get_iocs_by_malwareArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/identify_malware_label":{"post":{"operationId":"identify_malware_label","summary":"Find the ThreatFox malware label (Malpedia name) and aliases for a family name you know, optionally limited to a platfor","description":"Find the ThreatFox malware label (Malpedia name) and aliases for a family name you know, optionally limited to a platform. Use for \"What is the ThreatFox malware label for warzone\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"malware":{"description":"Malware name or alias to look for, for example warzone.","maxLength":100,"title":"Malware","type":"string"},"platform":{"anyOf":[{"enum":["win","osx","apk","jar","elf"],"type":"string"},{"type":"null"}],"default":null,"description":"Platform: win, osx, apk, jar or elf.","title":"Platform"}},"required":["malware"],"title":"identify_malware_labelArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_malware_families":{"post":{"operationId":"list_malware_families","summary":"List the malware families ThreatFox supports (from Malpedia) with printable name and aliases. The list is long and may b","description":"List the malware families ThreatFox supports (from Malpedia) with printable name and aliases. The list is long and may be cut. Use for \"Which malware families does ThreatFox track\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_malware_familiesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_ioc_types":{"post":{"operationId":"list_ioc_types","summary":"List the IOC types and threat types ThreatFox supports with a description of each. Use for \"What IOC and threat types do","description":"List the IOC types and threat types ThreatFox supports with a description of each. Use for \"What IOC and threat types does ThreatFox use\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_ioc_typesArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/list_tags":{"post":{"operationId":"list_tags","summary":"List the tags known to ThreatFox with first and last seen dates. The list is long and may be cut. Use for \"Which tags do","description":"List the tags known to ThreatFox with first and last seen dates. The list is long and may be cut. Use for \"Which tags does ThreatFox know\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"list_tagsArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}