# Australia News Scraper: 30+ Sources, Full Text (`bite-sized-insights/australian-news-article-scraper`) Actor

Collect full-text articles from 30+ Australian news sources, from national outlets to regional papers in every state and territory. Filter by keyword and date, pick sources, and optionally add sentiment, tags, summaries, 5W1H and language detection.

- **URL**: https://apify.com/bite-sized-insights/australian-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, 83.3% 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

**Collect and extract full-text news articles from 30+ Australian news sources** covering national broadcasters, metropolitan dailies, and regional newspapers from every state and territory. 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 Australian News?

Australia's media landscape features major national outlets alongside a network of strong regional voices spanning six states and two territories. This actor provides a single, unified feed covering Australia's most important news sources, enabling:

- **Media monitoring:** Track news coverage across the Australian press in real time
- **Sentiment analysis:** Feed structured article text into NLP pipelines
- **Market intelligence:** Monitor business, economic, and political developments
- **Academic research:** Collect large-scale English news corpora from Australian sources
- **Content aggregation:** Build news feeds or dashboards for Australian coverage

Ask Google News for "Australian news" and you'll get whatever its ranking model decided was relevant this hour, pulled from an unstated mix of outlets you can't see or adjust. This actor instead works from a fixed, curated list of 31 Australian outlets spanning every state and territory that you choose from directly — and it returns full article text, not just a headline and a link.

### Quick Start

#### Default: Get 100 Recent Articles

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

#### Search for a Topic

```json
{
  "search_query": "artificial intelligence",
  "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": "interest rates",
  "start_date": "2026-02-01",
  "limit": 200
}
```

#### Select Specific Sources

