# Defense News Scraper: Military & Security Articles (`bite-sized-insights/defense-news-scraper`) Actor

Collect defense and security news from 40+ outlets as full-text JSON. Covers procurement, naval, air and land systems, drones, cyber, space and think-tank analysis. Filter by keyword and date, and add optional sentiment, tags and summaries.

- **URL**: https://apify.com/bite-sized-insights/defense-news-scraper.md
- **Developed by:** [bite-sized-insights](https://apify.com/bite-sized-insights) (community)
- **Categories:** News, AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.17 / 1,000 articles

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**Defense news RSS to full text: collect articles from 40+ defense and security outlets, think tanks and official sources** including Breaking Defense, Defense One, Defense News, The War Zone, USNI News, War on the Rocks and RAND. Get military and security news as JSON with title, full text, authors, publish date and source domain instead of bare RSS snippets, filter by keyword or date range, and add per-article sentiment, tags or summaries. A defense news API for procurement, naval, air and land systems, drones, cyber and space.

No login required. No API keys to manage. Just set your filters and start collecting articles.

### Why Defense News?

Defense and security coverage is spread across trade press, service magazines, think tanks and official publications, and most of their RSS feeds carry only a headline or a short teaser. This actor reads the feeds of a broad set of defense outlets and downloads and extracts every article, so one run returns comparable full text across all of them.

- **Defense industry and procurement monitoring:** Track contracts, programs, budgets and acquisition decisions across outlets
- **Security and geopolitical research:** Follow conflicts, force posture and policy analysis from news outlets and think tanks
- **Newsletters and curation:** Build a daily defense digest with `with_summary` and `with_tags`
- **Trend and sentiment analysis:** Score coverage with `with_sentiment` to track how a program, system or company is covered

**RSS readers and single-feed scrapers** return headlines and teasers, one feed at a time. This actor merges 40+ outlets into one deduplicated, interleaved dataset and returns the full article text. **Google News scrapers** return an algorithmic mix of outlets for a query; here the outlets are a fixed list you can toggle individually. **Single-outlet scrapers** need one run per outlet. **The `us` and `uk` News Collectors** cover general national news; this actor covers defense and security outlets worldwide.

### Quick Start

#### Default: Get 100 Recent Articles

```json
{
  "limit": 100
}
```

#### Topic news

```json
{
  "search_query": "drone",
  "limit": 100
}
```

#### Exclude outlets

```json
{
  "limit": 100,
  "dvids": false,
  "eurasian_times": false
}
```

#### Articles from a Date Range

```json
{
  "start_date": "2026-02-01",
  "end_date": "2026-02-15",
  "limit": 500
}
```

#### Add-ons: Sentiment and Tags

```json
{
  "search_query": "procurement",
  "with_sentiment": true,
  "with_tags": true,
  "limit": 100
}
```

#### Unlimited (All Available Articles)

```json
{
  "limit": 0
}
```

### Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `search_query` | string | No | - | Filter articles by keyword. Only articles matching any word of the query in title, text, description or URL (case-insensitive) will be returned. Up to 100 characters. |
| `start_date` | date | No | - | Only include articles published on or after this date (YYYY-MM-DD). Must not be in the future. |
| `end_date` | date | No | - | Only include articles published up to this date (YYYY-MM-DD, taken as 00:00:00 when no time is given). Must not be older than 5 years. |
| `limit` | integer | No | 100 | Maximum number of articles to return. Set to `0` for unlimited. Max: 10,000. |
| `with_sentiment` | boolean | No | `false` | Add a sentiment score to each article (positive/negative/neutral + confidence). $0.20 / 1,000 articles. |
| `with_tags` | boolean | No | `false` | Add LLM-generated category tags to each article. $1.50 / 1,000 articles. |
| `with_summary` | boolean | No | `false` | Add an LLM-generated compact summary to each article. $2.50 / 1,000 articles. |
| `with_5w1h` | boolean | No | `false` | Add Who/What/When/Where/Why/How extraction to each article. Requires at least 50 characters of article text. $4.00 / 1,000 articles. |
| `with_language_detection` | boolean | No | `false` | Detect the language of each article's text (language code, confidence, candidate languages). It is stored separately in `detected_language`; the source-declared `language` stays unchanged. $0.10 / 1,000 articles. |
| `with_fix_text` | boolean | No | `false` | Repair garbled text (mojibake, broken encoding) in each article. The repaired text is returned in `fixed_text`; `text` stays unchanged, and other add-ons then analyse the fixed text. Charged only for articles whose text was actually repaired (`changed` is true). $1.25 / 1,000 articles. |

#### Filtering Details

- **Search query** (up to 100 characters) is split into words; an article is kept if **any** word appears (case-insensitive) in its title, text, description or URL.
- **Date filters** apply to the article's `date_publish` field. Articles without a publish date are included (can't be ruled out).
- Filters are applied by the news API after the article content has been fetched, so the actor may fetch more articles in the background than the final result count.

#### Source Selection

Each news source can be individually enabled or disabled via a toggle. **All sources are enabled by default.** Set a source to `false` to exclude it from the run.

