Article Extractor - Clean Text & Markdown from News URLs avatar

Article Extractor - Clean Text & Markdown from News URLs

Pricing

from $0.70 / 1,000 article extracteds

Go to Apify Store
Article Extractor - Clean Text & Markdown from News URLs

Article Extractor - Clean Text & Markdown from News URLs

Unofficial. Give it article addresses, get one row per article: clean body text, optional Markdown, title, dates, tags, image, language and reading time. Plain requests, robots.txt respected, no login, no key. Pages with no readable article body cost nothing.

Pricing

from $0.70 / 1,000 article extracteds

Rating

0.0

(0)

Developer

Jack Sheward

Jack Sheward

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissions

Share

Give it the addresses of public news, blog or press-release pages and get one row per article with the clean body text, the same article as Markdown (headings, lists, links, block quotes and code blocks kept), the title, description, site name, publication and modification dates, language, section, tags, lead image, canonical link, word count and reading time. Navigation, sidebars, footers, comment sections, share buttons and "related" boxes are left out. It reads the HTML the server sends, as a plain client; it does not run JavaScript, and it does not find articles for you: address in, article out.

Use it to feed articles into a summariser, a search index or an AI pipeline, to build a reading archive or a media-monitoring sheet from a list of links, to compare coverage across sites, or to turn a link list into text for analysis.

  • $1.00 per 1,000 articles. Pay only for rows delivered. No subscription.
  • Nothing to set up. No account, no API key, no proxies.
  • Text and Markdown, ready for AI. Each article comes back as clean plain text and as Markdown, with its title, dates, language, tags and lead image.
  • Clean, consistent fields, ready for CSV, Excel, JSON or a database.
  • Runs on a schedule and connects to the Apify API, Make, Zapier, n8n and AI agents.

Who uses it

  • Developers and data teams feeding article text into search indexes, summarisers and AI agents.
  • Researchers and analysts turning a list of links into text for coding, counting or comparison.
  • Communications and monitoring teams keeping a searchable copy of press releases and blog posts they follow.

What you get

One row per article read:

{
"url": "https://www.nasa.gov/news-release/nasa-awards-moon-base-transportation-technology-science-projects/",
"finalUrl": "https://www.nasa.gov/news-release/nasa-awards-moon-base-transportation-technology-science-projects/",
"title": "NASA Awards Moon Base Transportation, Technology, Science Projects",
"description": "NASA announced a suite of awards and mission updates on Saturday to expand the agency's Moon Base exploration, science, and infrastructure capabilities. The",
"siteName": "NASA",
"publishedAt": "2026-11-07T22:47:03+00:00",
"modifiedAt": "2026-11-07T22:20:20-05:00",
"language": "en-US",
"section": "Moon Base",
"tags": ["Moon Base"],
"image": "https://www.nasa.gov/wp-content/uploads/2026/11/moon-base-artists-concept.jpg",
"canonical": "https://www.nasa.gov/news-release/nasa-awards-moon-base-transportation-technology-science-projects/",
"text": "NASA announced a suite of awards and mission updates on Saturday to expand the agency’s Moon Base exploration, science, and infrastructure capabilities. The investments will advance commercial robotic deliveries, a nuclear-powered rover named PROMISE, launch ...",
"textTruncated": false,
"markdown": "NASA announced a suite of awards and mission updates on Saturday to expand the agency’s Moon Base exploration, science, and infrastructure capabilities. The investments will advance commercial robotic deliveries, a nuclear-powered rover named PROMISE, launch ...",
"wordCount": 1525,
"readingMinutes": 8,
"isAccessibleForFree": null,
"extractedFrom": "article-body-markup",
"scrapedAt": "2026-11-12T00:09:47Z"
}

