# AI Competitor & SEO Intelligence (`enezli/ai-competitor-intelligence`) Actor

Competitor and SEO analysis in one report. Synthesizes a rival's SERP, content and social signals into a manager-ready brief: threat level, strengths, weaknesses, content gaps and concrete next moves. Know where you can win.

- **URL**: https://apify.com/enezli/ai-competitor-intelligence.md
- **Developed by:** [Turgay NANTA](https://apify.com/enezli) (community)
- **Categories:** AI, SEO tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / intelligence report

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## AI Competitor & SEO Intelligence — From Signals to a Battle Plan

Synthesizes a competitor's **SERP + content + social** signals with AI into a single **manager-ready battle plan**: threat level, strengths & weaknesses, content gaps, social momentum, and a **prioritized action plan + the first move to make against this competitor.**

### What it does

Most competitor tools hand you raw data or a score and leave the "so what do I do?" question to you. This actor **blends signals from different sources** and turns them into intelligence you can decide on:

- **Threat level** (worst-case anchored across all signals)
- **Strengths & weaknesses** of the competitor (their gaps = your opportunities)
- **Content gaps** — what's missing at the competitor / in the market
- **Social momentum** — engagement & growth direction
- **🎯 Action plan** — prioritized, concrete strategic moves (each with impact / effort + expected result)
- **⚡ Quick wins** — low-effort, high-impact moves, each with its own rationale
- **The single first move** to make against this competitor
- A short **executive summary**

### Why it's different

- Competitors **don't use an LLM** → they give you a score/JSON with no narrative. This actor delivers **LLM synthesis + a prioritized action plan**.
- **Multi-source + multilingual + flexible:** bring your own data, or connect a SERP/social scraper dataset.
- The output isn't raw data — it's a **report-ready battle plan**, in the language you choose.

### Input

| Field | Description |
|---|---|
| `sources` | Source signals: plain text OR `{type, title, content, metric}` objects. A SERP/social scraper dataset can be connected directly, or paste in your own data (BYOD). If no `type` is given, it is inferred from the content. |
| `competitorDomain` | Competitor name/domain (used as report context) |
| `dataPoints` | Focus dimensions: competitor benchmark / content gaps / social signals / SEO position / pricing |
| `language` | Output language of the report content: English / Türkçe / Deutsch / Español / Français |
| `model` | (Advanced) LLM model — the default is fast and economical |

### Output

Delivered in two layers:

- **Dataset (table):** the prioritized **strategic action plan** — columns: `Priority` · `Strategic Move` · `Impact` · `Effort` · `Expected Result`. Scan, sort, and export directly.
- **Report (key-value store → `COMPETITOR_REPORT`):** the full narrative + machine-readable data with English keys: `competitor` · `threat_level` · `executive_summary` · `strengths` · `weaknesses` · `content_gaps` · `social_momentum` · `action_plan` · `quick_wins` · `first_move` · `sources_analyzed` · `source_breakdown`.

### How to use

1. Collect signals with a SERP/social scraper (or paste in your own list).
2. Connect the output to this actor as `sources`.
3. Set the competitor name and language → **Start**.
4. Grab the action plan from the Dataset tab and the full report from the Key-value store (`COMPETITOR_REPORT`).

### Pricing (Pay-Per-Event)

You only pay for what you use: per run + per analyzed source + per generated report. Value-based — you pay for as many sources of intelligence as you actually receive. No monthly subscription.

# Actor input Schema

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

The name/domain of the competitor to analyze. Used in the report title and as analysis context.

## `sources` (type: `array`):

The signals to analyze. Plain text OR {type: 'serp|content|social', title, content, metric} objects. A SERP/social scraper dataset can be connected directly, or paste in your own data (BYOD). If no type is given, it is inferred from the content.

## `dataPoints` (type: `array`):

The focus of the analysis. If left empty, all dimensions are considered.

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

Language of the intelligence report content (present it to your boss/client in their own language).

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

LLM model. The default is cheap and fast; pick a stronger model for deeper synthesis.

## Actor input object example

```json
{
  "competitorDomain": "Competitor",
  "sources": [
    {
      "type": "serp",
      "title": "best crm software",
      "content": "Competitor ranks #3, we rank #9 on this keyword."
    },
    {
      "type": "icerik",
      "title": "Pricing page",
      "content": "Competitor shows transparent pricing but has no demo video."
    },
    {
      "type": "sosyal",
      "content": "Instagram 40K followers, weekly engagement is declining."
    }
  ],
  "dataPoints": [
    "rakip kıyası",
    "içerik boşluğu",
    "sosyal sinyaller"
  ],
  "language": "English",
  "model": "claude-haiku-4-5-20251001"
}
```

# 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 = {
    "sources": [
        {
            "type": "serp",
            "title": "best crm software",
            "content": "Competitor ranks #3, we rank #9 on this keyword."
        },
        {
            "type": "icerik",
            "title": "Pricing page",
            "content": "Competitor shows transparent pricing but has no demo video."
        },
        {
            "type": "sosyal",
            "content": "Instagram 40K followers, weekly engagement is declining."
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("enezli/ai-competitor-intelligence").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 = { "sources": [
        {
            "type": "serp",
            "title": "best crm software",
            "content": "Competitor ranks #3, we rank #9 on this keyword.",
        },
        {
            "type": "icerik",
            "title": "Pricing page",
            "content": "Competitor shows transparent pricing but has no demo video.",
        },
        {
            "type": "sosyal",
            "content": "Instagram 40K followers, weekly engagement is declining.",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("enezli/ai-competitor-intelligence").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "sources": [
    {
      "type": "serp",
      "title": "best crm software",
      "content": "Competitor ranks #3, we rank #9 on this keyword."
    },
    {
      "type": "icerik",
      "title": "Pricing page",
      "content": "Competitor shows transparent pricing but has no demo video."
    },
    {
      "type": "sosyal",
      "content": "Instagram 40K followers, weekly engagement is declining."
    }
  ]
}' |
apify call enezli/ai-competitor-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=enezli/ai-competitor-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/KezXERk5CUYghefsd/builds/a9Y3PHW5PcNpI050t/openapi.json
