NeuralBridge
Sign in Download IDE
NeuralBridge

Web News

news

Fresh news from a set of news feeds: title, summary, link, date and publisher, filtered by words, language, topic and period.

Specifications

Context window
—
Max tokens in response
—
Vendor
NeuralBridge
Release
—
Login
text
Output
text

Description

What it is

Web News returns fresh news from a set of news feeds maintained by the platform. Each news item comes with a title, a short summary, a link, the publication date and the publisher name. The newest come first. You can filter news by words, language, topic and period.

Use it when you need to:

  • show a news feed on a topic on a site, in a bot or in a newsletter;
  • give a language model fresh context about events;
  • track when a topic appears in the news.

How it differs from Web Search with "categories": "news": Web News takes news from a fixed set of publishers, so the results are more stable and every item has a date. Search looks across the whole internet, but a result does not always have a date.

What you need

  • An API key. Create it in your account dashboard. Send the key with every request in the Authorization: Bearer YOUR_API_KEY header, replacing YOUR_API_KEY with your key. Do not publish the key or share it with anyone: requests made with it are paid from your balance.
  • Money on your balance. Every request is paid; the price is shown on this page.
  • A program that sends HTTP requests. The command line (curl), Python with the requests library or any API testing tool will do. Ready-made examples are in the "Code examples" block below: copy one, put in your key and run it.

How a request is built

  • The method and address are in the "Endpoints" block on this page.
  • Headers: Authorization: Bearer YOUR_API_KEY and Content-Type: application/json.
  • The request body is JSON: "name": value pairs in curly braces, separated by commas. Text goes in double quotes; numbers and true / false go without quotes.

Request example

All fresh news — the body can be an empty object:

{}

With filters:

{"query": "space rocket", "lang": "en", "time_range": "day", "limit": 10}

Request parameters

All parameters are optional.

  • query — words to filter by. A news item matches if at least one of the words is in its title or summary. Word forms are taken into account: "rocket" also finds "rockets". Several words work as "or": the more words, the more news match. Without query you get all news. The field can also be called q.
  • lang — the news language: ru or en. Without it or with auto, all languages. The field can also be called language.
  • category — the topic: ai — artificial intelligence, tech — technology, science — science, business — business, world — world, general — general news. The set of topics depends on the language.
  • time_range — only news from a period: hour, day, week or month. Without it, everything currently in the feeds.
  • limit — how many news items to return, from 1 to 50. Default: 20.

What the response contains

{
  "object": "list",
  "data": [
    {
      "title": "News title",
      "url": "https://…",
      "summary": "A short summary of the news…",
      "published": "2026-11-01T13:17:06Z",
      "source": "Publisher name"
    }
  ],
  "count": 1
}
  • data — the list of news, newest first.
  • title, summary — the news title and summary.
  • url — the link to the news item. It may contain the publisher's tracking tags (for example, utm_…); they do not affect opening the link.
  • published — the publication time in ISO 8601 format in UTC (the letter Z at the end shows this).
  • source — the publisher name.
  • count — how many news items are in the response.

A news item that appears in several feeds comes only once.

An empty data means no news matched. Remove some words from query, choose a longer time_range or leave out category.

Tips

  • To read a news item in full, pass its url to Web Scrape.
  • To get a short summary of the news in plain words, use Web Answer with "mode": "news".
  • For a feed that updates itself, request news every few minutes with time_range set to hour or day and show only the items whose url you do not have yet.

Pricing

Every request is paid at a fixed price shown on this page. The price does not depend on the number of news items in the response.

If you get an error

The server replies with an HTTP status code. 200 means everything is fine; any other code means an error:

  • 401 — the key is missing or wrong. Check the header: the word Bearer, a space and the whole key.
  • 402 — not enough money on your balance. Top it up in your account dashboard.
  • 403 — this key is not allowed to use the tool. Check the key permissions in your dashboard.
  • 429 — too many requests per minute. Wait a little and try again.
  • 503 — the service is temporarily unavailable. Try again in a minute.
  • Other codes usually mean the request is malformed: a required field is missing or the JSON has a mistake (an extra or missing comma, single quotes instead of double). Compare your request with the example on this page.

Parameters

limitdefault: 20
Maximum number of items in the response.
langdefault: auto
Language of the news results.
time_rangedefault:
Freshness window: how far back to take material.

Endpoints

POSThttps://api.neuralbridge.ru/v1/newsprimary
News — News results filtered by language and freshness.

Code examples

python
import requests

response = requests.post(
    "https://api.neuralbridge.ru/v1/news",
    headers={"Authorization": "Bearer YOUR_API_KEY"},
    json={"query": "космос", "lang": "ru", "time_range": "day", "limit": 10},
    timeout=60,
)
response.raise_for_status()
for item in response.json()["data"]:
    print(item["published"], item["source"])
    print(item["title"])
    print(item["url"])
    print()
For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Rate to be confirmed
The request cost in rubles — in the response, field usage.cost
Identifier
neuralbridge/web-news-09071
Get API key