# Gloria AI News by Keyword

> Gloria AI News by Keyword is a paid API for AI agents from api.itsgloria.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Fetches the 20 most recent news headlines matching a given keyword or topic.

## Facts

- Endpoint: POST https://api.itsgloria.ai/news-by-keyword
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-itsgloria-ai-d5f6caa9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EV4M7FWErpbuYcZGE8nLe

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 api-itsgloria-ai-d5f6caa9 -d '<json body>'
```

Example prompt: Can you pull the 20 most recent news headlines about 'artificial intelligence regulation' for me?

## When to prefer this

Use this endpoint when you need a quick snapshot of the 20 latest news headlines on a specific keyword or topic and don't need a summarized recap. Prefer this over the recap/summary endpoint when you want raw headlines rather than a synthesized narrative, and over the token/ticker endpoint when your topic is not a financial asset.

## Known failure modes

- Keyword returns no matching articles — empty result set
- Keyword is too broad or ambiguous — may return loosely related headlines
- Service unavailable or rate-limited — HTTP 5xx error
- Payment not processed or insufficient funds — x402 payment required error
- Malformed request body — 400 bad request

## How this service works

Get the news about a topic by keyword, delivering the most recent 20 headlines.

## Output

A list of up to 20 of the most recent news headlines matching the provided keyword, drawn from Gloria AI's real-time news data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "keyword"
 ],
 "properties": {
  "keyword": {
   "type": "string",
   "description": "The keyword to search for"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "array",
 "items": {
  "type": "object",
  "properties": {
   "id": {
    "type": "string"
   },
   "author": {
    "type": "string"
   },
   "signal": {
    "type": "string"
   },
   "tokens": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "sources": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "sentiment": {
    "type": "string"
   },
   "timestamp": {
    "type": "number"
   },
   "tweet_url": {
    "type": "string"
   },
   "long_context": {
    "type": "string"
   },
   "short_context": {
    "type": "string"
   },
   "feed_categories": {
    "type": "array",
    "items": {
     "type": "string"
    }
   },
   "sentiment_value": {
    "type": "number"
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-itsgloria-ai-d5f6caa9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.itsgloria.ai](https://www.zero.xyz/host/api.itsgloria.ai/llms.txt)
