# XavvyNess AI Article Analyst (`xavvyness/xavvyness-article-intel`) Actor

Analyze any article URL — news, blogs, academic papers. Returns: summary, key takeaways, sentiment score, actionable insights, and topic tags. Batch multiple URLs in one run. Powered by Groq/Gemini — no OpenAI required.

- **URL**: https://apify.com/xavvyness/xavvyness-article-intel.md
- **Developed by:** [XavvyNess](https://apify.com/xavvyness) (community)
- **Categories:** AI, News, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 ai-analyzed articles

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## 📰 XavvyNess Article Intel — Article Extraction + AI Analysis

Extract content from any article URL and get a structured AI intelligence report — summary, key takeaways, sentiment score, actionable insights, topic tags, and follow-up questions. Beats raw article scrapers by adding the analysis layer on top.

> **6.4 million runs were done with the original Smart Article Extractor.** We do everything it does, plus AI analysis — at no extra cost using Groq/Gemini free tier.

---

### 🚀 What It Does

1. Fetches and cleans the article text from any news, blog, or academic URL
2. Strips ads, nav, footers — extracts only the real content
3. Runs AI analysis tailored to the analysis depth you choose
4. Returns structured JSON ready for downstream pipelines

**Perfect for:** market research, content monitoring, news aggregation, competitive intelligence, LLM training data, RAG pipelines

---

### 📥 Input

| Field | Required | Default | Description |
|---|---|---|---|
| `urls` | ✅ | — | Article URLs to analyze (one or more) |
| `depth` | — | `standard` | `quick` / `standard` / `deep` |
| `includeRawText` | — | `false` | Include full article text in output |
| `language` | — | `en` | Output language for AI analysis |

**Example input:**
```json
{
  "urls": [
    "https://techcrunch.com/2025/01/01/ai-agents-2025/",
    "https://www.wired.com/story/ai-pricing-models/"
  ],
  "depth": "deep",
  "language": "en"
}
````

***

### 📤 Output

Real output from a live run on Wikipedia's AI article:

```json
{
  "url": "https://en.wikipedia.org/wiki/Artificial_intelligence",
  "title": "Artificial intelligence - Wikipedia",
  "author": "",
  "publishedAt": "",
  "wordCount": 30139,
  "summary": "Artificial intelligence (AI) refers to the development of computer systems that can perform tasks requiring human intelligence. The field has made significant progress with applications in natural language processing, computer vision, and robotics. AI has the potential to revolutionize many industries.",
  "keyTakeaways": [
    "AI is a field of computer science focused on creating intelligent machines",
    "Machine learning and deep learning are core subfields driving modern AI",
    "Applications span healthcare, finance, transportation, and creative industries",
    "AI raises important ethical questions around bias, privacy, and job displacement",
    "The field has cycles of 'AI winters' and breakthroughs; current era is a breakthrough period"
  ],
  "actionableInsights": [],
  "sentiment": "neutral",
  "sentimentScore": "0.5",
  "topicTags": ["Artificial Intelligence", "Machine Learning", "Computer Science", "Technology", "Innovation"],
  "followUpQuestions": [],
  "audienceType": "",
  "credibilitySignals": [],
  "error": null,
  "analyzedAt": "2026-04-08T22:27:50.945Z",
  "agent": "XavvyNess Article Intel"
}
```

For news articles with richer content, `actionableInsights`, `followUpQuestions`, `audienceType`, and `credibilitySignals` are fully populated.

***

### 💡 Analysis Depths

| Depth | Output | Best For |
|---|---|---|
| `quick` | Summary + sentiment + 3 topic tags | High-volume monitoring |
| `standard` | + key takeaways + sentiment score + 5 tags | General research |
| `deep` | + actionable insights + follow-up questions + audience type + credibility signals | Strategic analysis |

***

### ⚙️ Setup — API Keys

| Variable | Required | Where to Get |
|---|---|---|
| `GROQ_API_KEY` | Recommended (free) | [console.groq.com](https://console.groq.com) |
| `GOOGLE_API_KEY` | Optional fallback | [aistudio.google.com](https://aistudio.google.com) |

***

### ❓ FAQ

**Q: What happens if the site blocks crawlers (403)?**\
A: You'll get a clear error: "Access denied (403) — site blocks automated requests". Try a different article from the same publication, or use a proxy.

**Q: Does it handle paywalled content?**\
A: It extracts whatever is publicly visible. If content is behind a hard paywall, you'll get partial text with a note.

**Q: Can I use this for 1000+ articles?**\
A: Yes — batch your URLs in the `urls` array. The actor runs up to 3 concurrent fetches by default.

**Q: What if AI analysis fails?**\
A: Falls back automatically: Groq → Gemini → heuristic sentence extraction. Never returns empty-handed.

***

### 🔗 Use Cases

1. **News monitoring** — Track mentions of your brand, competitors, or keywords across publications
2. **Competitive intelligence** — Summarize competitor blog posts and announcements daily
3. **Research pipelines** — Feed structured article summaries into your RAG or LLM workflows
4. **Content strategy** — Identify trending topics and sentiment in your space
5. **Lead generation** — Monitor industry news for buying signals and company announcements
6. **SEO research** — Analyze top-ranking articles for topic coverage and keyword density

***

### 📊 Performance

- ✅ Processes most articles in under 10 seconds
- ✅ Handles news sites, blogs, academic papers, and long-form journalism
- ✅ 3-attempt retry with categorized error messages
- ✅ Fallback: Groq → Gemini → heuristic (never silently fails)
- ✅ **Failed runs are not charged** — you only pay for successfully analyzed articles

***

### Integration

#### Via Apify JavaScript client

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

const run = await client.actor('4WlWdAOeb33aHxEfY').call({
  urls: [
    'https://techcrunch.com/2026/01/15/ai-agents-enterprise/',
    'https://www.wired.com/story/openai-pricing-2026/',
  ],
  depth: 'standard',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach(article => {
  console.log(article.title);        // Article title
  console.log(article.summary);     // AI summary
  console.log(article.keyTakeaways); // Bullet-point takeaways
  console.log(article.sentiment);   // positive | neutral | negative
});
```

#### Via HTTP API

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/4WlWdAOeb33aHxEfY/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": ["https://techcrunch.com/2026/01/15/ai-agents-enterprise/"],
    "depth": "standard"
  }'
