# Brave News Scraper (`searchapi/brave-news-scraper`) Actor

Searches Brave News and extracts rich, source-backed listing data including article URLs, publishers, snippets, images, publication times, displayed flags, and search context.

- **URL**: https://apify.com/searchapi/brave-news-scraper.md
- **Developed by:** [Search API](https://apify.com/searchapi) (community)
- **Categories:** News, AI, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.99 / 1,000 brave news scraper results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Brave News Scraper

Searches Brave News and extracts rich, source-backed listing data including article URLs, publishers, snippets, images, publication times, displayed flags, and search context.

### What this Actor collects

Each dataset item represents one Brave News article card, with its destination URL, publisher, snippet, image, publication time, displayed flags, and search context.

- Uses the input limits and filters below to control the crawl.
- Stores source-backed fields defined by the 51-field dataset schema.
- Omits optional fields when the source does not expose a value instead of writing nulls or fabricated placeholders.

### Use cases

- News monitoring
- Publisher and topic research
- Article-feed enrichment

### Input

Provide input in JSON. Fields marked required must be supplied; source-specific alternatives and constraints are described in the field text.

| Field | Type | Required | Default | Description |
| --- | --- | :---: | --- | --- |
| `query` | string | Yes | — | Keywords to search in Brave News. |
| `maxItems` | integer | No | `50` | Maximum articles to save from Brave's current result page. |
| `country` | string | No | `"us"` | Two-letter Brave country code. |
| `language` | string | No | `"en"` | Brave search language code. |
| `safeSearch` | string | No | `"moderate"` | Safe Search value selected through Brave's current News filter control. |
| `maxRequestRetries` | integer | No | `3` | Retries temporary rate limits and server errors with bounded backoff. |
| `navigationTimeoutSecs` | integer | No | `60` | Maximum seconds to wait for navigation and result rendering. |
| `headless` | boolean | No | `true` | Disable only for local visual debugging. |
| `proxyConfiguration` | object | No | — | Optional Apify or custom proxy settings. |

#### Example input

```json
{
  "query": "technology",
  "maxItems": 50,
  "country": "us",
  "language": "en",
  "proxyConfiguration": {
    "useApifyProxy": false
  },
  "safeSearch": "moderate",
  "maxRequestRetries": 3,
  "navigationTimeoutSecs": 60,
  "headless": true
}
```

### Output

The default dataset contains one item per news article result. The following are the most useful fields; availability varies with the result card.

| Field | Type | Description |
| --- | --- | --- |
| `position` | integer | Position |
| `title` | string | Title |
| `link` | string | Link |
| `source` | string | Source |
| `publishedAt` | string | Published At |
| `thumbnail` | string | Thumbnail |
| `snippet` | string | Snippet |
| `isBreaking` | boolean | Breaking |
| `isSponsored` | boolean | Sponsored |
| `type` | string | Record Type |
| `description` | string | Description |
| `url` | string | URL |
| `query` | string | Query |
| `searchQuery` | string | Search Query |
| `scrapedAt` | string | Scraped At |
| `resultType` | string | Result Type |

<details>
<summary>All 51 declared dataset fields</summary>

`type`, `resultType`, `position`, `page`, `title`, `titleHtml`, `link`, `url`, `displayUrl`, `domain`
`source`, `publisher`, `sourceUrl`, `sourceDomain`, `favicon`, `author`, `authorUrl`, `snippet`, `snippetHtml`, `description`
`descriptionHtml`, `emphasis`, `thumbnail`, `thumbnailUrl`, `imageUrl`, `imageAlt`, `imageWidth`, `imageHeight`, `publishedAt`, `publishedAtRaw`
`date`, `relativeTime`, `category`, `tags`, `isSponsored`, `isAd`, `isBreaking`, `commentCount`, `shareCount`, `relatedArticlesCount`
`summary`, `engineId`, `searchQuery`, `query`, `country`, `language`, `market`, `safeSearch`, `searchUrl`, `scrapedAt`
`searchMetadata`

</details>

#### Example dataset item

This compact example is taken from local Actor storage. Long text and nested collections are shortened for documentation only.

```json
{
  "position": 1,
  "title": "Technology News -- ScienceDaily",
  "link": "https://sciencedaily.com/news/matter_energy/technology",
  "source": "ScienceDaily",
  "publishedAt": "2026-07-09T15:52:57.186Z",
  "thumbnail": "https://imgs.search.brave.com/dYZ2vdocxOWr1DxdjtH87B18OYgAQUSExFi6GS2G58s/rs:fit:200:200:1:0/g:ce/aHR0cHM6Ly93d3cu/c2NpZW5jZWRhaWx5/LmNvbS9pbWFnZXMv/c2NpZGFpbHktaWNv/bi5wbmc",
  "snippet": "Technology news. Read articles on new gadgets and prototypes for future technology from leading research institutes around the world.",
  "isBreaking": false,
  "isSponsored": false,
  "type": "news",
  "description": "Technology news. Read articles on new gadgets and prototypes for future technology from leading research institutes around the world.",
  "url": "https://sciencedaily.com/news/matter_energy/technology"
}
```

### Related Actors

- [Brave AI Mode Scraper](https://apify.com/searchapi/brave-ai-mode-scraper)
- [Brave Autocomplete Scraper](https://apify.com/searchapi/brave-autocomplete-scraper)
- [Brave Discussions Scraper](https://apify.com/searchapi/brave-discussions-scraper)

# Actor input Schema

## `query` (type: `string`):

Keywords to search in Brave News.

## `maxItems` (type: `integer`):

Maximum articles to save from Brave's current result page.

## `country` (type: `string`):

Two-letter Brave country code.

## `language` (type: `string`):

Brave search language code.

## `safeSearch` (type: `string`):

Safe Search value selected through Brave's current News filter control.

## `maxRequestRetries` (type: `integer`):

Retries temporary rate limits and server errors with bounded backoff.

## `navigationTimeoutSecs` (type: `integer`):

Maximum seconds to wait for navigation and result rendering.

## `headless` (type: `boolean`):

Disable only for local visual debugging.

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

Optional Apify or custom proxy settings.

## Actor input object example

```json
{
  "query": "technology",
  "maxItems": 50,
  "country": "us",
  "language": "en",
  "safeSearch": "moderate",
  "maxRequestRetries": 3,
  "navigationTimeoutSecs": 60,
  "headless": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Normalized source-backed articles from the Brave News listing page.

# 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 = {
    "query": "technology",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("searchapi/brave-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 = {
    "query": "technology",
    "proxyConfiguration": { "useApifyProxy": False },
}

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

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

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

```

## CLI example

```bash
echo '{
  "query": "technology",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call searchapi/brave-news-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=searchapi/brave-news-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/xVnJlEFk5hfKRDj2J/builds/Pjez9Dd8nSkmB7iki/openapi.json
