# Sans Isc Threat Intel Scraper (`kawsar/sans-isc-threat-intel-scraper`) Actor

Collect top attacking source IP addresses and threat intelligence metrics from the SANS ISC feed. Export rankings, report counts, and targets as structured datasets for security research, SOC investigations, and blocklist analysis.

- **URL**: https://apify.com/kawsar/sans-isc-threat-intel-scraper.md
- **Developed by:** [Kawsar](https://apify.com/kawsar) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.99 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SANS ISC Threat Intel Scraper

![SANS ISC Threat Intel Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/sans-isc-threat-intel-scraper-cover.png)

Collect top attacking source IP addresses from the public SANS Internet Storm Center (ISC) threat intelligence data. Retrieve IP rankings, report counts, and target counts in a structured dataset ready for analysis and export.

### What This Actor Does

This actor collects top attacking IP records published by SANS ISC and organizes them into structured dataset entries.

Each record includes the source IP address, its ranking, the number of reports, and the number of targets. Results can be exported as JSON, CSV, or Excel.

### Key Features

- Collect top attacking source IP addresses
- Retrieve rankings and report counts
- Include target counts for each source IP
- Save structured threat intelligence records
- Deduplicate records using the source IP
- Export results for security research and analysis

### Available Mode

**Top Attacking IPs (`topips`):** Retrieves the top N source IP addresses ranked by report volume. Use `count` to specify the requested number of records and `maxItems` to control the number of saved results.

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `topips` | Select the available Top Attacking IPs mode. |
| `count` | integer | `10` | Number of top IP records to request. |
| `userAgent` | string | `ActorResearch/1.0 …` | User-Agent value used for requests. |
| `timeoutSecs` | integer | `300` | Overall run time budget in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request. |
| `proxyConfiguration` | object | No proxy | Optional proxy configuration. |

### Input Example

```json
{
  "mode": "topips",
  "count": 10
}
```

### Output Example

```json
{
  "rank": 1,
  "source": "13.94.254.200",
  "reports": 319739,
  "targets": 1,
  "scrapedAt": "2026-10-26T00:00:00+00:00"
}
```

### Output Fields

| Field | Type | Description |
|---|---|---|
| `rank` | integer | Ranking returned by SANS ISC. |
| `source` | string | Attacking source IP address. |
| `reports` | integer | Number of reports associated with the source IP. |
| `targets` | integer | Number of targets associated with the source IP. |
| `scrapedAt` | string | ISO timestamp added when the record is saved. |

### Use Cases

- **SOC investigations:** Identify frequently reported attacking source IPs for security analysis.
- **Threat intelligence enrichment:** Add SANS ISC IP indicators and report counts to existing research datasets.
- **Blocklist preparation:** Review high-report source IPs before considering firewall or blocklist updates.
- **Trend analysis:** Collect periodic snapshots to compare IP rankings and report counts over time.
- **Security research:** Study publicly available attacking IP information in a structured format.

### Frequently Asked Questions

**What does the `count` parameter control?**

It specifies how many top attacking IP records to request from the source. The `count` parameter controls the maximum number of records saved by the actor.

**What information is available for each IP?**

Each record includes its rank, source IP address, report count, and target count, along with collection metadata.

**Can I export the collected records?**

Yes. You can export the Apify dataset in JSON, CSV, or Excel format.

**Can I use this data commercially?**

The source data is identified as being published under CC BY-NC-SA terms in the supplied documentation. Review the applicable licence carefully before commercial use or redistribution.

### Trademark Notice

SANS ISC and its related names and trademarks belong to their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, or endorsement by SANS ISC or its owners.

### Is Web Scraping Legal?

This actor collects publicly accessible threat intelligence data without bypassing login screens, paywalls, or technical security measures. How collected information can be used depends on applicable laws and the source website's policies and licences.

- **Personal Data:** IP addresses may be considered personal data in certain circumstances. Follow applicable privacy requirements, including GDPR and CCPA where relevant.
- **Copyright and Licensing:** SANS ISC data may be subject to attribution and licence conditions, including restrictions on commercial use under the applicable CC BY-NC-SA licence. Review the source licence before reusing or redistributing the data.
- **Platform Terms and Rate Limits:** Respect the source's terms, usage policies, and applicable request limits.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional about your intended use.

For more information, read Apify's guide: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

## `mode` (type: `string`):

What to scrape. Top attacking IPs returns the highest-reporting source IPs from SANS ISC.

## `count` (type: `integer`):

How many top IPs to request (N in the API path). Capped by maxItems.

## `userAgent` (type: `string`):

Identify your scraper

## `timeoutSecs` (type: `integer`):

Overall run budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Per-request timeout in seconds.

## `proxyConfiguration` (type: `object`):

Optional proxy. Leave off unless you need it. SANS ISC public API usually works without a proxy.

## Actor input object example

```json
{
  "mode": "topips",
  "count": 10,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "count": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/sans-isc-threat-intel-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "count": 10 }

# Run the Actor and wait for it to finish
run = client.actor("kawsar/sans-isc-threat-intel-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "count": 10
}' |
apify call kawsar/sans-isc-threat-intel-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/sans-isc-threat-intel-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/vcESnzCPHDzoafm8m/builds/MNXn3t2fMo6gSkK1Z/openapi.json
