# Bongda24h News Scraper (`bovi/bongda24h-scraper`) Actor

Collects public news article cards from the latest-news listings on bongda24h.vn, including titles, article links, summaries, and images.

- **URL**: https://apify.com/bovi/bongda24h-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** News
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.45 / 1,000 bongda24h news scrapers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Bongda24h News Scraper

This Apify Actor collects public article cards from the latest-news listings on
[bongda24h.vn](https://bongda24h.vn/tin-the-thao-moi-nhat.html). It follows the site's
numbered listing pages and stops when it reaches `maxResults`, reaches the page limit,
or the listing has no more article cards. It does not log in or open individual articles.

### Data collected

Each dataset row contains the article title and absolute article URL. When a listing card
exposes them, the row also contains its summary and image URL. Rows without one of these
optional values omit that field.

### Input

- `maxResults` (integer, default `50`): maximum number of article rows to add to the dataset.
- `proxyConfiguration` (optional proxy editor): Apify RESIDENTIAL is used by default. Set
  `useApifyProxy` to `false` explicitly to make requests without an Apify proxy.

### Example output

```json
{
  "title": "Pochettino đại phẫu đội hình Man Utd: 8 cầu thủ cần bị loại bỏ, ai sẽ trở thành Dele Alli mới?",
  "url": "https://bongda24h.vn/doi-bong/pochettino-dai-phau-doi-hinh-man-utd-8-cau-thu-can-bi-loai-bo-ai-se-tro-thanh-dele-alli-moi-405-464718.html",
  "image_url": "https://static.bongda24h.vn/medias/standard/2026/11/14/po1-1411121221.jpg"
}
```

### Price per result

This Actor adds no custom charge per result. Apify applies its current dataset, compute,
and proxy billing rules to the run; the exact rate depends on your account and plan. The
Actor code does not call a billing API or add a separate charge.

### Free-plan preview

On a Free Apify plan, fetching stops after the configured free page limit. If the requested
result limit needs more pages, the run stores a preview record in `OUTPUT` and reports
which limit stopped collection. No placeholder rows are added to the dataset.

# Actor input Schema

## `maxResults` (type: `integer`):

Maximum number of news articles to add to the dataset.

## `proxyConfiguration` (type: `object`):

Optional proxy settings. Apify RESIDENTIAL is used by default.

## Actor input object example

```json
{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

Dataset with the collected news articles.

# 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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/bongda24h-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 = {
    "maxResults": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/bongda24h-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 '{
  "maxResults": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call bovi/bongda24h-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/bongda24h-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/uqhTYCpydt65cSp2h/builds/1pNWnhpANBCk3Nu9V/openapi.json
