# ASEAN News Scraper: Full-Text Articles (`bite-sized-insights/asean-news-article-scraper`) Actor

Collect full-text news articles from over 40 English-language outlets across 10 Southeast Asian countries. Filter by keyword and date, pick sources per country, and export structured data with optional sentiment, tags and summaries.

- **URL**: https://apify.com/bite-sized-insights/asean-news-article-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.30 / 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

**Collect and extract full-text news articles from 40+ English-language Southeast Asian news sources** spanning 10 countries - Cambodia, Indonesia, Laos, Malaysia, Myanmar, the Philippines, Singapore, Thailand, Timor-Leste, and Vietnam. Get structured article data including title, full text, authors, publish date, and more - updated with every run.

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

### Why Southeast Asia News?

Southeast Asia is one of the world's most linguistically fragmented regions - eleven countries, dozens of national and regional languages - which makes region-wide monitoring difficult unless you specifically want English-language coverage. This actor curates the English-language press and English editions of national news agencies across the ASEAN bloc plus Timor-Leste into a single, unified feed, enabling:

- **Regional market intelligence:** Monitor business, economic, and political developments across ASEAN's diverse economies without a language barrier
- **Media monitoring:** Track how the region's English-language press covers a company, industry, or cross-border story
- **Sentiment analysis:** Feed structured article text into NLP pipelines
- **Academic research:** Collect large-scale, English-language Southeast Asia news corpora
- **Content aggregation:** Build regional news feeds or dashboards spanning all of Southeast Asia

| | Generic Google News search | This actor |
|---|---|---|
| Source selection | Algorithmic, opaque, can shift run to run | Fixed, curated list of 43 outlets across 10 Southeast Asian countries |
| Article content | Headline + snippet + link | Full article text |
| Enrichment | None | Optional sentiment, tags, summary, 5W1H |

The difference matters most when monitoring across many markets at once: a keyword search blends them under a single ranking model you can't audit, while this actor's source list stays the same from run to run and lets you enable or disable each outlet, or each country's whole section, individually.