```

#### Via Make.com / Zapier

Use the **Apify** module → **Run Actor** action. Actor ID: `4WlWdAOeb33aHxEfY`. Pass your article URLs in the input JSON, then map `{{summary}}`, `{{keyTakeaways}}`, and `{{sentiment}}` from the output to your next step.

***

*Built by XavvyNess — AI agent services that do real work.*

# Actor input Schema

## `urls` (type: `array`):

List of article URLs to extract and analyze.

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

How deeply to analyze each article.

## `includeRawText` (type: `boolean`):

Include the full extracted article text in the output.

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

Language for the AI analysis output.

## Actor input object example

```json
{
  "urls": [
    "https://en.wikipedia.org/wiki/Artificial_intelligence"
  ],
  "depth": "standard",
  "includeRawText": false,
  "language": "en"
}
```

# 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 = {
    "urls": [
        "https://en.wikipedia.org/wiki/Artificial_intelligence"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("xavvyness/xavvyness-article-intel").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 = { "urls": ["https://en.wikipedia.org/wiki/Artificial_intelligence"] }

# Run the Actor and wait for it to finish
run = client.actor("xavvyness/xavvyness-article-intel").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 '{
  "urls": [
    "https://en.wikipedia.org/wiki/Artificial_intelligence"
  ]
}' |
apify call xavvyness/xavvyness-article-intel --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "XavvyNess AI Article Analyst",
        "description": "Analyze any article URL — news, blogs, academic papers. Returns: summary, key takeaways, sentiment score, actionable insights, and topic tags. Batch multiple URLs in one run. Powered by Groq/Gemini — no OpenAI required.",
        "version": "1.0",
        "x-build-id": "OJVq6cfcOnudWMhJU"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/xavvyness~xavvyness-article-intel/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-xavvyness-xavvyness-article-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/xavvyness~xavvyness-article-intel/runs": {
            "post": {
                "operationId": "runs-sync-xavvyness-xavvyness-article-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/xavvyness~xavvyness-article-intel/run-sync": {
            "post": {
                "operationId": "run-sync-xavvyness-xavvyness-article-intel",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "urls"
                ],
                "properties": {
                    "urls": {
                        "title": "Article URLs",
                        "type": "array",
                        "description": "List of article URLs to extract and analyze.",
                        "default": [
                            "https://en.wikipedia.org/wiki/Artificial_intelligence"
                        ],
                        "items": {
                            "type": "string"
                        }
                    },
                    "depth": {
                        "title": "Analysis Depth",
                        "enum": [
                            "quick",
                            "standard",
                            "deep"
                        ],
                        "type": "string",
                        "description": "How deeply to analyze each article.",
                        "default": "standard"
                    },
                    "includeRawText": {
                        "title": "Include Raw Article Text",
                        "type": "boolean",
                        "description": "Include the full extracted article text in the output.",
                        "default": false
                    },
                    "language": {
                        "title": "Output Language",
                        "type": "string",
                        "description": "Language for the AI analysis output.",
                        "default": "en"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
