News Article Extractor: Markdown for RAG avatar

News Article Extractor: Markdown for RAG

Pricing

from $1.50 / 1,000 results

Go to Apify Store
News Article Extractor: Markdown for RAG

News Article Extractor: Markdown for RAG

Convert article URLs into clean text, Markdown and structured JSON for RAG pipelines. Extract titles, authors and dates when available, with per-URL error fields. No embeddings or vector database required.

Pricing

from $1.50 / 1,000 results

Rating

0.0

(0)

Developer

Igor Araujo

Igor Araujo

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Security

Limited permissions

Share

News RAG Converter

An Apify Actor that fetches articles from URLs and extracts clean, structured content suitable for RAG (Retrieval-Augmented Generation) and LLM ingestion. Uses trafilatura for intelligent text extraction with a BeautifulSoup fallback.

How It Works

  1. Fetches each article URL via HTTP
  2. Extracts content using trafilatura (ML-based extraction) with BeautifulSoup fallback
  3. Returns clean markdown + structured JSON (title, author, date, full text)
  4. Optimized for RAG pipelines and LLM context windows

Input

FieldTypeDescriptionDefaultRequired
urlsarrayList of article URLs to process (1-100)-Yes
formatstringOutput format: markdown, json, or bothbothNo

Sample Input

{
"urls": [
"https://example.com/article-1",
"https://example.com/article-2"
],
"format": "both"
}

Sample Output

Each item in the dataset includes:

{
"url": "https://example.com/article-1",
"title": "Breaking News: Major Discovery",
"author": "Jane Doe",
"date": "2026-07-03T12:00:00Z",
"text_length": 4523,
"error": "",
"fetched_at": "2026-07-03T15:30:00Z",
"full_text": "The full article text...",
"markdown": "# Breaking News: Major Discovery\n\n**Author:** Jane Doe\n\n..."
}

Use Cases

  • Building RAG knowledge bases from news articles
  • LLM fine-tuning dataset preparation
  • Research and content aggregation
  • Automated news digest generation

Pricing

Pay-per-event at $0.002 per result item.