DEV.to Articles Scraper avatar

DEV.to Articles Scraper

Pricing

from $0.15 / 1,000 article saveds

Go to Apify Store
DEV.to Articles Scraper

DEV.to Articles Scraper

Scrape public DEV Community articles by tag, username, or article URL with metadata, engagement metrics, authors, tags, and optional body content.

Pricing

from $0.15 / 1,000 article saveds

Rating

0.0

(0)

Developer

Fetch Cat

Fetch Cat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

2

Monthly active users

13 days ago

Last modified

Security

Limited permissions

Share

Export public DEV Community articles by tag, author username, or exact article URL. DEV.to Articles Scraper returns article metadata, author details, tags, engagement counts and optional article text for content research, newsletters and structured datasets. No DEV.to login or API key is required. Drafts and private account data are not supported.

Quick start

  1. Choose a mode and supply its tags, usernames or article URLs.
  2. Start with a small article limit:
{
"mode": "tag",
"tags": ["javascript"],
"maxItems": 20
}
  1. Open the resulting dataset and export JSON, CSV or Excel, or retrieve it through the API.

Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.

What you get

One row per distinct public article saved in the run, with its source link, title and available author, tag, date and engagement fields. Optional article text can be included when available. Missing source values remain null, and metadata can survive an unsuccessful optional text lookup.

Who is it for?

  • Developer-relations researchers reviewing topics and public engagement in a developer community.
  • Newsletter editors preparing article shortlists for manual reading and selection.
  • Content researchers reviewing an author's public writing and available profile links.
  • Text-analysis teams collecting available article Markdown or HTML for their own analysis.

How you can use the data

  • Prepare a JavaScript reading shortlist. Collect a small tag sample and export title, url, tags, publishedAt and readingTimeMinutes. Review the source articles before choosing what to share.
  • Review a public author's writing. Use username mode for ben and keep author identity, article links and publication dates together. Available GitHub, website or other profile links are public source fields, not verified contact records.
  • Curate a recent AI-topic sample. Request the existing top filter and seven-day timeframe for ai. Compare reaction and comment counts within the collected sample, without treating it as a locally ranked or complete list of every matching article.
  • Analyze one known article's text. Supply its exact public URL and request available body content. Check bodyFetchWarning before treating a missing body as empty writing. Store id and collection time if you compare later exports in your own workflow.

Input settings

Author research: collect up to ten public articles by one author.

{"mode":"username","usernames":["ben"],"maxItems":10}

Topic curation: request DEV's top-article window for a tag. Upstream ordering and filter support can vary. This is not a guaranteed local ranking of every matching article.

{"mode":"tag","tags":["ai"],"sort":"top","topTimeframeDays":7,"maxItems":20}

Known article: request a public article and its available text.

{"mode":"articleUrls","articleUrls":[{"url":"https://dev.to/ben/meme-monday-590l"}],"includeArticleBody":true,"maxItems":1}

More input

Setting / API keyMeaning
Scrape mode / modetag (default), username or articleUrls. Supply at least one source for the chosen mode.
Tags / tagsUp to 100 entries. Only used in tag mode. The form prefill is not an API default.
Usernames / usernamesUp to 100 entries. Only used in username mode.
Article URLs / articleUrlsUp to 100 public HTTPS DEV article URLs, as strings or objects with url.
Maximum articles / maxItemsTotal saved articles across sources. 1–10,000, default 20. Sources are processed in input order.
Sort order / sortlatest (default) keeps DEV's default listing order. top requests its top filter. No local sorting. Not applicable to exact URLs.
Top timeframe / topTimeframeDays1–365 days, default 7. Used only with top in listing modes, where supported by DEV.
Include article body / includeArticleBodyDefault false. Request missing article text. Availability is not guaranteed. Exact-URL responses can already include text even when this is off.

The mode's source list is required at runtime. For API calls, supply it explicitly: opening the form with sample tags does not make an empty API input valid. Use the field help for detailed limits.

Output data

One dataset row represents one distinct article in the run. Missing source values are null. Body and source-specific fields are conditional.

Illustrative shape only, not an observed article:

{
"id": 123,
"title": "Example article title",
"url": "https://dev.to/example/example-article",
"tags": ["javascript"],
"authorUsername": "example",
"publicReactionsCount": 0,
"commentsCount": 0,
"publishedAt": null,
"inputMode": "tag",
"sourceTag": "javascript"
}
FieldsContents
id, title, description, url, canonicalUrl, slug, pathArticle identity, summary and links.
publishedAt, editedAt, readablePublishDate, language, readingTimeMinutesAvailable dates, language and reading-time estimate.
tags, tagListEquivalent tag arrays retained for compatibility.
commentsCount, publicReactionsCount, positiveReactionsCountSource-reported engagement counts.
coverImage, socialImageAvailable image URLs, not downloaded files.
authorName, authorUsername, authorUserId, authorProfileImageAvailable public author details.
authorGithubUsername, authorTwitterUsername, authorWebsiteUrlPublic profile links or handles, when supplied.
bodyMarkdown, bodyHtml, bodyFetchWarningAvailable article text. A warning can indicate an unsuccessful optional text lookup.
scrapedAt, inputMode, sourceTag, sourceUsername, sourceArticleUrlCollection time, mode and the first matching input source.

Download your results

Open your run's dataset, choose Export and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.

See Apify's download and export guide for the available formats and field options.

Pricing

Pay-per-event pricing uses a one-time start event and an item event for each article saved to the dataset. An article saved without optional body content still counts as an item. A successful empty list produces no item events, but the start event still applies.

See the live Pricing tab for current rates and discounts.