```json
{
  "limit": 100,
  "abc_news": true,
  "smh": true,
  "guardian_australia": true,
  "nine_news": false,
  "seven_news": 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. **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 monitors 31 news outlets across Australia, covering politics, business, sports, culture, and more.

#### Nationwide

| Source | Domain | Summary |
|--------|--------|---------|
| ABC News | abc.net.au | Australia's national public broadcaster and most trusted news source. |
| Sydney Morning Herald | smh.com.au | Leading Sydney broadsheet covering national and NSW news (Nine Entertainment). |
| The Age | theage.com.au | Melbourne's leading broadsheet covering national and Victorian news (Nine Entertainment). |
| The Guardian Australia | theguardian.com | Australian edition of The Guardian, covering national news and politics. |
| SBS News | sbs.com.au | Australia's multicultural public broadcaster, covering national and world news. |
| news.com.au | news.com.au | Australia's most-read news website (News Corp). |
| The Conversation | theconversation.com | Academic-sourced journalism covering Australian research and public policy. |
| Crikey | crikey.com.au | Independent Australian news and commentary on politics and media. |
| 7NEWS | 7news.com.au | National news from the Seven Network. |
| 9News | 9news.com.au | National news from the Nine Network. |
| The Nightly | thenightly.com.au | National digital newspaper from Seven West Media. |
| The Mandarin | themandarin.com.au | Australian public sector news and analysis. |
| RenewEconomy | reneweconomy.com.au | Australia's leading clean energy and climate news outlet. |

#### New South Wales

| Source | Domain | Summary |
|--------|--------|---------|
| Newcastle Herald | newcastleherald.com.au | Newcastle and Hunter Valley daily newspaper (ACM). |
| Illawarra Mercury | illawarramercury.com.au | Wollongong and Illawarra region daily newspaper (ACM). |
| CityHub Sydney | cityhub.com.au | Inner Sydney community newspaper covering local news. |

#### Victoria

| Source | Domain | Summary |
|--------|--------|---------|
| Ballarat Courier | thecourier.com.au | Ballarat and western Victoria daily newspaper (ACM). |
| Bendigo Advertiser | bendigoadvertiser.com.au | Bendigo and central Victoria daily newspaper (ACM). |
| The Border Mail | bordermail.com.au | Albury-Wodonga and northeast Victoria daily newspaper (ACM). |

#### Queensland

| Source | Domain | Summary |
|--------|--------|---------|
| Brisbane Times | brisbanetimes.com.au | Brisbane digital newspaper covering Queensland news (Nine Entertainment). |

#### Western Australia

| Source | Domain | Summary |
|--------|--------|---------|
| The West Australian | thewest.com.au | Perth's daily broadsheet and WA's newspaper of record (Seven West Media). |
| WAtoday | watoday.com.au | Western Australia digital newspaper (Nine Entertainment). |
| PerthNow | perthnow.com.au | Perth news and entertainment (Seven West Media). |

#### South Australia

| Source | Domain | Summary |
|--------|--------|---------|
| Solstice Media | indailysa.com.au | Adelaide independent news, home of InDaily. |

#### Tasmania

| Source | Domain | Summary |
|--------|--------|---------|
| The Examiner | examiner.com.au | Launceston and northern Tasmania daily newspaper (ACM). |
| The Advocate | theadvocate.com.au | Burnie and northwest Tasmania daily newspaper (ACM). |

#### ACT

| Source | Domain | Summary |
|--------|--------|---------|
| Canberra Times | canberratimes.com.au | Canberra's daily newspaper covering ACT and national politics (ACM). |
| Canberra Daily | canberraweekly.com.au | Canberra community news and lifestyle. |

#### Northern Territory

| Source | Domain | Summary |
|--------|--------|---------|
| Alice Springs News | alicespringsnews.com.au | Central Australia's independent news source. |
| Katherine Times | katherinetimes.com.au | Katherine and Top End regional newspaper (ACM). |

### Output Example

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

```json
{
  "url": "https://www.abc.net.au/news/2026-02-15/example-article/12345678",
  "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://live-production.wcms.abc-cdn.net.au/image.jpg",
  "source_domain": "www.abc.net.au",
  "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~australian-news-article-scraper/runs?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 100, "search_query": "interest rates", "start_date": "2026-02-01"}'
```

#### Python

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

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

- **News monitoring dashboards:** Aggregate headlines from across the Australian press into a single feed for journalists, analysts, or PR teams
- **NLP & sentiment analysis:** Extract full-text articles at scale for training language models or running sentiment classifiers
- **Competitive intelligence:** Track press coverage of companies, brands, or industries across Australian media
- **Academic research:** Build English news corpora for linguistics, political science, or media studies
- **Risk & compliance:** Monitor political and economic developments that may impact business operations

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

Articles are in English. Article language is indicated in the `language` field.

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

Yes. Each source has a toggle in the input (e.g., `abc_news`, `smh`, `guardian_australia`). Set any source to `false` to exclude it. All 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.

## `abc_news` (type: `boolean`):

Include articles from ABC News (abc.net.au)

## `smh` (type: `boolean`):

Include articles from The Sydney Morning Herald (smh.com.au)

## `the_age` (type: `boolean`):

Include articles from The Age Melbourne (theage.com.au)

## `guardian_australia` (type: `boolean`):

Include articles from The Guardian Australia (theguardian.com)

## `sbs_news` (type: `boolean`):

Include articles from SBS News (sbs.com.au)

## `news_com_au` (type: `boolean`):

Include articles from news.com.au

## `the_conversation` (type: `boolean`):

Include articles from The Conversation Australia (theconversation.com)

## `crikey` (type: `boolean`):

Include articles from Crikey (crikey.com.au)

## `seven_news` (type: `boolean`):

Include articles from 7NEWS (7news.com.au)

## `nine_news` (type: `boolean`):

Include articles from 9News (9news.com.au)

## `the_nightly` (type: `boolean`):

Include articles from The Nightly (thenightly.com.au)

## `the_mandarin` (type: `boolean`):

Include articles from The Mandarin public sector news (themandarin.com.au)

## `renew_economy` (type: `boolean`):

Include articles from RenewEconomy clean energy news (reneweconomy.com.au)

## `newcastle_herald` (type: `boolean`):

Include articles from the Newcastle Herald (newcastleherald.com.au)

## `illawarra_mercury` (type: `boolean`):

Include articles from the Illawarra Mercury Wollongong (illawarramercury.com.au)

## `cityhub_sydney` (type: `boolean`):

Include articles from CityHub inner Sydney (cityhub.com.au)

## `ballarat_courier` (type: `boolean`):

Include articles from The Courier Ballarat (thecourier.com.au)

## `bendigo_advertiser` (type: `boolean`):

Include articles from the Bendigo Advertiser (bendigoadvertiser.com.au)

## `border_mail` (type: `boolean`):

Include articles from The Border Mail Albury-Wodonga (bordermail.com.au)

## `brisbane_times` (type: `boolean`):

Include articles from Brisbane Times (brisbanetimes.com.au)

## `the_west_australian` (type: `boolean`):

Include articles from The West Australian (thewest.com.au)

## `watoday` (type: `boolean`):

Include articles from WAtoday (watoday.com.au)

## `perthnow` (type: `boolean`):

Include articles from PerthNow (perthnow.com.au)

## `solstice_media` (type: `boolean`):

Include articles from Solstice Media / InDaily Adelaide (indailysa.com.au)

## `the_examiner` (type: `boolean`):

Include articles from The Examiner Launceston (examiner.com.au)

## `the_advocate` (type: `boolean`):

Include articles from The Advocate Burnie (theadvocate.com.au)

## `canberra_times` (type: `boolean`):

Include articles from The Canberra Times (canberratimes.com.au)

## `canberra_weekly` (type: `boolean`):

Include articles from Canberra Daily (canberraweekly.com.au)

## `alice_springs_news` (type: `boolean`):

Include articles from Alice Springs News (alicespringsnews.com.au)

## `katherine_times` (type: `boolean`):

Include articles from Katherine Times (katherinetimes.com.au)

## `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,
  "abc_news": true,
  "smh": true,
  "the_age": true,
  "guardian_australia": true,
  "sbs_news": true,
  "news_com_au": true,
  "the_conversation": true,
  "crikey": true,
  "seven_news": true,
  "nine_news": true,
  "the_nightly": true,
  "the_mandarin": true,
  "renew_economy": true,
  "newcastle_herald": true,
  "illawarra_mercury": true,
  "cityhub_sydney": true,
  "ballarat_courier": true,
  "bendigo_advertiser": true,
  "border_mail": true,
  "brisbane_times": true,
  "the_west_australian": true,
  "watoday": true,
  "perthnow": true,
  "solstice_media": true,
  "the_examiner": true,
  "the_advocate": true,
  "canberra_times": true,
  "canberra_weekly": true,
  "alice_springs_news": true,
  "katherine_times": 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/australian-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/australian-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/australian-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/australian-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/WUHdhoaAhPQSNVww5/builds/6OJ1H10Rv5EqqisYH/openapi.json