(text and markdown are shortened here; the real row holds the whole article, 1,525 words in this case. The description ends mid-sentence because the page's own meta tag does.)

What the fields mean.

  • url is the address you gave (with https:// added if you left it out). finalUrl is where the redirects ended. A page is delivered once per run: if two addresses lead to the same final page there is one row.
  • title comes from, in this order, the headline of an article in the page's JSON-LD (the first article entry that has one, even when the article text sits in another entry), og:title, twitter:title, the first <h1>, the <title> element, at most 500 characters. When the page names its site and the title ends with it (" - NASA"), that ending is cut off.
  • description comes from JSON-LD, og:description, the meta description or twitter:description, at most 1,000 characters. siteName is the publisher or site name in JSON-LD (a person is never used), else og:site_name, else application-name; null when the page gives none.
  • publishedAt and modifiedAt are ISO 8601 and are filled only when the page states them: in JSON-LD (datePublished, dateModified), in a meta tag (for example article:published_time, og:updated_time, parsely-pub-date, dcterms.created) or in a <time> element inside the article or marked as published or modified. Otherwise they are null. A date that appears only as words in the visible text (a line such as "11 February 2025") is not read and not guessed. A date without a time stays a date; a time keeps the offset the page gave, and a time the page gives without an offset stays without one. A time written with AM or PM is read on the 12-hour clock (12 AM is 00:00, 12 PM is 12:00). Dates before 1900 or after next year are ignored.
  • language is the lang attribute of <html>, else JSON-LD inLanguage, else og:locale (written with a hyphen). The Actor does not detect the language from the text.
  • section is the first articleSection in JSON-LD, else article:section. tags come from article:tag, the JSON-LD keywords and the keywords or news_keywords meta tags, without repeats, at most 20 of 80 characters each.
  • image is the lead image from JSON-LD, og:image, twitter:image or <link rel="image_src">, as an absolute web address. canonical is the <link rel="canonical"> of the page, as an absolute web address; null when there is none.
  • text is the plain text of the article body: one paragraph, heading or list item per block, separated by blank lines, at most 100,000 characters. textTruncated is true when the text was cut at that limit; no single paragraph or block is cut on its own. wordCount counts the whitespace-separated words of the text in the row, so when textTruncated is true it counts the cut text; text written without spaces (Chinese, Japanese, Thai) is therefore counted low. readingMinutes is wordCount divided by 200, rounded up, at least 1.
  • markdown is the same body as Markdown and is present only when "Include Markdown" is on. It keeps headings (# to ######), bullet and numbered lists (numbered lists keep their numbers, nested lists are indented), links (made absolute; only web links are kept, the text of other links stays), block quotes and code blocks. Bold, italics, images and tables are not kept. It is cut at 100,000 characters too, and can be cut when text is not, because the markup adds characters; textTruncated describes text only.
  • isAccessibleForFree is true or false only when the page's JSON-LD says so (isAccessibleForFree); otherwise null. It is never guessed.
  • extractedFrom says which method found the body: json-ld (the articleBody in the page's JSON-LD), article-body-markup (an element marked as the article body, such as itemprop="articleBody" or a class like entry-content), article-element (the <article> element with the most text), main-element (the <main> element) or text-density (the longest run of text paragraphs on the page). scrapedAt is the UTC time of the run.

How the body is found. The Actor tries, in this order: the JSON-LD articleBody; an element marked as the article body; the largest <article> element; the <main> element; and last the longest run of long, link-poor paragraphs. The first method that yields at least 50 words wins. The JSON-LD text gives way when the page's own markup holds more than twice as many words, because some sites put only a summary there. Text inside <nav>, <header>, <footer>, <aside>, <button>, <figcaption>, scripts, hidden elements and elements of any kind (paragraphs, headings, links, list items, spans and so on) whose class or id begins with a word such as sidebar, menu, comments, share, related, advert or newsletter, or contains byline, author, writer or meta as a word, is left out, and so are very short, link-heavy lines. Short lines of page furniture are dropped by their wording: share and save bars, lines such as "Published on ...", "Issued on ..." or "Updated ...", reading times, "Recommended stories" and "Read more" lines, tag and keyword lines, newsletter calls, image credits, a repeat of the headline, a heading left dangling at the end, and short unpunctuated lines (a category label, a byline, a date) above the first full paragraph. The headline is normally not repeated in the text. Tables are read cell by cell as separate lines.

No author field. There is deliberately no author or byline field, and author values in JSON-LD and meta tags are never read. Elements of any kind marked as bylines or author boxes (by a class or id with the word byline, author or writer, by rel="author" or itemprop="author", or an <address> element) are left out of the text, and so is a short unpunctuated line above the first full paragraph. Names written inside the article text are not removed: a byline that the site writes as a normal sentence or longer paragraph, people quoted in the story and the contact names at the end of a press release stay in text and markdown.

Pages that get no row. A page that cannot be read, or on which no article body of at least 50 words is found, gets no row and costs nothing: disallowed by the site's robots.txt, refused or unreachable, not a public address, larger than 3 MB, slower than 60 seconds, not HTML (a PDF, an image, JSON), a login wall, a bot-challenge page, HTTP 401, 403 or any other error status, or simply no article on it (a home page, a list of links, a page that builds its text with JavaScript). The reason goes to the run log, and the final status message counts the addresses by reason.

Input

FieldWhat it does
Article URLsAddresses of public article pages, one per line, up to 1,000. Duplicates are removed. An address without http:// or https:// gets https://.
Include MarkdownOn by default. Turn off to get plain text only and smaller rows.
Maximum resultsStop after this many articles have been read. Default 100, up to 1,000.

Pages are read one at a time, about a second apart, plus a second for each new site's robots.txt, and the download and reading take a little more. Expect one to two seconds per article: 100 articles take a few minutes, and the prefilled example (three public articles from the Rust blog, the Go blog and NASA) finishes in about fifteen seconds, start-up included.

How to run it

  1. Open the Input tab. The prefilled example works as it is; replace the links with yours.
  2. Press Start. Rows appear in the Output tab as articles are read.
  3. Download the results as JSON, CSV, Excel, XML or HTML, or read them through the Apify API.

How much does it cost?

$1.00 per 1,000 articles ($0.001 per article), plus Apify's standard start charge of $0.00005 per run. There is no subscription and no rental fee.

ResultsCost
100$0.10
1,000$1.00
10,000$10.00

You pay only for rows delivered (the article charge). Platform usage is included in that price, and a run stops at the spending limit you set. The Pricing tab always shows the current price.

FAQ

Do I need an account, an API key or a proxy? No. The Actor reads the public pages you give it and needs nothing else.

Can it find articles for me? No. It reads the addresses you list. It does not crawl a site, read sitemaps or feeds, or search.

Why did a page get no row? It could not be read or holds no article, and it costs nothing. The run log gives the reason for each address, for example: disallowed by robots.txt, not a public address, larger than 3 MB, too slow, not an HTML page, refused by the site, or no article body of at least 50 words found. If no page at all can be read, the run fails and the message lists the reasons.

What about paywalls and logins? Nothing is worked around. The Actor sends one anonymous request and returns what the site answers to it. If that is only the first paragraphs and a subscribe box, the row holds those paragraphs, or no row is delivered when fewer than 50 words are left. isAccessibleForFree is filled only when the page says so itself.

Why was a whole site skipped? If a site refuses a request with a login wall, a CAPTCHA, a bot-detection page or HTTP 401 or 403, the Actor does not force its way in: every later address on that host is skipped for the rest of the run, and other sites are still read. If a site's robots.txt is unreachable or answers with a server error (5xx), the site is refused and every address on that host is skipped. A robots.txt that answers 4xx (401 and 403 included) counts as no rules published (RFC 9309), and the page itself is then requested.

Does it obey robots.txt? Yes, on every page and on every redirect step, and it identifies itself honestly as article-extractor instead of imitating a browser or a search engine. A page that the site's robots.txt disallows for this client is not read. A site that bars all bots in robots.txt therefore cannot be read with this tool, and some large news sites do.

May I reuse the text? The text belongs to its publisher. The Actor returns what the page publishes to an anonymous visitor; it does not give you any right to republish it. Check the site's terms of use and copyright notice before you reuse, store or redistribute the text.

Is it safe to give it any address? The Actor only fetches public web addresses on the standard ports (80 and 443). Addresses that point to private, local or internal machines, or that carry a user name or password, are refused, also when a redirect leads there. Downloads are limited to 3 MB and each page to 60 seconds in total. HTML is read in one pass with the standard parser, with every text field cut and every list capped, and reading stops when an unfinished tag keeps growing past 100,000 characters (the article is then taken from what was read before it). The page itself is parsed without regular expressions; the shared email and phone remover and the standard library's date reader (which only sees strings of at most 64 characters) are the only pattern matching run on page text. Reading one page is limited to 20 seconds, checked between slices of 64 KB of markup, so a page built to be slow (millions of tiny elements) can keep a run busy for several seconds, about 12 seconds in the worst case measured, before it is stopped and skipped as too slow; memory use stays small and flat while it is read.

Something looks wrong or a field is missing? Open the Issues tab on this page and include the address and the input you used.

Limits

  • No JavaScript. Only the HTML the server sends is read. A page that builds its article in the browser has no text for this Actor and gets no row.
  • Not included: author names, comments, related articles, images and video themselves (only the lead image address), tables as tables, PDF files, summaries, sentiment, keywords extracted from the text, language detection from the text, finding articles on a site, and any access behind a login or paywall.
  • Extraction is rule-based. It works well on ordinary article pages and can get unusual layouts wrong: it may keep a short line that belongs to the page furniture (a header such as "Published On", "Save Share" or "per Facebook teilen", a citation or copyright notice, a short byline in a layout the rules do not recognise), drop a part of the article that sits in an element named like furniture, or take the wrong block on a page that is not an article. Check a sample of your sites before you rely on it.
  • Dates are only what the page states in markup. Many pages show a date only in visible text; those rows have publishedAt null.
  • A site that bars all bots in robots.txt cannot be read, and neither can a page that robots.txt disallows for this client. Nothing is worked around.
  • Uses ordinary web requests, one per second, and identifies itself honestly. It keeps no cookies, uses no proxies, does not log in, does not solve CAPTCHAs and does not work around blocks. HTTP 401, 403, 407, 429 (after one wait) and 451 count as a refusal.
  • Address check. The address a name resolves to is checked before each request and each redirect step, and only global (public) unicast addresses pass: private, loopback, link-local, multicast, reserved and unspecified addresses and the NAT64 range are refused. The connection itself resolves the name again, so a name that changes its answer between the check and the connection is not covered.
  • A download larger than 3 MB (after decompression) is not read. A page that takes longer than 60 seconds in total (robots.txt, download and reading together) is skipped. At most 1,000 addresses are read per run.
  • A run stops early once the addresses that could not be read have together taken more than 15 minutes. Addresses after that point are not tried, and the run log says how many. Rows already delivered are kept.
  • Text encoding comes from the HTTP header, else from a <meta charset> near the top of the page, else UTF-8.
  • Redirects are followed one step at a time (five at most), and each step is checked against robots.txt and the address rules.
  • Output is page data. Email addresses are replaced with [email removed] in every text field, and phone numbers with [phone removed] in long free text (80 characters or more with several words), such as text and markdown; this happens before any text is cut. A phone number in a short field is not removed, and neither are names written into the text, a title or a description. Address fields (url, finalUrl, image, canonical) are delivered as they are.
  • Unofficial. Not affiliated with, endorsed by or sponsored by any of the sites whose pages it reads.