# Alienvault Otx Indicators Scraper (`b2b_lead_generation/alienvault-otx-indicators-scraper`) Actor

Look up AlienVault OTX threat intel pulses, whois links, validation notes, and false-positive data for domains, IPv4 addresses, and hostnames. Enter your indicator list to get structured threat intelligence ready to export as JSON, CSV, or Excel.

- **URL**: https://apify.com/b2b_lead_generation/alienvault-otx-indicators-scraper.md
- **Developed by:** [B2B Lead Generation](https://apify.com/b2b_lead_generation) (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

## AlienVault OTX Indicators Scraper

Collect threat intelligence data for domains, IPv4 addresses, and hostnames from AlienVault OTX. Retrieve indicator details, validation information, WHOIS references, pulse statistics, and false-positive assessments in structured JSON, CSV, or Excel datasets.

### What This Actor Does

The actor looks up indicators using the `general` collection mode and organizes the returned information into structured dataset records. Each record includes the indicator value and type, available sections, validation details, base indicator information, pulse data, and false-positive assessments.

Supported indicator types are `domain`, `IPv4`, and `hostname`. The API's `type` field is stored as `indicatorType` to avoid conflicts with Apify dataset field names.

### Features

- **Indicator lookup:** Collect threat intelligence information for domains, IPv4 addresses, and hostnames.
- **Indicator enrichment:** Retrieve WHOIS references, Alexa references, and validation information.
- **Pulse information:** Capture pulse counts and related threat intelligence data.
- **False-positive assessments:** Include available false-positive information.
- **Batch input:** Submit multiple indicators in a single input.
- **Structured exports:** Export results as JSON, CSV, Excel, and other supported dataset formats.

### Input Example

```json
{
  "mode": "general",
  "type": "domain",
  "indicators": ["google.com"],
  "userAgent": "ActorResearch/1.0",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Input Parameters

| Parameter | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `general` | Collection mode. The supported mode is `general`. |
| `type` | string | `domain` | Indicator type: `domain`, `IPv4`, or `hostname`. |
| `indicators` | array | `["google.com"]` | Indicator values to look up, with one indicator per entry. |
| `userAgent` | string | `b2b lead generation UA` | User-Agent value used for requests. |
| `timeoutSecs` | integer | `300` | Overall run time budget in seconds. |
| `requestTimeoutSecs` | integer | `30` | Timeout for an individual request, in seconds. |
| `proxyConfiguration` | object | No proxy | Optional proxy configuration. Disabled by default. |

### Output Example

```json
{
  "sections": [
    "general",
    "geo",
    "url_list",
    "passive_dns",
    "malware",
    "whois",
    "http_scans"
  ],
  "whois": "http://whois.domaintools.com/google.com",
  "alexa": "http://www.alexa.com/siteinfo/google.com",
  "indicator": "google.com",
  "indicatorType": "domain",
  "type_title": "Domain",
  "validation": [
    {
      "source": "ad_network",
      "message": "Whitelisted ad network domain www-google-analytics.l.google.com",
      "name": "Whitelisted ad network domain"
    }
  ],
  "base_indicator": {
    "id": 12915,
    "indicator": "google.com",
    "type": "domain",
    "access_type": "public"
  },
  "pulse_info": {
    "count": 0,
    "pulses": [],
    "references": [],
    "related": {}
  },
  "false_positive": [],
  "scrapedAt": "2026-10-12T12:00:00+00:00"
}
```

### Output Fields

| Field | Type | Description |
|---|---|---|
| `sections` | array | Available indicator sections returned by OTX. |
| `whois` | string | WHOIS reference URL. |
| `alexa` | string | Alexa reference URL. |
| `indicator` | string | Indicator value and primary deduplication key. |
| `indicatorType` | string | Indicator type: domain, IPv4, or hostname. |
| `type_title` | string | Human-readable indicator type title. |
| `validation` | array | Indicator validation entries. |
| `base_indicator` | object | Base indicator information returned by OTX. |
| `pulse_info` | object | Pulse count and related pulse information. |
| `false_positive` | array | False-positive assessment entries. |
| `scrapedAt` | string | ISO timestamp when the record was collected. |

### Use Cases

- **Threat intelligence lookup:** Retrieve OTX information for domains and IP addresses during security research.
- **IOC enrichment:** Add validation details, WHOIS references, and pulse information to existing indicator datasets.
- **Security research:** Export indicator records to CSV or Excel for offline analysis.
- **False-positive review:** Examine available false-positive assessments alongside indicator metadata.
- **Threat intelligence workflows:** Integrate collected records into existing analysis and reporting processes.

### Frequently Asked Questions

**Do I need an AlienVault OTX account to use this actor?**

The actor is designed to retrieve indicator information from publicly accessible OTX data without requiring an account.

**Which indicator types are supported?**

The `type` parameter supports `domain`, `IPv4`, and `hostname`.

**Can I submit multiple indicators?**

Yes. Provide multiple values in the `indicators` array. Each entry is processed as an individual indicator lookup.

**What information does the actor collect?**

It collects indicator metadata, available sections, WHOIS and Alexa references, validation entries, pulse information, and false-positive assessments.

**Can I schedule automatic indicator lookups?**

Yes. Use Apify schedules to run the actor at your preferred intervals and collect updated indicator information.

### Trademark Notice

AlienVault OTX is a trademark of its respective owner. This actor is an independent data collection tool and does not imply any affiliation, sponsorship, or endorsement by AlienVault OTX.

### Is Web Scraping Legal?

This actor collects publicly accessible threat intelligence information from AlienVault OTX 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.

- **Personal Data:** Indicator records may contain domains, hostnames, or other information that could relate to identifiable individuals. Privacy laws such as GDPR and CCPA may apply when processing personal information.
- **Copyright and Licensing:** Threat intelligence reports, descriptions, and related content may be subject to copyright or licensing conditions. Check applicable requirements before reproducing or redistributing collected content.
- **Platform Terms and Rate Limits:** Respect AlienVault OTX's policies, terms of use, and applicable request limits when collecting information.
- **Disclaimer:** This information is general guidance, not legal advice. Consult a qualified legal professional if you have questions about your intended use.

[Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

# Actor input Schema

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

What to scrape. Indicator general returns the general section for domain, IPv4, or hostname indicators.

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

Indicator kind used in the OTX path: domain, IPv4, or hostname.

## `indicators` (type: `array`):

Domain, IPv4, or hostname values to look up (one per line).

## `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. AlienVault OTX public indicator endpoints usually work without a proxy.

## Actor input object example

```json
{
  "mode": "general",
  "type": "domain",
  "indicators": [
    "google.com",
    "8.8.8.8"
  ],
  "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 = {
    "type": "domain",
    "indicators": [
        "google.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2b_lead_generation/alienvault-otx-indicators-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 = {
    "type": "domain",
    "indicators": ["google.com"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2b_lead_generation/alienvault-otx-indicators-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 '{
  "type": "domain",
  "indicators": [
    "google.com"
  ]
}' |
apify call b2b_lead_generation/alienvault-otx-indicators-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2b_lead_generation/alienvault-otx-indicators-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/nIwryOkgeH0qo39Qr/builds/CKYfvTnHXGHXxTNYa/openapi.json