Looking for local-language coverage instead of English? See the companion [Vietnam](https://apify.com/bite-sized-insights/vietnam-news-scraper) actor (Vietnamese-language sections). This actor reuses the English-language sources of Indonesia, the Philippines, Thailand and Vietnam and adds English-only coverage for six markets none of them cover: Cambodia, Laos, Malaysia, Myanmar, Singapore, and Timor-Leste.

### Quick Start

#### Default: Get 100 Recent Articles

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

#### Search for a Topic

```json
{
  "search_query": "ASEAN summit",
  "limit": 100
}
```

#### Articles from a Date Range

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

#### Combined: Search Within a Date Range

```json
{
  "search_query": "elections",
  "start_date": "2026-02-01",
  "limit": 200
}
```

#### Select Specific Sources or Countries

```json
{
  "limit": 100,
  "straits_times": true,
  "phnom_penh_post": false,
  "laotian_times": false
}
```

#### 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 (search query and dates) are forwarded to the news API. The search query is checked against the fetched article content, 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, grouped by country. **All sources are enabled by default**, except a handful of secondary/regional Philippine and Thai outlets which default to off (see the tables below). 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 monitors 43 English-language news outlets across 10 Southeast Asian countries, covering politics, business, sports, and general news. Sections are ordered alphabetically by country.

#### Cambodia

| Source | Domain | Summary |
|--------|--------|---------|
| The Phnom Penh Post | phnompenhpost.com | Cambodia's leading English-language daily, covering national news, business, and politics. |

#### Indonesia

| Source | Domain | Summary |
|--------|--------|---------|
| The Jakarta Post | thejakartapost.com | Indonesia's leading English-language daily newspaper. |
| DailySocial | dailysocial.id | English-language coverage of Indonesia's tech and startup ecosystem. |

#### Laos

| Source | Domain | Summary |
|--------|--------|---------|

#### Malaysia

| Source | Domain | Summary |
|--------|--------|---------|
| Sarawak Tribune | sarawaktribune.com | Malaysian English-language daily covering Sarawak and national news. |
| Free Malaysia Today | freemalaysiatoday.com | Independent Malaysian English-language news portal. |
| Bernama | bernama.com | Malaysia's national news agency, English edition. |

#### Myanmar

| Source | Domain | Summary |
|--------|--------|---------|
| Myanmar Now | myanmar-now.org | Independent English-language newsroom covering Myanmar. |
| DVB (Democratic Voice of Burma) | english.dvb.no | English edition of DVB, an independent Myanmar-focused broadcaster/newsroom. |

#### Philippines

| Source | Domain | Summary |
|--------|--------|---------|
| Inquirer.net | inquirer.net | The Philippines' leading English-language newspaper website. |
| The Manila Times | manilatimes.net | One of the Philippines' oldest English-language newspapers. |
| Daily Tribune | tribune.net.ph | Philippine English-language newspaper. |
| GMA News (off by default) | gmanetwork.com | GMA Network's English-language news portal. |
| Rappler (off by default) | rappler.com | Philippine digital-native English-language news outlet. |
| BusinessWorld (off by default) | bworldonline.com | Philippine English-language business and financial news. |
| MindaNews (off by default) | mindanews.com | Regional English-language news covering Mindanao. |
| Mindanao Times (off by default) | mindanaotimes.com.ph | Regional English-language newspaper covering Mindanao. |
| Unbox.ph (off by default) | unbox.ph | Philippine English-language technology news. |
| Tiebreaker Times (off by default) | tiebreakertimes.com.ph | Philippine English-language sports news. |

#### Singapore

| Source | Domain | Summary |
|--------|--------|---------|
| The Straits Times | straitstimes.com | Singapore's leading English-language broadsheet. |
| CNA (Channel News Asia) | channelnewsasia.com | Singapore-based English-language broadcaster and news site. |
| The Business Times | businesstimes.com.sg | Singapore's leading English-language financial daily. |

#### Thailand

| Source | Domain | Summary |
|--------|--------|---------|
| Khaosod English | khaosodenglish.com | English edition of Khaosod, a major Thai newspaper. |
| Thai Enquirer | thaienquirer.com | Thai English-language digital news and analysis outlet. |
| Prachatai English | prachataienglish.com | English edition of Prachatai, an independent Thai news outlet. |
| Thaiger | thethaiger.com | English-language Thai news outlet aimed at residents and visitors. |
| Chiang Rai Times (off by default) | chiangraitimes.com | English-language regional news covering northern Thailand. |
| The Pattaya News (off by default) | thepattayanews.com | English-language regional news covering Pattaya. |
| Thailand Business News (off by default) | thailand-business-news.com | English-language Thai business and economic news. |

#### Timor-Leste

| Source | Domain | Summary |
|--------|--------|---------|
| Tatoli (English) | en.tatoli.tl | English edition of Timor-Leste's national news agency. |

#### Vietnam

| Source | Domain | Summary |
|--------|--------|---------|
| VnExpress International | e.vnexpress.net | English edition of VnExpress, one of Vietnam's most-read news sites. |

### Output Example

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

```json
{
  "url": "https://www.straitstimes.com/singapore/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.straitstimes.com/images/example.jpg",
  "source_domain": "www.straitstimes.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 | $2.00 / 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~asean-news-article-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 100, "search_query": "ASEAN summit", "start_date": "2026-02-01"}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("bite-sized-insights/asean-news-article-scraper").call(
    run_input={
        "limit": 100,
        "search_query": "ASEAN summit",
        "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/asean-news-article-scraper').call({
    limit: 100,
    search_query: 'ASEAN summit',
    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

- **Regional media monitoring dashboards:** Aggregate English-language headlines from across 10 Southeast Asian countries into a single feed for journalists, analysts, or PR teams
- **ASEAN market intelligence:** Track press coverage of companies, brands, trade policy, or industries across Southeast Asian media without needing translation
- **NLP & sentiment analysis:** Extract full-text English-language articles for training language models or running sentiment classifiers on Southeast Asia-specific text
- **Academic research:** Build an English-language Southeast Asia news corpus for political science, economics, or media studies
- **Risk & compliance:** Monitor political and economic developments across a region spanning very different regulatory and political systems

### 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 | Returned with error message |
| 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

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

#### What language are the articles in?

All sources in this actor publish in English. This actor deliberately does not include vernacular-language press (Bahasa Indonesia, Tagalog, Thai, Vietnamese, Khmer, Burmese, etc.) - see the companion [Vietnam](https://apify.com/bite-sized-insights/vietnam-news-scraper) actor for Vietnamese-language coverage.

#### Why isn't Brunei covered?

Brunei is not covered by this actor.

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

#### Can I filter by source or country?

Yes. Each source has a toggle in the input (e.g., `straits_times`, `phnom_penh_post`), grouped into sections by country in the Apify Console UI. Set any source to `false` to exclude it, or toggle every source in a country's section off to exclude that whole country. All primary sources are enabled by default. You can also filter the output dataset by `source_domain` after the run completes.

#### What happens if a news source goes offline?

The actor continues processing all other sources. Failed sources are logged but don't stop the run.

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

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

## `phnom_penh_post` (type: `boolean`):

Include articles from The Phnom Penh Post (phnompenhpost.com)

## `jakarta_post` (type: `boolean`):

Include articles from The Jakarta Post (thejakartapost.com)

## `dailysocial` (type: `boolean`):

Include articles from DailySocial tech news (dailysocial.id)

## `sarawak_tribune` (type: `boolean`):

Include articles from Sarawak Tribune (sarawaktribune.com)

## `free_malaysia_today` (type: `boolean`):

Include articles from Free Malaysia Today (freemalaysiatoday.com)

## `bernama` (type: `boolean`):

Include articles from Bernama, Malaysia's national news agency, English edition (bernama.com)

## `myanmar_now` (type: `boolean`):

Include articles from Myanmar Now (myanmar-now.org)

## `dvb_english` (type: `boolean`):

Include articles from DVB's English edition (english.dvb.no)

## `inquirer` (type: `boolean`):

Include articles from Inquirer.net (inquirer.net)

## `manila_times` (type: `boolean`):

Include articles from The Manila Times (manilatimes.net)

## `daily_tribune` (type: `boolean`):

Include articles from the Daily Tribune (tribune.net.ph)

## `gma_news` (type: `boolean`):

Include articles from GMA News Online (gmanetwork.com)

## `rappler` (type: `boolean`):

Include articles from Rappler (rappler.com)

## `businessworld` (type: `boolean`):

Include articles from BusinessWorld (bworldonline.com)

## `mindanews` (type: `boolean`):

Include articles from MindaNews (mindanews.com)

## `mindanao_times` (type: `boolean`):

Include articles from Mindanao Times (mindanaotimes.com.ph)

## `unbox_ph` (type: `boolean`):

Include articles from Unbox.ph (unbox.ph)

## `tiebreaker_times` (type: `boolean`):

Include articles from Tiebreaker Times (tiebreakertimes.com.ph)

## `straits_times` (type: `boolean`):

Include articles from The Straits Times' Singapore section (straitstimes.com)

## `channel_news_asia` (type: `boolean`):

Include articles from CNA (channelnewsasia.com)

## `business_times` (type: `boolean`):

Include articles from The Business Times (businesstimes.com.sg)

## `khaosod_english` (type: `boolean`):

Include articles from Khaosod English (khaosodenglish.com)

## `thai_enquirer` (type: `boolean`):

Include articles from Thai Enquirer (thaienquirer.com)

## `prachatai_english` (type: `boolean`):

Include articles from Prachatai English (prachataienglish.com)

## `thaiger` (type: `boolean`):

Include articles from Thaiger (thethaiger.com)

## `chiang_rai_times` (type: `boolean`):

Include articles from Chiang Rai Times (chiangraitimes.com)

## `pattaya_news` (type: `boolean`):

Include articles from The Pattaya News (thepattayanews.com)

## `thailand_business_news` (type: `boolean`):

Include articles from Thailand Business News (thailand-business-news.com)

## `tatoli_en` (type: `boolean`):

Include articles from Tatoli, Timor-Leste's national news agency, English edition (en.tatoli.tl)

## `vnexpress_en` (type: `boolean`):

Include articles from VnExpress International (e.vnexpress.net)

## `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,
  "phnom_penh_post": true,
  "jakarta_post": true,
  "dailysocial": true,
  "sarawak_tribune": true,
  "free_malaysia_today": true,
  "bernama": true,
  "myanmar_now": true,
  "dvb_english": true,
  "inquirer": true,
  "manila_times": true,
  "daily_tribune": true,
  "gma_news": true,
  "rappler": true,
  "businessworld": true,
  "mindanews": true,
  "mindanao_times": true,
  "unbox_ph": true,
  "tiebreaker_times": true,
  "straits_times": true,
  "channel_news_asia": true,
  "business_times": true,
  "khaosod_english": true,
  "thai_enquirer": true,
  "prachatai_english": true,
  "thaiger": true,
  "chiang_rai_times": true,
  "pattaya_news": true,
  "thailand_business_news": true,
  "tatoli_en": true,
  "vnexpress_en": 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/asean-news-article-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/asean-news-article-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/asean-news-article-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bite-sized-insights/asean-news-article-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/6DptBDZb7V2cV8RdW/builds/vAMyjFHmG2cmB017F/openapi.json