See the [Supported News Sources](#supported-news-sources) section below for the full list of available source keys.

### Supported News Sources

The actor reads the feeds of the outlets below, one toggle per outlet. All are enabled by default. Several outlets are opinion-heavy, advocacy-leaning or publish official press material (for example official armed-forces channels); switch those off if you only want independent reporting. Think tanks and general outlets cover topics beyond defense: use `search_query` to narrow the results.

#### Defense News

| Source | Domain | Summary |
|--------|--------|---------|
| Breaking Defense | breakingdefense.com | Pentagon, procurement, programs and budget reporting with full text. |
| Defense One | defenseone.com | Defense and national-security policy, technology and strategy reporting. |
| Defense News | defensenews.com | Global defense programs, budgets and contracts (Sightline Media). |
| Military Times | militarytimes.com | Service-member news: pay, policy, deployments (Army/Navy/Air Force Times family). |
| The War Zone | twz.com | Deep-dive analysis of weapons, aircraft, ships and conflicts. |
| DefenseScoop | defensescoop.com | Pentagon technology, AI, cyber and IT policy. |
| Task & Purpose | taskandpurpose.com | Military news and culture; part lifestyle. |
| Defence Blog | defence-blog.com | Fast daily military news and equipment stories. |
| ExecutiveGov | executivegov.com | Government contracting, DoD programs and leadership moves. |
| EurAsian Times | eurasiantimes.com | Global military-technology and geopolitics stories; headline-driven tone. |
| DefenseTalks | defensetalks.com | Equipment, contracts and tests, international coverage. |
| Global Defense Corp | globaldefensecorp.com | Daily defense news with a Ukraine and drone focus. |
| Defense Mirror | defensemirror.com | Short news items on naval, air and land procurement. |
| Military & Aerospace Electronics | militaryaerospace.com | Defense electronics, sensors and contract news; some marketing. |

#### Naval, Air & Land

| Source | Domain | Summary |
|--------|--------|---------|
| USNI News | news.usni.org | US Navy fleet tracker, command changes and naval policy. |
| Seapower | seapowermagazine.org | Navy League magazine: sea services, shipbuilding and policy. |
| Naval Today | navaltoday.com | Daily global naval news. |
| Navy Lookout | navylookout.com | Royal Navy analysis, programs and shipbuilding (same content as Save the Royal Navy). |
| Naval Technology | naval-technology.com | Naval programs, ships and systems news (Verdict/GlobalData network). |
| Army Technology | army-technology.com | Land systems, vehicles and contract news (Verdict/GlobalData network). |
| Airforce Technology | airforce-technology.com | Combat aircraft, air defence and air-force program news (Verdict/GlobalData network). |
| Air & Space Forces Magazine | airandspaceforces.com | USAF and Space Force news, programs and Air Force Association analysis. |
| The Aviationist | theaviationist.com | Military aviation news and analysis, long form. |
| AeroTime | aerotime.aero | Aviation news incl. military; mixed with civil aviation. |
| Soldier Systems Daily | soldiersystems.net | Soldier equipment, small arms and kit industry news. |
| Armada International | armadainternational.com | Land, air and naval defense technology and procurement magazine. |
| SOFREP | sofrep.com | Special operations news and veteran-written commentary. |
| Naval News | navalnews.com | Global naval news and shipbuilding programs; recovered from round-1 rejection (the www feed works now). |
| gCaptain | gcaptain.com | Maritime industry incl. naval shipbuilding and security; mixed with commercial shipping. |

#### Drones & Military Tech

| Source | Domain | Summary |
|--------|--------|---------|
| DroneXL | dronexl.co | Drone industry news incl. defense and regulation. |
| DroneDJ | dronedj.com | Drone news and regulation; includes consumer topics. |
| DroneLife | dronelife.com | Commercial and defense drone industry news. |
| sUAS News | suasnews.com | Small UAS product and program news. |
| Unmanned Airspace | unmannedairspace.info | UAS, counter-UAS and airspace integration news; shorter items. |

#### Cyber & Space

| Source | Domain | Summary |
|--------|--------|---------|
| The Record | therecord.media | Cyber and national-security reporting (Recorded Future News). |
| CyberScoop | cyberscoop.com | Government and defense cyber policy and incidents. |
| Industrial Cyber | industrialcyber.co | OT and critical-infrastructure security, long articles. |
| SpaceNews | spacenews.com | Space industry, Space Force and military space programs. |
| Payload | payloadspace.com | Space business and defense-space news. |
| European Spaceflight | europeanspaceflight.com | European launch, satellite and space-defense news. |
| SpacePolicyOnline | spacepolicyonline.com | Space policy, budgets and weekly congressional outlook. |
| The CyberWire | thecyberwire.com | Daily cyber news and threat reporting, incl. state actors. |

#### Think Tanks & Research

| Source | Domain | Summary |
|--------|--------|---------|
| War on the Rocks | warontherocks.com | National-security analysis by practitioners and academics. |
| RAND | rand.org | New RAND reports and commentary (all topics, many defense). |
| Atlantic Council | atlanticcouncil.org | Transatlantic security, Russia, China and defense policy analysis. |
| Stimson Center | stimson.org | Arms control, peace and security research; broad topics. |
| Modern War Institute | mwi.westpoint.edu | West Point research on land warfare, doctrine and leadership. |
| RUSI Commentary | rusi.org | UK defense and security think-tank commentary. |
| CIMSEC | cimsec.org | Maritime security and naval strategy essays. |
| Think Defence | thinkdefence.co.uk | UK defense blog with weekly digests and long analysis. |
| Long War Journal | longwarjournal.org | FDD reporting on jihadist groups, Iran and conflicts. |
| Just Security | justsecurity.org | Law, policy and national-security analysis. |
| The Cipher Brief | thecipherbrief.com | Intelligence and national-security expert analysis. |
| Defense Priorities | defensepriorities.org | Restraint-oriented defense policy commentary; shorter pieces. |
| Small Wars Journal | smallwarsjournal.com | Irregular warfare and strategy essays. |
| Responsible Statecraft | responsiblestatecraft.org | Quincy Institute foreign and defense policy analysis (restraint view). |
| CEPA | cepa.org | Central and Eastern Europe security and NATO analysis. |
| ICDS | icds.ee | Estonian institute: Baltic security, Russia and NATO research. |
| Bellingcat | bellingcat.com | OSINT investigations of conflicts and weapons; publishes irregularly. |

#### Analysis, Policy & Arms Control

| Source | Domain | Summary |
|--------|--------|---------|
| 19FortyFive | 19fortyfive.com | Weapons and geopolitics commentary; opinion-heavy. |
| The National Interest | nationalinterest.org | Foreign and defense policy, many weapons pieces. |
| EU Institute for Security Studies | iss.europa.eu | EU security and defense policy analysis. |
| CDA Institute | cdainstitute.ca | Canadian defense and security policy, rearmament and budgets. |
| Ploughshares Fund | ploughshares.org | Nuclear and arms-control policy analysis and commentary; advocacy tone. |
| ChinaTalk | chinatalk.media | Long-form China, tech and defense-industrial analysis (Substack). |
| Global Security Review | globalsecurityreview.com | Security and deterrence analysis, incl. space and nuclear. |
| Geopolitical Monitor | geopoliticalmonitor.com | Geopolitics and security analysis; only part defense. |
| Military History Now | militaryhistorynow.com | Military history and analysis; weekly-ish cadence. |
| Federal News Network Defense | federalnewsnetwork.com | DoD workforce, acquisition and policy reporting. |
| Government Executive Defense | govexec.com | Pentagon management, personnel and policy. |

#### Official & Government

| Source | Domain | Summary |
|--------|--------|---------|
| U.S. Department of Defense (defense.gov) | defense.gov | Official Pentagon news and releases. |
| U.S. Air Force (af.mil) | af.mil | Official Air Force news and leadership statements. |
| UK Ministry of Defence | gov.uk | Official UK MoD announcements and policy (Atom). |
| GAO Reports | gao.gov | Government audit reports; all agencies, many on DoD programs. |
| DVIDS | dvidshub.net | Official US military public-affairs stories; PR style. |
| UK MoD science and cyber (gov.uk) | gov.uk | gov.uk Dstl organisation Atom feed; same platform and publisher group as uk_mod in round 1. |

#### UK & Europe

| Source | Domain | Summary |
|--------|--------|---------|
| UK Defence Journal | ukdefencejournal.org.uk | UK defence news and procurement. |
| European Security & Defence | euro-sd.com | European defence industry and procurement news. |
| Defence Industry Europe | defence-industry.eu | European defence industry and NATO news. |
| Defence24 | defence24.com | Polish defence outlet in English: NATO eastern flank, procurement, Ukraine. |
| Army Inform (Ukraine MoD) | armyinform.com.ua | Official Ukrainian armed-forces news in English; PR-leaning. |
| Kyiv Independent | kyivindependent.com | War and politics reporting from Ukraine; mixed beyond defense. |
| Kyiv Post | kyivpost.com | Ukraine war and security news; broader than defense. |

#### Asia-Pacific

| Source | Domain | Summary |
|--------|--------|---------|
| Asian Military Review | asianmilitaryreview.com | Asia-Pacific defense procurement and capability news. |
| The Strategist (ASPI) | aspistrategist.org.au | Australian strategic policy institute analysis on Indo-Pacific defense. |
| The Diplomat | thediplomat.com | Asia-Pacific politics and security; broad, only part defense. |
| Indian Defence Review | indiandefencereview.com | Indian military and strategic news. |
| Defence Security Asia | defencesecurityasia.com | Asia-Pacific military news (English edition), broader than round 1 saw. |
| IDRW | idrw.org | Indian defence news and procurement; fast and sometimes rumour-style. |
| Bharat Shakti | bharatshakti.in | Indian defence and strategy news. |
| ThePrint Defence | theprint.in | Indian defence category feed with analysis and reporting. |
| The Interpreter (Lowy Institute) | lowyinstitute.org | Indo-Pacific strategy analysis; only part defense. |

#### Africa & Middle East

| Source | Domain | Summary |
|--------|--------|---------|
| Military Africa | military.africa | African military and arms-trade news; mixed quality. |
| defenceWeb | defenceweb.co.za | South African and African defence, security and aerospace news. |
| Africa Defense Forum | adf-magazine.com | US Africa Command magazine: African security cooperation. |
| Alma Research and Education Center | israel-alma.org | Israeli northern-front threat analysis (Hezbollah, Iran). |

Source keys for the input: `breaking_defense`, `defense_one`, `defense_news`, `military_times`, `the_war_zone`, `defensescoop`, `task_and_purpose`, `defense_blog`, `executivegov`, `eurasian_times`, `defensetalks`, `global_defense_corp`, `defense_mirror`, `military_aerospace`, `usni_news`, `seapower`, `naval_today`, `navy_lookout`, `naval_technology`, `army_technology`, `airforce_technology`, `air_space_forces`, `the_aviationist`, `aerotime`, `soldier_systems`, `armada_international`, `sofrep`, `naval_news`, `gcaptain`, `dronexl`, `dronedj`, `dronelife`, `suas_news`, `unmanned_airspace`, `the_record`, `cyberscoop`, `industrial_cyber`, `spacenews`, `payload_space`, `european_spaceflight`, `spacepolicyonline`, `the_cyberwire`, `war_on_the_rocks`, `rand`, `atlantic_council`, `stimson`, `modern_war_institute`, `rusi_commentary`, `cimsec`, `think_defence`, `long_war_journal`, `just_security`, `cipher_brief`, `defense_priorities`, `small_wars_journal`, `responsible_statecraft`, `cepa`, `icds`, `bellingcat`, `e19fortyfive`, `national_interest`, `iss_europa`, `cdfai`, `ploughshares`, `chinatalk`, `global_security_review`, `geopolitical_monitor`, `military_history_now`, `federal_news_network_defense`, `govexec_defense`, `dod_news`, `af_mil`, `uk_mod`, `gao`, `dvids`, `gov_uk_dstl`, `uk_defence_journal`, `euro_defence_news`, `defence_industry_europe`, `defence24`, `armyinform`, `kyiv_independent_news`, `kyiv_post`, `asian_military_review`, `aspi_strategist`, `the_diplomat`, `indian_defence_review`, `defence_security_asia`, `idrw`, `bharat_shakti`, `theprint_defence`, `lowy_interpreter`, `military_africa`, `defenceweb`, `adf_magazine`, `alma_center`.

### Output Example

Each article is returned as a structured object with full text and metadata:

```json
{
  "url": "https://www.defensenews.com/2026/02/15/example-article",
  "article_title": "Example article headline",
  "authors": [
    "Author Name"
  ],
  "date_publish": "2026-02-15T10:30:00",
  "article_description": "Brief summary of the article content.",
  "text": "Full article text extracted from the page...",
  "language": "en",
  "image_url": "https://www.defensenews.com/image.jpg",
  "source_domain": "www.defensenews.com",
  "type": "article",
  "sentiment": null,
  "tags": null,
  "summary": null,
  "five_w1h": null,
  "detected_language": null,
  "fixed_text": null,
  "error": null
}
```

#### Output Fields

| Field | Type | Description |
|-------|------|-------------|
| `url` | string | Full URL of the article |
| `article_title` | string | Article headline |
| `authors` | array | List of author names |
| `date_publish` | string | Publication date (ISO 8601) |
| `article_description` | string | Article summary / meta description |
| `text` | string | Full article text |
| `language` | string | Language code (e.g. `en`) |
| `image_url` | string | URL of the main article image |
| `source_domain` | string | Domain name of the news source |
| `type` | string | Page type: `article`, `video` or `audio`. Video and audio pages (iPlayer, Sounds, video player pages, podcast episodes) have little or no text - filter on `type` to keep articles only |
| `sentiment` | object | Sentiment result - `null` unless `with_sentiment` was requested and succeeded |
| `tags` | object | Tag extraction result - `null` unless `with_tags` was requested and succeeded |
| `summary` | object | Summary result - `null` unless `with_summary` was requested and succeeded |
| `five_w1h` | object | 5W1H extraction result - `null` unless `with_5w1h` was requested and succeeded |
| `detected_language` | object | Language detection result - `null` unless `with_language_detection` was requested and succeeded |
| `fixed_text` | object | Fixed text result - `null` unless `with_fix_text` was requested and succeeded |
| `error` | string | Reserved for future use - always `null` (failed extractions are omitted, not pushed with an error) |

#### Failed Articles

Articles that can't be extracted (paywall, timeout, blocked, etc.) are silently skipped and never appear in the output dataset. Only successfully extracted articles (with non-empty text) are pushed.

### Pricing: Pay As You Go

This actor uses Apify's pay-per-event billing model.

| Event | Cost | Description |
|-------|------|-------------|
| Actor start | $0.0002 | Charged once per run |
| Article | $1.80 / 1,000 articles | Charged per successfully extracted article |
| Sentiment add-on | $0.20 / 1,000 articles | Optional, only charged when `with_sentiment` succeeds |
| Tags add-on | $1.50 / 1,000 articles | Optional, only charged when `with_tags` succeeds |
| Summary add-on | $2.50 / 1,000 articles | Optional, only charged when `with_summary` succeeds |
| 5W1H add-on | $4.00 / 1,000 articles | Optional, only charged when `with_5w1h` succeeds |
| Language detection add-on | $0.10 / 1,000 articles | Optional, only charged when `with_language_detection` succeeds |
| Fix text add-on | $1.25 / 1,000 articles | Optional, only charged for articles whose text was repaired (`changed` is true), when `with_fix_text` succeeds |

**Key billing details:**

- **Only successful articles are charged:** Failed extractions are free
- **Enrichment add-ons are opt-in and charged separately:** each `with_*` add-on is only billed for articles it successfully enriched - skipped (too-short) or failed items are free
- **Free plan:** 5 free runs per account, each limited to 10 articles; paid plans are not limited
- **No minimum commitment:** Pay only for what you use
- **Budget controls:** Set spending limits in your Apify account
- **Discounts available:** Gold, Silver and Bronze members of Apify receive discounts.

### API Integration

#### Call via Apify API

```bash
curl -X POST "https://api.apify.com/v2/acts/bite-sized-insights~defense-news-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 100, "search_query": "procurement"}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("bite-sized-insights/defense-news-scraper").call(
    run_input={
        "limit": 100,
        "search_query": "procurement",
        "start_date": "2026-02-01",
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    if item.get("error"):
        continue
    print(f"[{item['source_domain']}] {item['article_title']}")
    print(f"  {item['url']}")
    print(f"  Published: {item['date_publish']}")
    print()
```

#### JavaScript / Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('bite-sized-insights/defense-news-scraper').call({
    limit: 100,
    search_query: 'procurement',
    start_date: '2026-02-01',
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
items
    .filter(item => !item.error)
    .forEach(item => {
        console.log(`[${item.source_domain}] ${item.article_title}`);
        console.log(`  ${item.url}`);
    });
```

### Use Cases

- **Defense industry and procurement monitoring:** Track contracts, programs, budgets and acquisition decisions across outlets
- **Security and geopolitical research:** Follow conflicts, force posture and policy analysis from news outlets and think tanks
- **Newsletters and curation:** Build a daily defense digest with `with_summary` and `with_tags`
- **Trend and sentiment analysis:** Score coverage with `with_sentiment` to track how a program, system or company is covered
- **LLM and RAG pipelines:** Feed clean full-text defense articles into models and retrieval indexes

### Advanced Usage

#### Scheduled Monitoring

Set up recurring runs to build a continuous news archive:

1. Go to the actor's **Schedules** tab
2. Create a new schedule (e.g., every 6 hours)
3. Configure your input with the desired limit
4. Results accumulate in datasets for historical analysis

#### Integration with Google Sheets

Export results directly to Google Sheets:

1. Run the actor
2. Go to the dataset
3. Click **Export** > **Google Sheets**

### Technical Details

#### How It Works

1. **Discovery:** The actor queries the news sources to find article URLs
2. **Pre-filtering:** Articles are filtered early based on discovery metadata (date, title keyword) to skip irrelevant downloads
3. **Deduplication:** Duplicate URLs across sources are removed, and articles are interleaved round-robin across sources for fair distribution
4. **Extraction:** Each article is downloaded and parsed in batches to extract structured content (title, text, authors, date, etc.)
5. **Post-filtering:** Extracted articles are filtered again on full content (date + keyword search in title and text)
6. **Output:** Results are pushed to your Apify dataset

#### Performance

- **Batched processing:** Large runs are automatically chunked for reliability
- **Fault tolerance:** If one source or batch fails, others continue processing
- **Memory:** 256-512 MB per run

#### Error Handling

| Error Type | Behavior |
|------------|----------|
| Source unavailable | Skipped, other sources continue |
| Article download failed | Skipped, never pushed |
| Rate limit (429) | Automatic retry with exponential backoff |
| Server error (5xx) | Automatic retry (3 attempts) |

### Data Export

Results can be exported in multiple formats:

- **JSON** - Full structured data
- **CSV** - Flattened for spreadsheets
- **Excel** - Direct .xlsx download
- **XML** - For legacy system integration

```bash
## JSON
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=json&token=YOUR_TOKEN"

## CSV
curl "https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN"
```

### FAQ

#### Is this a defense news API or an RSS feed?

It reads the outlets' RSS feeds and returns the full article text as JSON through the Apify API, so you do not have to fetch and parse each article page yourself.

#### Can I search defense news by topic or system?

Yes. Set `search_query` to a topic, program or system such as `drone`, `procurement` or `F-35`. Matching is case-insensitive against title, text, description and URL.

#### Does it include company press releases?

No. Manufacturer feeds are mostly marketing material and are not part of the source list. Industry coverage comes through the trade outlets instead. Official government and armed-forces publications are available in their own section.

#### What is the difference to the US and UK News Collectors?

The US and UK News Collectors cover general national news across newspapers. This actor reads defense, security and military-technology outlets, think tanks and official sources only.

#### Are all articles about defense?

Think tanks, general news outlets and government publishers also cover other topics. Use `search_query` to narrow the results, or switch individual outlets off.

#### How many articles does each run return?

It depends on what the sources have published recently. A typical run with `limit: 0` returns several hundred to a few thousand articles from across all sources.

#### How often is the source list updated?

Sources are curated and updated periodically. If you'd like to suggest a source, open an issue on the actor's repository.

#### Does the actor store historical articles?

No. Each run discovers currently available articles from source feeds. To build a historical archive, set up scheduled runs.

#### Can I filter by keyword or date?

Yes. Use `search_query` to filter articles by keyword (matches title and full text). Use `start_date` and `end_date` to restrict articles to a date range. These filters can be combined.

#### Why does the actor process more articles than my limit when using search?

When `search_query` is set, the actor needs to download and extract articles to check their full content against your keyword. The `limit` controls how many matching articles you receive, but more articles may be processed behind the scenes.

#### What language are the articles in?

Articles are in English. The `language` field carries the language code.

#### Can I filter by source?

Yes. Each outlet has a toggle in the input (for example `defensenews`). Set any outlet to `false` to exclude it. All outlets are enabled by default. You can also filter the output dataset by `source_domain` after the run.

### Disclaimer

This actor extracts publicly available news articles from public web pages. It does not bypass paywalls, authentication, or access restrictions. Use the data in compliance with applicable laws and the terms of service of the respective news outlets.

***

**Need help?** Open an issue on the actor's repository or contact support through Apify Console.

# Actor input Schema

## `search_query` (type: `string`):

Filter articles by keyword. Only articles matching any word of the query in title, text, description or URL (case-insensitive) will be returned. Might process a lot of articles in the background.

## `start_date` (type: `string`):

Only include articles published on or after this date. Must not be in the future.

## `end_date` (type: `string`):

Only include articles published up to this date (taken as 00:00:00 when no time is given). Must not be older than 5 years.

## `limit` (type: `integer`):

Maximum number of articles to return (0 = unlimited). The actual number of processed articles might be higher if date and/or query filters are in use.

## `breaking_defense` (type: `boolean`):

Include articles from Breaking Defense (breakingdefense.com)

## `defense_one` (type: `boolean`):

Include articles from Defense One (defenseone.com)

## `defense_news` (type: `boolean`):

Include articles from Defense News (defensenews.com)

## `military_times` (type: `boolean`):

Include articles from Military Times (militarytimes.com)

## `the_war_zone` (type: `boolean`):

Include articles from The War Zone (twz.com)

## `defensescoop` (type: `boolean`):

Include articles from DefenseScoop (defensescoop.com)

## `task_and_purpose` (type: `boolean`):

Include articles from Task & Purpose (taskandpurpose.com)

## `defense_blog` (type: `boolean`):

Include articles from Defence Blog (defence-blog.com)

## `executivegov` (type: `boolean`):

Include articles from ExecutiveGov (executivegov.com)

## `eurasian_times` (type: `boolean`):

Include articles from EurAsian Times (eurasiantimes.com)

## `defensetalks` (type: `boolean`):

Include articles from DefenseTalks (defensetalks.com)

## `global_defense_corp` (type: `boolean`):

Include articles from Global Defense Corp (globaldefensecorp.com)

## `defense_mirror` (type: `boolean`):

Include articles from Defense Mirror (defensemirror.com)

## `military_aerospace` (type: `boolean`):

Include articles from Military & Aerospace Electronics (militaryaerospace.com)

## `usni_news` (type: `boolean`):

Include articles from USNI News (news.usni.org)

## `seapower` (type: `boolean`):

Include articles from Seapower (seapowermagazine.org)

## `naval_today` (type: `boolean`):

Include articles from Naval Today (navaltoday.com)

## `navy_lookout` (type: `boolean`):

Include articles from Navy Lookout (navylookout.com)

## `naval_technology` (type: `boolean`):

Include articles from Naval Technology (naval-technology.com)

## `army_technology` (type: `boolean`):

Include articles from Army Technology (army-technology.com)

## `airforce_technology` (type: `boolean`):

Include articles from Airforce Technology (airforce-technology.com)

## `air_space_forces` (type: `boolean`):

Include articles from Air & Space Forces Magazine (airandspaceforces.com)

## `the_aviationist` (type: `boolean`):

Include articles from The Aviationist (theaviationist.com)

## `aerotime` (type: `boolean`):

Include articles from AeroTime (aerotime.aero)

## `soldier_systems` (type: `boolean`):

Include articles from Soldier Systems Daily (soldiersystems.net)

## `armada_international` (type: `boolean`):

Include articles from Armada International (armadainternational.com)

## `sofrep` (type: `boolean`):

Include articles from SOFREP (sofrep.com)

## `naval_news` (type: `boolean`):

Include articles from Naval News (navalnews.com)

## `gcaptain` (type: `boolean`):

Include articles from gCaptain (gcaptain.com)

## `dronexl` (type: `boolean`):

Include articles from DroneXL (dronexl.co)

## `dronedj` (type: `boolean`):

Include articles from DroneDJ (dronedj.com)

## `dronelife` (type: `boolean`):

Include articles from DroneLife (dronelife.com)

## `suas_news` (type: `boolean`):

Include articles from sUAS News (suasnews.com)

## `unmanned_airspace` (type: `boolean`):

Include articles from Unmanned Airspace (unmannedairspace.info)

## `the_record` (type: `boolean`):

Include articles from The Record (therecord.media)

## `cyberscoop` (type: `boolean`):

Include articles from CyberScoop (cyberscoop.com)

## `industrial_cyber` (type: `boolean`):

Include articles from Industrial Cyber (industrialcyber.co)

## `spacenews` (type: `boolean`):

Include articles from SpaceNews (spacenews.com)

## `payload_space` (type: `boolean`):

Include articles from Payload (payloadspace.com)

## `european_spaceflight` (type: `boolean`):

Include articles from European Spaceflight (europeanspaceflight.com)

## `spacepolicyonline` (type: `boolean`):

Include articles from SpacePolicyOnline (spacepolicyonline.com)

## `the_cyberwire` (type: `boolean`):

Include articles from The CyberWire (thecyberwire.com)

## `war_on_the_rocks` (type: `boolean`):

Include articles from War on the Rocks (warontherocks.com)

## `rand` (type: `boolean`):

Include articles from RAND (rand.org)

## `atlantic_council` (type: `boolean`):

Include articles from Atlantic Council (atlanticcouncil.org)

## `stimson` (type: `boolean`):

Include articles from Stimson Center (stimson.org)

## `modern_war_institute` (type: `boolean`):

Include articles from Modern War Institute (mwi.westpoint.edu)

## `rusi_commentary` (type: `boolean`):

Include articles from RUSI Commentary (rusi.org)

## `cimsec` (type: `boolean`):

Include articles from CIMSEC (cimsec.org)

## `think_defence` (type: `boolean`):

Include articles from Think Defence (thinkdefence.co.uk)

## `long_war_journal` (type: `boolean`):

Include articles from Long War Journal (longwarjournal.org)

## `just_security` (type: `boolean`):

Include articles from Just Security (justsecurity.org)

## `cipher_brief` (type: `boolean`):

Include articles from The Cipher Brief (thecipherbrief.com)

## `defense_priorities` (type: `boolean`):

Include articles from Defense Priorities (defensepriorities.org)

## `small_wars_journal` (type: `boolean`):

Include articles from Small Wars Journal (smallwarsjournal.com)

## `responsible_statecraft` (type: `boolean`):

Include articles from Responsible Statecraft (responsiblestatecraft.org)

## `cepa` (type: `boolean`):

Include articles from CEPA (cepa.org)

## `icds` (type: `boolean`):

Include articles from ICDS (icds.ee)

## `bellingcat` (type: `boolean`):

Include articles from Bellingcat (bellingcat.com)

## `e19fortyfive` (type: `boolean`):

Include articles from 19FortyFive (19fortyfive.com)

## `national_interest` (type: `boolean`):

Include articles from The National Interest (nationalinterest.org)

## `iss_europa` (type: `boolean`):

Include articles from EU Institute for Security Studies (iss.europa.eu)

## `cdfai` (type: `boolean`):

Include articles from CDA Institute (cdainstitute.ca)

## `ploughshares` (type: `boolean`):

Include articles from Ploughshares Fund (ploughshares.org)

## `chinatalk` (type: `boolean`):

Include articles from ChinaTalk (chinatalk.media)

## `global_security_review` (type: `boolean`):

Include articles from Global Security Review (globalsecurityreview.com)

## `geopolitical_monitor` (type: `boolean`):

Include articles from Geopolitical Monitor (geopoliticalmonitor.com)

## `military_history_now` (type: `boolean`):

Include articles from Military History Now (militaryhistorynow.com)

## `federal_news_network_defense` (type: `boolean`):

Include articles from Federal News Network Defense (federalnewsnetwork.com)

## `govexec_defense` (type: `boolean`):

Include articles from Government Executive Defense (govexec.com)

## `dod_news` (type: `boolean`):

Include articles from U.S. Department of Defense (defense.gov) (defense.gov)

## `af_mil` (type: `boolean`):

Include articles from U.S. Air Force (af.mil) (af.mil)

## `uk_mod` (type: `boolean`):

Include articles from UK Ministry of Defence (gov.uk)

## `gao` (type: `boolean`):

Include articles from GAO Reports (gao.gov)

## `dvids` (type: `boolean`):

Include articles from DVIDS (dvidshub.net)

## `gov_uk_dstl` (type: `boolean`):

Include articles from UK MoD science and cyber (gov.uk) (gov.uk)

## `uk_defence_journal` (type: `boolean`):

Include articles from UK Defence Journal (ukdefencejournal.org.uk)

## `euro_defence_news` (type: `boolean`):

Include articles from European Security & Defence (euro-sd.com)

## `defence_industry_europe` (type: `boolean`):

Include articles from Defence Industry Europe (defence-industry.eu)

## `defence24` (type: `boolean`):

Include articles from Defence24 (defence24.com)

## `armyinform` (type: `boolean`):

Include articles from Army Inform (Ukraine MoD) (armyinform.com.ua)

## `kyiv_independent_news` (type: `boolean`):

Include articles from Kyiv Independent (kyivindependent.com)

## `kyiv_post` (type: `boolean`):

Include articles from Kyiv Post (kyivpost.com)

## `asian_military_review` (type: `boolean`):

Include articles from Asian Military Review (asianmilitaryreview.com)

## `aspi_strategist` (type: `boolean`):

Include articles from The Strategist (ASPI) (aspistrategist.org.au)

## `the_diplomat` (type: `boolean`):

Include articles from The Diplomat (thediplomat.com)

## `indian_defence_review` (type: `boolean`):

Include articles from Indian Defence Review (indiandefencereview.com)

## `defence_security_asia` (type: `boolean`):

Include articles from Defence Security Asia (defencesecurityasia.com)

## `idrw` (type: `boolean`):

Include articles from IDRW (idrw.org)

## `bharat_shakti` (type: `boolean`):

Include articles from Bharat Shakti (bharatshakti.in)

## `theprint_defence` (type: `boolean`):

Include articles from ThePrint Defence (theprint.in)

## `lowy_interpreter` (type: `boolean`):

Include articles from The Interpreter (Lowy Institute) (lowyinstitute.org)

## `military_africa` (type: `boolean`):

Include articles from Military Africa (military.africa)

## `defenceweb` (type: `boolean`):

Include articles from defenceWeb (defenceweb.co.za)

## `adf_magazine` (type: `boolean`):

Include articles from Africa Defense Forum (adf-magazine.com)

## `alma_center` (type: `boolean`):

Include articles from Alma Research and Education Center (israel-alma.org)

## `with_sentiment` (type: `boolean`):

Add a sentiment score to each article (positive/negative/neutral + confidence). $0.20 / 1,000 articles.

## `with_tags` (type: `boolean`):

Add LLM-generated category tags to each article. $1.50 / 1,000 articles.

## `with_summary` (type: `boolean`):

Add an LLM-generated compact summary to each article. $2.50 / 1,000 articles.

## `with_5w1h` (type: `boolean`):

Add Who/What/When/Where/Why/How extraction to each article. Requires at least 50 characters of article text. $4.00 / 1,000 articles.

## `with_language_detection` (type: `boolean`):

Detect the language of each article's text (code, confidence, candidates) into a separate detected_language field; the source-declared language stays unchanged. $0.10 / 1,000 articles.

## `with_fix_text` (type: `boolean`):

Repair garbled text (mojibake) in each article. The repaired text is returned in fixed_text, text stays unchanged, and other add-ons then analyse the fixed text. Charged only for articles whose text was actually repaired. $1.25 / 1,000 articles.

## Actor input object example

```json
{
  "limit": 100,
  "breaking_defense": true,
  "defense_one": true,
  "defense_news": true,
  "military_times": true,
  "the_war_zone": true,
  "defensescoop": true,
  "task_and_purpose": true,
  "defense_blog": true,
  "executivegov": true,
  "eurasian_times": true,
  "defensetalks": true,
  "global_defense_corp": true,
  "defense_mirror": true,
  "military_aerospace": true,
  "usni_news": true,
  "seapower": true,
  "naval_today": true,
  "navy_lookout": true,
  "naval_technology": true,
  "army_technology": true,
  "airforce_technology": true,
  "air_space_forces": true,
  "the_aviationist": true,
  "aerotime": true,
  "soldier_systems": true,
  "armada_international": true,
  "sofrep": true,
  "naval_news": true,
  "gcaptain": true,
  "dronexl": true,
  "dronedj": true,
  "dronelife": true,
  "suas_news": true,
  "unmanned_airspace": true,
  "the_record": true,
  "cyberscoop": true,
  "industrial_cyber": true,
  "spacenews": true,
  "payload_space": true,
  "european_spaceflight": true,
  "spacepolicyonline": true,
  "the_cyberwire": true,
  "war_on_the_rocks": true,
  "rand": true,
  "atlantic_council": true,
  "stimson": true,
  "modern_war_institute": true,
  "rusi_commentary": true,
  "cimsec": true,
  "think_defence": true,
  "long_war_journal": true,
  "just_security": true,
  "cipher_brief": true,
  "defense_priorities": true,
  "small_wars_journal": true,
  "responsible_statecraft": true,
  "cepa": true,
  "icds": true,
  "bellingcat": true,
  "e19fortyfive": true,
  "national_interest": true,
  "iss_europa": true,
  "cdfai": true,
  "ploughshares": true,
  "chinatalk": true,
  "global_security_review": true,
  "geopolitical_monitor": true,
  "military_history_now": true,
  "federal_news_network_defense": true,
  "govexec_defense": true,
  "dod_news": true,
  "af_mil": true,
  "uk_mod": true,
  "gao": true,
  "dvids": true,
  "gov_uk_dstl": true,
  "uk_defence_journal": true,
  "euro_defence_news": true,
  "defence_industry_europe": true,
  "defence24": true,
  "armyinform": true,
  "kyiv_independent_news": true,
  "kyiv_post": true,
  "asian_military_review": true,
  "aspi_strategist": true,
  "the_diplomat": true,
  "indian_defence_review": true,
  "defence_security_asia": true,
  "idrw": true,
  "bharat_shakti": true,
  "theprint_defence": true,
  "lowy_interpreter": true,
  "military_africa": true,
  "defenceweb": true,
  "adf_magazine": true,
  "alma_center": true,
  "with_sentiment": false,
  "with_tags": false,
  "with_summary": false,
  "with_5w1h": false,
  "with_language_detection": false,
  "with_fix_text": false
}
```

# Actor output Schema

## `results` (type: `string`):

Extracted news articles with title, text, authors, publish date, and source domain

# 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 = {
    "limit": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("bite-sized-insights/defense-news-scraper").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 = { "limit": 100 }

# Run the Actor and wait for it to finish
run = client.actor("bite-sized-insights/defense-news-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "limit": 100
}' |
apify call bite-sized-insights/defense-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bite-sized-insights/defense-news-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/oFuWhs6G0n9v4xk7B/builds/7TAGPUNe6zUIt5IKJ/openapi.json
