Skip to content
Research
Skill

/news-search

USE FOR news search. Returns news articles with title, URL, description, age, thumbnail. Supports freshness and date range filtering, SafeSearch filter and Goggles for custom ranking.

From plugin
brave-search-skills
16411 skills
Install
$ npx -y skills add brave/brave-search-skills --skill news-search --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/news-search

Context preview

The summary Claude sees to decide when to auto-load this skill.

USE FOR news search. Returns news articles with title, URL, description, age, thumbnail. Supports freshness and date range filtering, SafeSearch filter and Goggles for custom ranking.

SKILL.md

news-search.SKILL.md
name: news-search
description: USE FOR news search. Returns news articles with title, URL, description, age, thumbnail, profile. Supports freshness and date range filtering, SafeSearch filter and Goggles for custom ranking.

News Search

> **Requires API Key**: Get one at https://api.search.brave.com > > **Plan**: Included in the **Search** plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Quick Start (cURL)

Basic Search

curl -s "https://api.search.brave.com/res/v1/news/search?q=space+exploration" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}"

Recent News (Past 24 Hours)

curl -s "https://api.search.brave.com/res/v1/news/search" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=cybersecurity" \
  --data-urlencode "country=US" \
  --data-urlencode "freshness=pd" \
  --data-urlencode "count=20"

Date Range Filter

curl -s "https://api.search.brave.com/res/v1/news/search" \
  -H "Accept: application/json" \
  -H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
  -G \
  --data-urlencode "q=climate summit" \
  --data-urlencode "freshness=2026-01-01to2026-01-31"

Endpoint

GET https://api.search.brave.com/res/v1/news/search
POST https://api.search.brave.com/res/v1/news/search

**Authentication**: `X-Subscription-Token: <API_KEY>` header

**Note**: Both GET and POST are supported. POST is useful for long queries or complex Goggles.

Parameters

| Parameter | Type | Required | Default | Description | |--|--|--|--|--| | `q` | string | **Yes** | - | Search query (1-400 chars, max 50 words) | | `country` | string | No | `US` | Search country (2-letter country code or `ALL`) | | `search_lang` | string | No | `en` | Language preference (2+ char language code) | | `ui_lang` | string | No | `en-US` | UI language (e.g., "en-US") | | `count` | int | No | `20` | Number of results (1-50) | | `offset` | int | No | `0` | Page offset (0-9) | | `safesearch` | string | No | `strict` | Adult content filter (`off`/`moderate`/`strict`) | | `freshness` | string | No | - | Time filter (`pd`/`pw`/`pm`/`py` or date range) | | `spellcheck` | bool | No | `true` | Auto-correct query | | `extra_snippets` | bool | No | - | Up to 5 additional excerpts per result | | `goggles` | string or array | No | - | Custom ranking filter (URL or inline; repeat param for multiple) | | `operators` | bool | No | `true` | Apply search operators | | `include_fetch_metadata` | bool | No | `false` | Include fetch timestamps in results |

Freshness Values

| Value | Description | |--|--| | `pd` | Past day (24 hours) - ideal for breaking news | | `pw` | Past week (7 days) | | `pm` | Past month (31 days) | | `py` | Past year (365 days) | | `YYYY-MM-DDtoYYYY-MM-DD` | Custom date range |

Response Format

{
  "type": "news",
  "query": {
    "original": "space exploration"
  },
  "results": [
    {
      "type": "news_result",
      "title": "New Developments in Space Exploration",
      "url": "https://news.example.com/space-exploration",
      "description": "Recent missions have advanced our understanding of...",
      "age": "2 hours ago",
      "page_age": "2026-01-15T14:30:00",
      "page_fetched": "2026-01-15T15:00:00Z",
      "meta_url": {
        "scheme": "https",
        "netloc": "news.example.com",
        "hostname": "news.example.com",
        "favicon": "https://imgs.search.brave.com/favicon/news.example.com",
        "path": "/space-exploration"
      },
      "profile": {
        "name": "Example Outlet",
        "url": "https://news.example.com/space-exploration"
      },
      "thumbnail": {
        "src": "https://imgs.search.brave.com/..."
      }
    }
  ]
}

Response Fields

| Field | Type | Description | |--|--|--| | `type` | string | Always `"news"` | | `query.original` | string | The original search query | | `query.altered` | string? | Spellcheck-corrected query (if changed) | | `query.cleaned` | string? | Cleaned/normalized query from spellchecker | | `query.spellcheck_off` | bool? | Whether spellcheck was disabled | | `query.show_strict_warning` | bool? | True if strict safesearch blocked results | | `query.search_operators` | object? | Applied search operators | | `query.search_operators.applied` | bool | Whether operators were applied | | `query.search_operators.cleaned_query` | string? | Query after operator processing | | `query.search_operators.sites` | list[str]? | Domains from `site:` operators | | `results[].type` | string | Always `"news_result"` | | `results[].title` | string | Article title | | `results[].url` | string | Source URL of the article | | `results[].description` | string? | Article description/summary | | `results[].age` | string? | Human-readable age (e.g. "2 hours ago") | | `results[].page_age` | string? | Publication date from source (ISO datetime) | | `results[].page_fetched` | string? | When page was last fetched (ISO datetime) | | `results[].fetched_content_timestamp` | int? | Fetch timestamp (only with `include_fetch_metadata=true`) | | `results[].meta_url.scheme` | string? | URL protocol scheme | | `results[].meta_url.netloc` | string? | Network location | | `results[].meta_url.hostname` | string? | Lowercased domain name | | `results[].meta_url.favicon` | string? | Favicon URL | | `results[].meta_url.path` | string? | URL path | | `results[].thumbnail.src` | string | Served thumbnail URL | | `results[].thumbnail.original` | string? | Original thumbnail URL | | `results[].extra_snippets` | list[str]? | Up to 5 additional excerpts per result | | `results[].profile.name` | string? | Name of the site | | `results[].profile.url` | string? | The original URL where the profile is available | | `results[].profile.long_name` | string? | The long name of the site | | `results[].profile.img` | string? | The served image URL representing the profile |

Gogg

Read more
Ships withbrave-search-skills

Official skills for using Brave Search API with AI coding agents. Works with Claude Code, Cursor, GitHub Copilot, Codex, Gemini CLI, VS Code, Windsurf, OpenClaw, Cline, Goose, Amp, Roo Code, and many other agents that support the Agent Skills standard.

Get the whole plugin
Stats
165
Stars
11
Forks
Active
Maintenance
MIT
License
8h ago
Last commit
6mo ago
Created

Repo: brave/brave-search-skills