# Dev.to Articles Intelligence - Developer Content AI (`benthepythondev/devto-articles-intelligence`) Actor

Extract trending developer articles from Dev.to with AI engagement scoring. Filter by tags, reactions, comments, and reading time. Perfect for content discovery, research, and competitive analysis. Get top JavaScript, Python, React, and web development content with smart engagement metrics.

- **URL**: https://apify.com/benthepythondev/devto-articles-intelligence.md
- **Developed by:** [ben](https://apify.com/benthepythondev) (community)
- **Categories:** AI, Developer tools, News
- **Stats:** 5 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $18.00 / 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.

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

## Dev.to Articles Intelligence

Extract trending developer articles from Dev.to with AI-powered engagement scoring. Perfect for content discovery, competitive analysis, and developer research.

### Features

- **AI Engagement Scoring**: Proprietary 0-100 scoring algorithm based on reactions, comments, reading time, and recency
- **Comprehensive Filtering**: Filter by tags, author, keywords, reactions, comments, and reading time
- **Top Articles**: Get top articles from specific time periods (today, week, month, year, all-time)
- **Fresh & Rising Content**: Discover new and trending articles
- **Complete Metadata**: Full article data including author info, tags, images, and engagement metrics
- **Pay-Per-Result Pricing**: Free for first 100 articles, then $0.02 per article

### Use Cases

- **Content Discovery**: Find trending articles in your tech stack
- **Competitive Analysis**: Track what content performs well in your niche
- **Developer Research**: Analyze engagement patterns across topics
- **Content Curation**: Build curated lists of high-quality articles
- **SEO Research**: Identify popular topics and keywords
- **Author Analytics**: Track specific author performance

### AI Engagement Score Algorithm

The engagement score (0-100) is calculated using four factors:

#### 1. Reactions/Likes (40 points max)
- 500+ reactions: 40 points (Viral)
- 200-499: 35 points (Very popular)
- 100-199: 30 points (Popular)
- 50-99: 25 points (Good engagement)
- 20-49: 20 points (Moderate)
- 10-19: 15 points (Some traction)
- 5-9: 10 points (Early traction)
- <5: Minimal points

#### 2. Comments (30 points max)
- 100+ comments: 30 points (Hot discussion)
- 50-99: 25 points (Active discussion)
- 20-49: 20 points (Good discussion)
- 10-19: 15 points (Some discussion)
- 5-9: 10 points (Early discussion)
- <5: Minimal points

#### 3. Reading Time (20 points max)
- 16+ minutes: 20 points (Very long, comprehensive)
- 8-15 minutes: 15 points (Long, in-depth)
- 4-7 minutes: 10 points (Medium, good depth)
- 1-3 minutes: 5 points (Quick read)

#### 4. Recency (10 points max)
- Today: 10 points
- Yesterday: 8 points
- 2-3 days: 6 points
- 4-7 days: 4 points
- 8-14 days: 2 points
- Older: 1 point

### Input Parameters

#### Required
None - all parameters are optional

#### Optional

| Parameter | Type | Description | Default |
|-----------|------|-------------|---------|
| `tags` | array | Filter by tags (e.g., `["javascript", "python", "react"]`) | `[]` |
| `username` | string | Filter by author username | `""` |
| `top` | string | Top articles period: "1" (today), "7" (week), "30" (month), "365" (year), "infinity" (all-time) | `""` |
| `state` | string | Article state: "fresh" or "rising" | `""` |
| `keywords` | array | Keywords in title/description/tags (e.g., `["AI", "machine learning"]`) | `[]` |
| `minReactions` | integer | Minimum reactions/likes | `0` |
| `minComments` | integer | Minimum comments | `0` |
| `minReadingTime` | integer | Minimum reading time in minutes | `0` |
| `maxResults` | integer | Maximum articles to return (1-1000) | `100` |
| `includeEngagementScore` | boolean | Include AI engagement score | `true` |

### Output

Each article contains:

```json
{
  "id": 123456,
  "title": "Building Scalable APIs with Node.js",
  "description": "Learn how to build production-ready APIs...",
  "url": "https://dev.to/username/building-scalable-apis-123",
  "canonical_url": "https://dev.to/username/building-scalable-apis-123",
  "slug": "building-scalable-apis-123",
  "path": "/username/building-scalable-apis-123",
  "published_at": "2025-11-17T10:00:00Z",
  "readable_publish_date": "Nov 17",
  "created_at": "2025-11-17T09:30:00Z",
  "edited_at": null,
  "last_comment_at": "2025-11-17T12:00:00Z",
  "reading_time_minutes": 8,
  "public_reactions_count": 245,
  "comments_count": 32,
  "tag_list": ["javascript", "nodejs", "api", "backend"],
  "tags": "javascript, nodejs, api, backend",
  "cover_image": "https://res.cloudinary.com/...",
  "social_image": "https://res.cloudinary.com/...",
  "language": "en",
  "author_name": "John Doe",
  "author_username": "johndoe",
  "author_profile_image": "https://res.cloudinary.com/...",
  "author_github": "johndoe",
  "author_twitter": "johndoe",
  "author_website": "https://johndoe.com",
  "engagement_score": 87
}
````

### Example Inputs

#### Get Top JavaScript Articles This Week

```json
{
  "tags": ["javascript"],
  "top": "7",
  "maxResults": 50,
  "includeEngagementScore": true
}
```

#### Find High-Engagement React Articles

```json
{
  "tags": ["react"],
  "minReactions": 100,
  "minComments": 10,
  "maxResults": 100
}
```

#### Track Specific Author

```json
{
  "username": "ben",
  "maxResults": 50
}
```

#### AI & Machine Learning Content

```json
{
  "keywords": ["AI", "machine learning", "neural networks"],
  "minReadingTime": 5,
  "maxResults": 100
}
```

#### Rising Content for Trend Spotting

```json
{
  "state": "rising",
  "tags": ["python", "webdev"],
  "maxResults": 50
}
```

### Pricing

- **Free Tier**: First 100 articles per run
- **Paid**: $0.02 per article after 100

**Examples**:

- 100 articles: **FREE**
- 500 articles: **$8.00**
- 1000 articles: **$18.00**

### Data Source

This actor uses the official Dev.to public API. No authentication required.

### Rate Limits

The actor respects Dev.to API rate limits by:

- Fetching 30 articles per page
- Maximum 20 pages per run
- Proper User-Agent headers

### Support

For issues or questions:

- Check the [Dev.to API Documentation](https://developers.forem.com/api)
- Review the actor source code
- Contact support via Apify platform

### Related actors

- **[tech-stack-detector](https://apify.com/benthepythondev/tech-stack-detector)** — website tech-stack detection
- **[website-tech-detector](https://apify.com/benthepythondev/website-tech-detector)** — website technology detection
- **[github-repository-intelligence](https://apify.com/benthepythondev/github-repository-intelligence)** — GitHub repo metrics
- **[hacker-news-intelligence](https://apify.com/benthepythondev/hacker-news-intelligence)** — Hacker News stories + jobs

### Legal

This actor uses Dev.to's public API in compliance with their terms of service. All data remains property of Dev.to and article authors.

# Actor input Schema

## `tags` (type: `array`):

Filter articles by tags (e.g., \['javascript', 'python', 'react']). Leave empty for all tags.

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

Filter articles by author username. Leave empty for all authors.

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

Get top articles from a specific period.

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

Filter by article state.

## `keywords` (type: `array`):

Filter articles containing specific keywords in title, description, or tags (e.g., \['AI', 'machine learning']). Leave empty for no keyword filtering.

## `minReactions` (type: `integer`):

Only return articles with at least this many reactions/likes.

## `minComments` (type: `integer`):

Only return articles with at least this many comments.

## `minReadingTime` (type: `integer`):

Only return articles with at least this many minutes of reading time.

## `maxResults` (type: `integer`):

Maximum number of articles to return.

## `includeEngagementScore` (type: `boolean`):

Include AI-powered engagement score (0-100) based on reactions, comments, reading time, and recency.

## Actor input object example

```json
{
  "tags": [],
  "username": "",
  "top": "",
  "state": "",
  "keywords": [],
  "minReactions": 0,
  "minComments": 0,
  "minReadingTime": 0,
  "maxResults": 100,
  "includeEngagementScore": true
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("benthepythondev/devto-articles-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("benthepythondev/devto-articles-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 '{}' |
apify call benthepythondev/devto-articles-intelligence --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Dev.to Articles Intelligence - Developer Content AI",
        "description": "Extract trending developer articles from Dev.to with AI engagement scoring. Filter by tags, reactions, comments, and reading time. Perfect for content discovery, research, and competitive analysis. Get top JavaScript, Python, React, and web development content with smart engagement metrics.",
        "version": "1.0",
        "x-build-id": "dPAnPHYSA6RfzTiVs"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/benthepythondev~devto-articles-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-benthepythondev-devto-articles-intelligence",
                "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/benthepythondev~devto-articles-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-benthepythondev-devto-articles-intelligence",
                "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/benthepythondev~devto-articles-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-benthepythondev-devto-articles-intelligence",
                "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",
                "properties": {
                    "tags": {
                        "title": "Tags",
                        "type": "array",
                        "description": "Filter articles by tags (e.g., ['javascript', 'python', 'react']). Leave empty for all tags.",
                        "default": []
                    },
                    "username": {
                        "title": "Username",
                        "type": "string",
                        "description": "Filter articles by author username. Leave empty for all authors.",
                        "default": ""
                    },
                    "top": {
                        "title": "Top Articles Period",
                        "enum": [
                            "",
                            "1",
                            "7",
                            "30",
                            "365",
                            "infinity"
                        ],
                        "type": "string",
                        "description": "Get top articles from a specific period.",
                        "default": ""
                    },
                    "state": {
                        "title": "Article State",
                        "enum": [
                            "",
                            "fresh",
                            "rising"
                        ],
                        "type": "string",
                        "description": "Filter by article state.",
                        "default": ""
                    },
                    "keywords": {
                        "title": "Keywords",
                        "type": "array",
                        "description": "Filter articles containing specific keywords in title, description, or tags (e.g., ['AI', 'machine learning']). Leave empty for no keyword filtering.",
                        "default": []
                    },
                    "minReactions": {
                        "title": "Minimum Reactions",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return articles with at least this many reactions/likes.",
                        "default": 0
                    },
                    "minComments": {
                        "title": "Minimum Comments",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return articles with at least this many comments.",
                        "default": 0
                    },
                    "minReadingTime": {
                        "title": "Minimum Reading Time (minutes)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Only return articles with at least this many minutes of reading time.",
                        "default": 0
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of articles to return.",
                        "default": 100
                    },
                    "includeEngagementScore": {
                        "title": "Include AI Engagement Score",
                        "type": "boolean",
                        "description": "Include AI-powered engagement score (0-100) based on reactions, comments, reading time, and recency.",
                        "default": true
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
