Apnews Scraper avatar

Apnews Scraper

Pricing

from $1.00 / 1,000 results

Go to Apify Store
Apnews Scraper

Apnews Scraper

Pricing

from $1.00 / 1,000 results

Rating

0.0

(0)

Developer

Farhan Febrian Nauval

Farhan Febrian Nauval

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Categories

Share

AP News Article Scraper

Extract full article text, byline, publication date, and metadata from any apnews.com URL. The Associated Press publishes breaking news and long-form reporting that is freely accessible to the public, making it one of the most reliable targets for news data collection.

Why Use This Actor?

  • Breaking news ingestion - capture AP real-time wire reports for downstream processing.
  • Media monitoring - track AP coverage of specific topics, regions, or events.
  • Training datasets - AP clear journalistic style is ideal for NLP and ML datasets.

How It Works

This actor uses only HTTP requests - no browser, no Selenium, no Playwright. Articles are extracted in seconds with RAM usage well under 256 MB.

Input

{
"url": "https://apnews.com/article/example-slug-abc123",
"urls": [
"https://apnews.com/article/article-one-abc",
"https://apnews.com/article/article-two-xyz"
]
,
"mode": "article",
"limit": 10
}

Output

{
"url": "https://apnews.com/article/trump-xi-taiwan-iran-trade-e7a3cdf161c608de152ac1c6e5755452",
"source": "AP News",
"title": "Trump weighs Taiwan arms package after summit aimed at steadying US-China ties",
"description": "",
"content": "BEIJING (AP) — U.S. PresidentDonald Trumpsaid Friday that he has not made a decision on whether to move forward with a major arms package for Taiwan after hearing concerns about it from Chinese PresidentXi Jinping. Trump’s comments on Taiwan — a self-ruled island that China claims as its own territory — came as he flew back to Washington after wrapping upcritical talksin which both leaders said important progress was made in stabilizing U.S.-China relations even as deep differences persist betwe...",
"image": "https://dims.apnews.com/dims4/default/135f2cc/2147483647/strip/true/crop/2776x1850+66+0/resize/980x653!/quality/90/?url=https%3A%2F%2Fassets.apnews.com%2F07%2F50%2F6f7c5beb6b29fb2e03fab523490a%2F34161ab9aba54e55824446446258995d",
"language": "en",
"word_count": 1219,
"published_date": "",
"modified_date": "",
"authors": [],
"categories": "",
"tags": ""
}

Fetch Latest News

Set mode to "latest" to fetch the newest article URLs and titles from AP News instead of extracting a single article.

Input:

{
"mode": "latest",
"limit": 10
}

Output - array of objects:

[
{
"url": "https://apnews.com/article/us-iran-war-israel-hormuz-19-april-2026-0a637f98d588930f195f61cffe07d4f3",
"title": "US Navy seizes an Iranian-flagged ship near Strait of Hormuz and Tehran vows swift response",
"source": "AP News"
}
//...
]

Source: https://rsshub.app/apnews/topics/apf-topnews (RSS feed)

Cron Schedule: Auto-Fetch Newest Articles

Combine mode: "latest" and mode: "article" to keep a fresh feed running on autopilot:

  1. Schedule a recurring run of this Actor with {"mode": "latest", "limit": 20} via Apify Schedules (UI ▸ Schedules ▸ Create new). A cron expression like */30 * * * * runs it every 30 minutes.
  2. Webhook the dataset of the latest run into another Actor run with mode: "article" and the new URLs as input — Apify integrations let you chain runs via the "Actor finished" webhook without any glue code.
  3. The article-mode run extracts the full body, image, authors, and metadata for each URL and appends to your master dataset.

Common cron expressions:

FrequencyCron
Every 15 minutes*/15 * * * *
Hourly0 * * * *
Every 6 hours0 */6 * * *
Daily at 06:00 UTC0 6 * * *

Notes

  • AP articles do not require login - all content is returned in full
  • Category and tag pages are not supported; pass individual article URLs only

Other News Actors

Need a different news source? All actors in this collection:

ActorSource
aljazeera-scraperAl Jazeera
apnews-scraperAP News
bbc-scraperBBC News
cnbc-scraperCNBC
forbes-scraperForbes
fortune-scraperFortune
ft-scraperFinancial Times
guardian-scraperThe Guardian
msn-scraperMSN News
nytimes-scraperNew York Times
reuters-scraperReuters
scmp-scraperSouth China Morning Post
techcrunch-scraperTechCrunch
upi-scraperUPI
yahoo-finance-scraperYahoo Finance
smart-news-loaderAny URL - adaptive HTTP loader
bloomberg-scraperBloomberg

All actors support mode: "latest" for fetching newest article URLs from each source.