Tips for best results

  • Supply the chosen mode's source list explicitly. Form sample tags do not make an empty API input valid.
  • Start with a small total cap. The article limit is shared across sources, which are processed in input order.
  • Check optional text warnings before analysis. Metadata can be saved even when a body lookup fails.
  • Compare counts within the returned sample. DEV controls listing order and top-filter support, and multiple sources are not merged into a global ranking.
  • Read the outcome before repeating a request. Saved rows can remain after a time-limited run, and unavailable exact URLs differ from a completed empty listing.

Limits and caveats

Only public articles are supported, without DEV.to login or an API key. Drafts, private account data and unavailable article bodies are not guaranteed. An unavailable exact article URL can fail the run, while a completed empty listing can succeed without records.

The total article cap applies across sources in input order. DEV controls listing order and filter support, with no local sorting or complete-coverage guarantee. Upstream changes and rate limits can affect the result set. Exact-URL responses may already contain body text even when optional body lookup is disabled.

Saved articles remain available if the run stops near its time limit. Optional text failures retain article metadata with bodyFetchWarning. When available, RUN_SUMMARY reports saved articles, warnings and status, while PENDING_WORK describes unfinished work. These records are separate from article rows, their storage is best effort, and they do not establish automatic recovery.

Automation and integrations

Save your settings for next time

Once you have an input that works for you, save it as an Apify task. This keeps your settings together so you can use them again without filling in the form from scratch.

Run on a schedule

Need fresh results regularly? You can schedule the Actor or a saved task to run at a time that suits you.

Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.

Send results to your other tools

Use n8n, Make or Zapier to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the Apify integration guides for your chosen tool.

For a custom connection, an Apify webhook can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.

API usage

Want to collect this data from your own app or automation? The examples below send input to the scraper and show how to collect its results.

The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its defaultDatasetId to fetch the results.

For setup instructions, see Apify's JavaScript client guide, Python client guide and Actor runs API reference.

cURL

curl -X POST 'https://api.apify.com/v2/acts/fetch_cat~devto-articles-scraper/runs' \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H 'Content-Type: application/json' \
--data @- <<'JSON'
{
"mode": "tag",
"tags": [
"javascript"
],
"maxItems": 20
}
JSON

Node.js

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/devto-articles-scraper').call({
"mode": "tag",
"tags": [
"javascript"
],
"maxItems": 20
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Python

import os
from apify_client import ApifyClient
client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('fetch_cat/devto-articles-scraper').call(run_input={'mode': 'tag', 'tags': ['javascript'], 'maxItems': 20})
print(client.dataset(run['defaultDatasetId']).list_items().items)

MCP and AI agents

You can ask your AI assistant to collect data with DEV.to Articles Scraper and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.

Connect your assistant through the Apify MCP server. MCP gives your assistant a way to find this scraper, run it and read the results. Follow the official setup and sign-in guide for your app.

Easier setup with an Apify plugin

If you use a supported coding assistant, the official Apify plugin can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.

Use Apify AI in Console

Prefer to keep everything in Apify? Open Apify AI in Console and ask it to find Fetch Cat's DEV.to Articles Scraper. You can describe the data you want and ask questions about the results.

Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.

Choose your assistant

Connect just this scraper

To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:

{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=fetch_cat/devto-articles-scraper"
}
}
}

Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.

Use Apify's general server

Already connected to the general Apify MCP server at https://mcp.apify.com? You can use it to find this scraper without adding another server. Ask your assistant to use DEV.to Articles Scraper by Fetch Cat, or give it the identifier fetch_cat/devto-articles-scraper.

Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service.

Example requests

  • “Use Fetch Cat’s DEV.to Articles Scraper to collect up to 5 JavaScript articles. Show titles, article links, publication dates and reading-time estimates for a reading shortlist.”
  • “Collect at most 5 public articles by the DEV username ben. Include author names, article links and available public profile links, marking missing fields.”
  • “Retrieve up to 5 AI-tag articles using the top filter for the last 7 days. Show reaction and comment counts within this sample, and include any ordering or coverage caveats rather than calling it a complete popularity ranking.”

Normal Apify charges apply. Check the live Pricing tab before asking your assistant to run a larger batch.

Pay with x402

If your AI agent has a funded wallet, it can pay for Apify usage through x402. This experimental option lets an agent use Apify without a conventional account.

Apify AGI provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.

Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.

Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.

Other ways for agents to pay

Apify also supports MPP for prepaid access through AGI and Skyfire for eligible Actors. If your agent already uses one of these, see the agentic payment guide to choose the right setup.

FAQ

Can I use this as a DEV.to articles API alternative?

Yes, for collecting the supported public article data through Apify. It is not an official DEV Community product and does not access account-only data.

Can I export DEV.to articles to CSV or JSON?

Yes. Export the saved dataset through Apify, or retrieve records using the API.

Does it guarantee the newest or highest-reaction articles?

No. Listing order and top-filter behavior are controlled by DEV. Sort collected records yourself when you need a specific ranking.

Why is body text missing?

Enable includeArticleBody to request available text. Some articles or optional lookups may be unavailable. Metadata can still be saved and charged as an item.

Why did an empty API input fail?

Supply the source list for the selected mode. Tags and usernames shown in the form are prefills, not defaults for omitted API fields.

Support and feedback

For custom additions or integrations, email hello@fetchcat.dev.

Found an error or have a feature request? Open an issue with the run URL, a non-sensitive input example and what you expected.

Need help sharing it? See Apify’s guide to sharing a run when reporting an issue. Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.

Tried this scraper? We'd love to hear how it worked for you. Leave a review to help others choose the right tool and help us improve it. Your feedback means a lot to us.

Made with care for curious people, AI agents and the possibilities in data. ♥