# Ipsum Threat Ips Feed (`kawsar/ipsum-threat-ips-feed`) Actor

Pull daily malicious IP addresses with blacklist counts or check your own IPs and CIDRs against the IPsum threat feed. Run in full-list or lookup mode, then export your structured threat intelligence dataset as JSON, CSV, or Excel on Apify

- **URL**: https://apify.com/kawsar/ipsum-threat-ips-feed.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

## IPsum Threat IPs Feed

Collect malicious IP addresses from the public IPsum threat intelligence list, including the number of blacklists reporting each IP. Retrieve the full list or check specific IP addresses and CIDR ranges against the collected data.

Save structured results to an Apify dataset and export them as JSON, CSV, or Excel.

### What This Actor Does

This actor collects IP addresses and blacklist counts from the public IPsum feed maintained by stamparm.

Each record contains an IP address, its blacklist count, and collection metadata. You can also use lookup mode to check supplied IP addresses or CIDR ranges against the collected list.

### Key Features

- Collect malicious IP addresses from the IPsum list
- Retrieve blacklist counts for individual IP addresses
- Check IP addresses against the collected threat list
- Match IP addresses within CIDR ranges
- Include collection timestamps
- Export results in JSON, CSV, or Excel format

### Modes

**Full List (`full_list`):** Collects IP addresses and their blacklist counts from the IPsum feed, subject to the `maxItems` setting.

**Lookup (`lookup`):** Checks supplied IP addresses or CIDR ranges against the collected list and returns matching records.

### What Data Does This Actor Extract?

| Field | Type | Description |
|---|---|---|
| `ip` | string | IP address listed in the IPsum threat feed. |
| `blacklistCount` | integer | Number of blacklists reporting the IP address. |
| `scrapedAt` | string | ISO timestamp indicating when the record was saved. |
| `sourceUrl` | string | Reference to the source feed. |

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `full_list` | Select `full_list` or `lookup` mode. |
| `lookupValues` | array | `[]` | IP addresses, CIDRs, or domains to check in lookup mode. |
| `maxItems` | integer | `100` | Maximum number of dataset rows to save. |
| `userAgent` | string | `Actor research UA` | 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 Examples

**Full List Mode**

```json
{
  "mode": "full_list",
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

**Lookup Mode**

```json
{
  "mode": "lookup",
  "lookupValues": [
    "77.90.185.20",
    "8.8.8.8"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Output Example

```json
{
  "ip": "77.90.185.20",
  "blacklistCount": 12,
  "scrapedAt": "2026-10-12T12:00:00+00:00"
}
```

### Use Cases

- **Threat intelligence enrichment:** Add IPsum threat indicators and blacklist counts to security research datasets.
- **Blocklist checks:** Compare network or customer IP addresses against IPsum records.
- **Incident response:** Check suspicious IP addresses during security investigations.
- **Security research:** Analyze how frequently IP addresses appear across multiple threat intelligence lists.
- **Scheduled monitoring:** Collect updated threat indicators for further analysis and reporting.

### Frequently Asked Questions

**What is IPsum?**

IPsum is a public threat intelligence project that maintains a list of IP addresses reported by multiple blacklists. This actor organizes those entries and their blacklist counts into structured records.

**What does `blacklistCount` mean?**

It represents the number of blacklists reporting a particular IP address in the IPsum feed.

**What is the difference between the two modes?**

`full_list` collects IP addresses and blacklist counts from the feed. `lookup` checks supplied IP addresses or CIDR ranges against the collected entries.

**Can I export the results?**

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

### Trademark Notice

IPsum and its related names belong to their respective owners. This actor is an independent tool and does not imply affiliation, sponsorship, or endorsement by IPsum, stamparm, or the upstream project owners.

### Is Web Scraping Legal?

This actor collects publicly accessible IP 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 project'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:** Public availability does not automatically grant unrestricted reuse rights. Review the upstream project's licence and respect applicable attribution and redistribution requirements.
- **Platform Terms and Rate Limits:** Follow the source's terms, usage policies, and any published 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`):

Full list downloads the IPsum threat IP feed with blacklist counts. Lookup checks your IPs or CIDRs against that list locally.

## `lookupValues` (type: `array`):

IPs, CIDRs, or domains to check in Lookup mode (one per line). Leave empty in Full list mode to emit the whole list (capped by maxItems).

## `maxItems` (type: `integer`):

Stop after this many rows. Hard max is 1000.

## `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. IPsum usually works without a proxy.

## Actor input object example

```json
{
  "mode": "full_list",
  "lookupValues": [
    "77.90.185.20",
    "8.8.8.8"
  ],
  "maxItems": 100,
  "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 = {
    "lookupValues": [
        "77.90.185.20",
        "8.8.8.8"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kawsar/ipsum-threat-ips-feed").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 = { "lookupValues": [
        "77.90.185.20",
        "8.8.8.8",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kawsar/ipsum-threat-ips-feed").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 '{
  "lookupValues": [
    "77.90.185.20",
    "8.8.8.8"
  ]
}' |
apify call kawsar/ipsum-threat-ips-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kawsar/ipsum-threat-ips-feed"
        }
    }
}
```

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/NciQpbYwz3Wpzk2xX/builds/oleA7xVLhce0LuZBy/openapi.json
