{"components":{"responses":{"Error":{"content":{"application/json":{"schema":{"properties":{"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"},"status":{"type":"integer"}},"type":"object"}},"type":"object"}}},"description":"Error"}}},"info":{"description":"Offensive AI agents exposed on the Internet. Read-only, no key. Data by ONYPHE (https://www.onyphe.io), published by offensive.agency. Free to use, please credit both.","title":"offensive.agency API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/":{"get":{"operationId":"api_index","parameters":[],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Entry point: version, data day and the list of endpoints.","tags":["Meta"]}},"/agents":{"get":{"operationId":"api_agents","parameters":[{"description":"1 = only the agents tracked online, 0 = only those reviewed but not seen online.","example":"1","in":"query","name":"tracked","schema":{"enum":["1","0"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"The agents: those tracked online with their counters, then those reviewed but not seen online.","tags":["Agents"]}},"/agents/{slug}":{"get":{"operationId":"api_agent","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"One agent: description, traces to look for in your own logs and, when tracked, counters, daily series, top lists and the ONYPHE fingerprints.","tags":["Agents"]}},"/c2":{"get":{"operationId":"api_c2","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Command and control frameworks seen on the same IP as an agent.","tags":["Co-hosting"]}},"/changes":{"get":{"description":"`new` lists hosts first seen on or after `since`. `gone` lists hosts that were active the day before `since` and are no longer active. Poll it daily with yesterday's date to keep a local copy in sync.","operationId":"api_changes","parameters":[{"description":"Reference day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"since","schema":{"format":"date","type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"What changed since a day: hosts that appeared, and hosts that left the active window.","tags":["Statistics"]}},"/clusters":{"get":{"operationId":"api_clusters","parameters":[],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Clusters: hosts that share a deployment detail.","tags":["Clusters"]}},"/clusters/{slug}":{"get":{"operationId":"api_cluster","parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}},{"description":"Page size, 1 to 10000. Default 100.","example":"500","in":"query","name":"limit","schema":{"type":"integer"}},{"description":"Number of records to skip.","example":"500","in":"query","name":"offset","schema":{"type":"integer"}},{"description":"Top-level keys to keep in each record.","example":"ip,agents,last_seen","in":"query","name":"fields","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"One cluster and its hosts (whole history).","tags":["Clusters"]}},"/days/{day}":{"get":{"operationId":"api_day","parameters":[{"in":"path","name":"day","required":true,"schema":{"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"The IPs seen on one day, per agent.","tags":["Statistics"]}},"/domains":{"get":{"operationId":"api_domains","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Page size, 1 to 10000. Default 100.","example":"500","in":"query","name":"limit","schema":{"type":"integer"}},{"description":"Number of records to skip.","example":"500","in":"query","name":"offset","schema":{"type":"integer"}},{"description":"Top-level keys to keep in each record.","example":"ip,agents,last_seen","in":"query","name":"fields","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Domain names that serve an agent (seen by ONYPHE ctiurl).","tags":["Domains"]}},"/domains/{name}":{"get":{"operationId":"api_domain","parameters":[{"in":"path","name":"name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"One domain name and the hosts behind it.","tags":["Domains"]}},"/facets":{"get":{"operationId":"api_facets","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"Facets to count: agent, level, country, asn, org, kind, port, c2, cluster, first_seen, last_seen.","example":"country,asn","in":"query","name":"by","schema":{"type":"string"}},{"description":"Number of values returned per facet, 1 to 1000. Default 20.","example":"50","in":"query","name":"top","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Counts of hosts per value of one or several fields, with the same filters as /hosts.","tags":["Hosts"]}},"/feeds/domains.txt":{"get":{"operationId":"feed_domains","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}}],"responses":{"200":{"content":{"text/plain":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Plain list of domain names serving an agent, one per line.","tags":["Feeds"]}},"/feeds/hosts.csv":{"get":{"operationId":"feed_csv","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"text/plain":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Every host as CSV, one line per IP. Multiple values are separated by |.","tags":["Feeds"]}},"/feeds/hosts.ndjson":{"get":{"operationId":"feed_ndjson","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"text/plain":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Every host as newline-delimited JSON, same records as /hosts.","tags":["Feeds"]}},"/feeds/ips.txt":{"get":{"operationId":"feed_ips","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"1 = keep shared CDN fronts in the feed. They are left out by default: blocking one blocks thousands of unrelated sites.","example":"1","in":"query","name":"include_cdn","schema":{"enum":["1","0"],"type":"string"}}],"responses":{"200":{"content":{"text/plain":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Plain list of IPs, one per line. CDN fronts left out.","tags":["Feeds"]}},"/feeds/misp.json":{"get":{"description":"to_ids is set on confirmed hosts only. Import with the MISP 'Add event > Import from > MISP JSON' form.","operationId":"feed_misp","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"1 = keep shared CDN fronts in the feed. They are left out by default: blocking one blocks thousands of unrelated sites.","example":"1","in":"query","name":"include_cdn","schema":{"enum":["1","0"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"MISP event: one ip-dst attribute per IP and one domain attribute per name. CDN fronts left out.","tags":["Feeds"]}},"/feeds/stix.json":{"get":{"description":"Identifiers are deterministic: the same IP keeps the same indicator id from one day to the next.","operationId":"feed_stix","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"1 = keep shared CDN fronts in the feed. They are left out by default: blocking one blocks thousands of unrelated sites.","example":"1","in":"query","name":"include_cdn","schema":{"enum":["1","0"],"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"STIX 2.1 bundle: one indicator per IP, linked to the agent it runs. CDN fronts left out.","tags":["Feeds"]}},"/feeds/suricata.rules":{"get":{"description":"Signature identifiers start at 9400000 and are stable per agent. The revision is the number of collected days.","operationId":"feed_suricata","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"1 = keep shared CDN fronts in the feed. They are left out by default: blocking one blocks thousands of unrelated sites.","example":"1","in":"query","name":"include_cdn","schema":{"enum":["1","0"],"type":"string"}}],"responses":{"200":{"content":{"text/plain":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Suricata rules: one alert per agent on traffic towards its listed IPs. CDN fronts left out.","tags":["Feeds"]}},"/hosts":{"get":{"operationId":"api_hosts","parameters":[{"description":"active = seen in the last 7 days (default), all = whole history.","example":"all","in":"query","name":"scope","schema":{"enum":["active","all"],"type":"string"}},{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"ISO 3166 two-letter country codes.","example":"US,DE","in":"query","name":"country","schema":{"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"Networks in CIDR notation. A host matches when it is inside any of them.","example":"49.51.0.0/16","in":"query","name":"cidr","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"1 = only hosts first seen inside the active window.","example":"1","in":"query","name":"new","schema":{"enum":["1","0"],"type":"string"}},{"description":"First seen on or after this day (YYYY-MM-DD).","example":"2026-11-15","in":"query","name":"first_seen_from","schema":{"format":"date","type":"string"}},{"description":"First seen on or before this day.","example":"2026-11-22","in":"query","name":"first_seen_to","schema":{"format":"date","type":"string"}},{"description":"Last seen on or after this day.","example":"2026-11-20","in":"query","name":"last_seen_from","schema":{"format":"date","type":"string"}},{"description":"Last seen on or before this day.","example":"2026-11-22","in":"query","name":"last_seen_to","schema":{"format":"date","type":"string"}},{"description":"Sort key. Default last_seen.","example":"first_seen","in":"query","name":"sort","schema":{"enum":["last_seen","first_seen","ip","country","asn"],"type":"string"}},{"description":"Sort order. Default desc.","example":"asc","in":"query","name":"order","schema":{"enum":["desc","asc"],"type":"string"}},{"description":"Page size, 1 to 10000. Default 100.","example":"500","in":"query","name":"limit","schema":{"type":"integer"}},{"description":"Number of records to skip.","example":"500","in":"query","name":"offset","schema":{"type":"integer"}},{"description":"Top-level keys to keep in each record.","example":"ip,agents,last_seen","in":"query","name":"fields","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Hosts running an exposed agent, filtered, sorted and paginated.","tags":["Hosts"]}},"/hosts/{ip}":{"get":{"operationId":"api_host","parameters":[{"in":"path","name":"ip","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"One host: agents, network, domains, every co-hosted service and the days it was seen.","tags":["Hosts"]}},"/lookup":{"get":{"description":"POST a JSON body {\"indicators\": [...]} or plain text with one indicator per line, 10000 at most (200 networks). The whole history is searched; each match says whether the host is still active. A domain also matches its subdomains.","operationId":"api_lookup","parameters":[{"description":"IPs, CIDR networks or domain names, comma separated (GET, 100 at most).","example":"49.51.141.166,artex.h1xx.net","in":"query","name":"indicators","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Bulk lookup: send your IPs, networks and domains, get back the ones the tracker knows.","tags":["Lookup"]},"post":{"description":"POST a JSON body {\"indicators\": [...]} or plain text with one indicator per line, 10000 at most (200 networks). The whole history is searched; each match says whether the host is still active. A domain also matches its subdomains.","operationId":"api_lookup_post","parameters":[],"requestBody":{"content":{"application/json":{"example":{"indicators":["49.51.141.166","artex.h1xx.net","5.39.0.0/16"]},"schema":{"properties":{"indicators":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"text/plain":{"example":"49.51.141.166\nartex.h1xx.net\n"}},"required":true},"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Bulk lookup: send your IPs, networks and domains, get back the ones the tracker knows.","tags":["Lookup"]}},"/map":{"get":{"description":"A host counts on a day when one of the selected agents was seen on it that day. The other filters apply to the host as the tracker knows it today. `days[i]` matches index i of every list. `period` counts each IP once over from..to.","operationId":"api_map","parameters":[{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}},{"description":"Detection level (of the agents given in `agent`, or of any agent).","example":"confirmed","in":"query","name":"level","schema":{"enum":["confirmed","probable"],"type":"string"}},{"description":"Network type: hosting, cloud, cdn.","example":"hosting,cloud","in":"query","name":"kind","schema":{"type":"string"}},{"description":"Cluster slugs.","example":"antifox","in":"query","name":"cluster","schema":{"type":"string"}},{"description":"1 = only hosts that also run a command and control server, 0 = only hosts that do not.","example":"1","in":"query","name":"c2","schema":{"enum":["1","0"],"type":"string"}},{"description":"Command and control framework names, case insensitive.","example":"Cobalt Strike","in":"query","name":"c2_name","schema":{"type":"string"}},{"description":"1 = only hosts running two agents or more.","example":"1","in":"query","name":"multi","schema":{"enum":["1","0"],"type":"string"}},{"description":"1 = only hosts with at least one domain name.","example":"1","in":"query","name":"has_domain","schema":{"enum":["1","0"],"type":"string"}},{"description":"Autonomous system numbers, with or without the AS prefix.","example":"AS16276,24940","in":"query","name":"asn","schema":{"type":"string"}},{"description":"Text contained in the hoster name, case insensitive.","example":"tencent","in":"query","name":"org","schema":{"type":"string"}},{"description":"Ports the agent answers on.","example":"443,8443","in":"query","name":"port","schema":{"type":"string"}},{"description":"ONYPHE category that saw the host.","example":"ctiurl","in":"query","name":"source","schema":{"enum":["ctiscan","ctiurl"],"type":"string"}},{"description":"Text contained in the IP, the hoster, the ASN or a domain name.","example":"hetzner","in":"query","name":"q","schema":{"type":"string"}},{"description":"First day of the period (YYYY-MM-DD). Default: first day of the history.","example":"2026-11-01","in":"query","name":"from","schema":{"format":"date","type":"string"}},{"description":"Last day of the period. Default: most recent day.","example":"2026-11-22","in":"query","name":"to","schema":{"format":"date","type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Hosting countries day by day: distinct IPs per country for every day of the history, and over a period.","tags":["Statistics"]}},"/openapi.json":{"get":{"operationId":"api_openapi","parameters":[],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"OpenAPI 3.1 description of this API.","tags":["Meta"]}},"/stats":{"get":{"operationId":"api_stats","parameters":[],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Global counters and top lists of the active window.","tags":["Statistics"]}},"/status":{"get":{"operationId":"api_status","parameters":[],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Health and freshness of the data.","tags":["Meta"]}},"/timeline":{"get":{"operationId":"api_timeline","parameters":[{"description":"Agent slugs, comma separated. A host matches when it runs any of them.","example":"artex,pentagi","in":"query","name":"agent","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{}},"description":"OK"},"400":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"}},"summary":"Hosts seen per day and per agent, since the first collection.","tags":["Statistics"]}}},"servers":[{"url":"https://www.offensive.agency/api/v1"}]}
