# Topic Headlines – Real-Time News

> Topic Headlines – Real-Time News is a paid API for AI agents from agents.openwebninja.com, paid per call via MPP, price unknown, status unknown (last checked 2026-10-14).

Returns the latest news headlines for a given topic category (World, Sports, Technology, etc.) or specific publication, with metadata like title, snippet, author, and source.

## Facts

- Endpoint: GET https://agents.openwebninja.com/realtime-news-data/topic-headlines?utm_source=zero.xyz
- Price: price unknown
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Provider: agents.openwebninja.com
- Website: https://agents.openwebninja.com
- Canonical page: https://www.zero.xyz/c/agents-openwebninja-com-topic-headlines-real-time-news-d5ce5f71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P2WAwUn_Irupab4LJlc5c

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agents-openwebninja-com-topic-headlines-real-time-news-d5ce5f71
```

Example prompt: Pull the latest TECHNOLOGY news headlines from Google News — up to 50 articles, for the US in English — and give me the title, source, and a short snippet for each.

## When to prefer this

Choose this endpoint when you need categorized, real-time news headlines aligned to Google News topic buckets (World, Sports, Technology, Business, Health, Science, Entertainment, National) or want to filter by country and language. Prefer it over search-based news endpoints when you want curated topic-level aggregation rather than keyword search results.

## Known failure modes

- Invalid or unsupported topic enum value returns a 400 or empty result
- Unsupported country code or language code may return an empty dataset or default-language results
- Requesting more than 500 articles (limit > 500) returns a validation error
- Payment/authentication failure returns a 402 or 401 response
- Network timeout if the upstream Google News scrape is slow

## How this service works

Get the latest news headlines for a topic (World,  Sports, Technology, etc) or publication (e.g. CNN, BBC, etc).

## Output

Returns an array of news article objects, each containing a headline, canonical article URL, optional snippet, author list, source publisher name and URL, thumbnail and photo URLs, related Google News topics, and grouped sub-articles. Up to 500 articles can be returned per call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "topic"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 500,
   "maximum": 500,
   "minimum": 1,
   "description": "Maximum number of news articles to return."
  },
  "topic": {
   "enum": [
    "WORLD",
    "NATIONAL",
    "BUSINESS",
    "TECHNOLOGY",
    "ENTERTAINMENT",
    "SPORTS",
    "SCIENCE",
    "HEALTH"
   ],
   "type": "string",
   "example": "WORLD",
   "description": "Topic or publication for which to get news headlines.  \n  In addition, topic / publication IDs are also accepted and can be taken from a News topic URL as it appears after the topics/ or publications/ path part (e.g. Football Topic - /topics/CAAqJQgKIh9DQkFTRVFvSUwyMHZNREoyZURRU0JXVnVMVWRDS0FBUAE)."
  },
  "country": {
   "type": "string",
   "default": "us",
   "description": "Country code. See all available country codes."
  },
  "language": {
   "type": "string",
   "default": "en",
   "description": "The language to use for the results, specified as a 2-letter language code - see ISO 639-1 alpha-2."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "title",
     "link"
    ],
    "properties": {
     "link": {
      "type": "string",
      "description": "Canonical URL of the article."
     },
     "title": {
      "type": "string",
      "description": "Headline of the news article."
     },
     "authors": {
      "type": "array",
      "items": {
       "type": "string",
       "description": "A single author name."
      },
      "nullable": true,
      "description": "Author names credited on the article."
     },
     "snippet": {
      "type": "string",
      "nullable": true,
      "description": "Short excerpt of the article body."
     },
     "photo_url": {
      "type": "string",
      "nullable": true,
      "description": "URL of the article's lead image."
     },
     "source_url": {
      "type": "string",
      "nullable": true,
      "description": "Homepage URL of the source publisher."
     },
     "source_name": {
      "type": "string",
      "nullable": true,
      "description": "Publisher name of the source."
     },
     "sub_articles": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "title",
        "link"
       ],
       "properties": {
        "link": {
         "type": "string",
         "description": "Canonical URL of the sub-article."
        },
        "title": {
         "type": "string",
         "description": "Headline of the sub-article."
        },
        "photo_url": {
         "type": "string",
         "nullable": true,
         "description": "URL of the sub-article's lead image."
        },
        "thumbnail_url": {
         "type": "string",
         "nullable": true,
         "description": "URL of the sub-article's thumbnail image."
        },
        "published_datetime_utc": {
         "type": "string",
         "nullable": true,
         "description": "ISO 8601 UTC datetime of the sub-article's publication."
        }
       }
      },
      "nullable": true,
      "description": "Related sub-articles that Google News groups with this headline."
     },
     "thumbnail_url": {
      "type": "string",
      "nullable": true,
      "description": "URL of the article's thumbnail image."
     },
     "related_topics": {
      "type": "array",
      "items": {
       "type": "object",
       "required": [
        "topic_id",
        "topic_name"
       ],
       "properties": {
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-openwebninja-com-topic-headlines-real-time-news-d5ce5f71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.openwebninja.com](https://www.zero.xyz/host/agents.openwebninja.com/llms.txt)
