{"openapi":"3.1.0","info":{"title":"Open Threat Exchange (BYOK) API","version":"0.1.0","description":"Open Threat Exchange (BYOK) lets an AI assistant read your own Open Threat Exchange data through the Open Threat Exchange API with a key you supply (OTX API key). Read-only: 10 tools (get_my_account, get_ip_indicator, get_domain_indicator, get_hostname_indicator, get_file_indicator, get_cve_indicator, search_pulses, list_subscribed_pulses, get_pulse, get_pulse_indicators). The BYOK key travels...\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://byok-otx.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"agent@connectorbay.com","url":"https://connectorbay.com/byok-otx/docs"},"termsOfService":"https://connectorbay.com/byok-otx/terms"},"servers":[{"url":"https://byok-otx.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/byok-otx/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_my_account":{"post":{"operationId":"get_my_account","summary":"Validate the OTX key and show the account it belongs to: username, pulse count, subscribers, followers and indicator cou","description":"Validate the OTX key and show the account it belongs to: username, pulse count, subscribers, followers and indicator count. Use for \"Is my OTX API key valid and which account is it\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"get_my_accountArguments","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_ip_indicator":{"post":{"operationId":"get_ip_indicator","summary":"Get what OTX knows about an IPv4 address in one section: general info and pulses, reputation, geo, malware samples, URLs","description":"Get what OTX knows about an IPv4 address in one section: general info and pulses, reputation, geo, malware samples, URLs or passive DNS. Use for \"What does OTX know about the IP address 8.8.8.8\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"ip":{"description":"IPv4 address, for example 8.8.8.8.","maxLength":20,"title":"Ip","type":"string"},"section":{"description":"Section: general, reputation, geo, malware, url_list or passive_dns.","enum":["general","reputation","geo","malware","url_list","passive_dns"],"title":"Section","type":"string"}},"required":["ip","section"],"title":"get_ip_indicatorArguments","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_domain_indicator":{"post":{"operationId":"get_domain_indicator","summary":"Get what OTX knows about a domain name in one section: general info and pulses, geo, malware samples, URLs or passive DN","description":"Get what OTX knows about a domain name in one section: general info and pulses, geo, malware samples, URLs or passive DNS. Use for \"Is the domain spywaresite.info known to OTX\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"domain":{"description":"Domain name, for example spywaresite.info.","maxLength":253,"title":"Domain","type":"string"},"section":{"description":"Section: general, geo, malware, url_list or passive_dns.","enum":["general","geo","malware","url_list","passive_dns"],"title":"Section","type":"string"}},"required":["domain","section"],"title":"get_domain_indicatorArguments","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_hostname_indicator":{"post":{"operationId":"get_hostname_indicator","summary":"Get what OTX knows about a hostname in one section: general info and pulses, geo, malware samples, URLs or passive DNS. ","description":"Get what OTX knows about a hostname in one section: general info and pulses, geo, malware samples, URLs or passive DNS. Use for \"What does OTX say about the hostname mail.vspcord.com\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"hostname":{"description":"Hostname, for example mail.vspcord.com.","maxLength":253,"title":"Hostname","type":"string"},"section":{"description":"Section: general, geo, malware, url_list or passive_dns.","enum":["general","geo","malware","url_list","passive_dns"],"title":"Section","type":"string"}},"required":["hostname","section"],"title":"get_hostname_indicatorArguments","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_file_indicator":{"post":{"operationId":"get_file_indicator","summary":"Get what OTX knows about a file hash (MD5, SHA1 or SHA256): general metadata with pulses, or the analysis section. Use f","description":"Get what OTX knows about a file hash (MD5, SHA1 or SHA256): general metadata with pulses, or the analysis section. Use for \"Is the file hash 6c5360d41bd2b14b1565f5b18e5c203cf512e493 known to OTX\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"file_hash":{"description":"File hash, for example 6c5360d41bd2b14b1565f5b18e5c203cf512e493.","maxLength":128,"title":"File Hash","type":"string"},"section":{"description":"Section: general or analysis.","enum":["general","analysis"],"title":"Section","type":"string"}},"required":["file_hash","section"],"title":"get_file_indicatorArguments","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_cve_indicator":{"post":{"operationId":"get_cve_indicator","summary":"Get what OTX holds about a CVE: MITRE data (CPEs, CWEs) and the pulses that mention it. Use for \"What does OTX know abou","description":"Get what OTX holds about a CVE: MITRE data (CPEs, CWEs) and the pulses that mention it. Use for \"What does OTX know about CVE-2014-0160\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"cve":{"description":"CVE id, for example CVE-2014-0160.","maxLength":30,"title":"Cve","type":"string"},"section":{"const":"general","description":"Section: general.","title":"Section","type":"string"}},"required":["cve","section"],"title":"get_cve_indicatorArguments","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_pulses":{"post":{"operationId":"search_pulses","summary":"Search OTX pulses (threat reports with indicators) by keyword, newest or most subscribed first. Use for \"Find OTX pulses","description":"Search OTX pulses (threat reports with indicators) by keyword, newest or most subscribed first. Use for \"Find OTX pulses about Emotet\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"q":{"description":"Search text, for example 'emotet' or a malware family name.","maxLength":200,"title":"Q","type":"string"},"sort":{"anyOf":[{"enum":["modified","created","subscriber_count"],"type":"string"},{"type":"null"}],"default":null,"description":"Order of results: modified, created or subscriber_count.","title":"Sort"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return per page (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["q"],"title":"search_pulsesArguments","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_subscribed_pulses":{"post":{"operationId":"list_subscribed_pulses","summary":"List the pulses you are subscribed to (users, groups and your own), optionally only those modified since a time. Use for","description":"List the pulses you are subscribed to (users, groups and your own), optionally only those modified since a time. Use for \"What are the latest pulses in my OTX subscriptions\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"modified_since":{"anyOf":[{"maxLength":40,"type":"string"},{"type":"null"}],"default":null,"description":"Only pulses modified after this ISO 8601 time, for example 2026-01-01T00:00:00+00:00.","title":"Modified Since"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return per page (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"title":"list_subscribed_pulsesArguments","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_pulse":{"post":{"operationId":"get_pulse","summary":"Get one OTX pulse by id: name, description, author, tags, adversary, targeted countries and its indicators. Use for \"Sho","description":"Get one OTX pulse by id: name, description, author, tags, adversary, targeted countries and its indicators. Use for \"Show OTX pulse 57204e9b3c4c3e015d93cb12\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pulse_id":{"description":"OTX pulse id (a 24-character hex string).","maxLength":40,"title":"Pulse Id","type":"string"}},"required":["pulse_id"],"title":"get_pulseArguments","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_pulse_indicators":{"post":{"operationId":"get_pulse_indicators","summary":"List the indicators of an OTX pulse page by page. Use for \"Which indicators are in OTX pulse 57204e9b3c4c3e015d93cb12\".","description":"List the indicators of an OTX pulse page by page. Use for \"Which indicators are in OTX pulse 57204e9b3c4c3e015d93cb12\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"pulse_id":{"description":"OTX pulse id (a 24-character hex string).","maxLength":40,"title":"Pulse Id","type":"string"},"limit":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"default":10,"description":"How many results to return per page (1 to 100).","title":"Limit"},"page":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":1,"description":"Page number, starting at 1.","title":"Page"}},"required":["pulse_id"],"title":"get_pulse_indicatorsArguments","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}}}}