# Aayat AI News Brief

> Aayat AI News Brief is a paid API for AI agents from aayatai.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-02).

Fetches a curated, AI-generated markdown news brief with citations for a given topic, aggregating headlines from Hacker News, RSS feeds, GDELT, Lemmy, and DEV over a configurable time window.

## Facts

- Endpoint: GET https://aayatai.com/news/brief?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-news-brief-2eb639cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dZs51kiqaWFwwDQ47ibdF

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 aayat-ai-news-brief-2eb639cc
```

Example prompt: Give me a news brief on x402 payments from the last 7 days, pulling from Hacker News and RSS feeds, limited to the top 20 results.

## When to prefer this

Choose this endpoint when you need a synthesized, citeable markdown news brief aggregated from multiple tech-focused sources (Hacker News, RSS, GDELT, Lemmy, DEV) for a specific topic over a recent time window. It is particularly useful for AI agents that need ready-to-use briefings with inline citations rather than raw search results, and when you want no-account pay-per-call access via x402 on Base or Solana. Prefer alternatives if you need real-time general web search, social media sentiment, or structured data beyond news articles.

## Known failure modes

- Missing required query parameter 'q' returns validation error
- Query string too short (under 2 chars) or too long (over 200 chars) fails schema validation
- Invalid 'sources' values return no results or error
- Days parameter out of range (>30 or <1) fails validation
- Payment not received or insufficient USDC triggers 402 response
- Live sources (news, lemmy, dev) may time out or return fewer results than requested
- No matching articles found returns empty items array with zero total

## How this service works

AI research brief on any topic from the last 1-30 days: gathers Hacker News and headlines from major outlets, Lobsters, Lemmy and DEV, then writes a concise briefing (key developments, sentiment, what to watch) with numbered citations to the sources, plus the full item list. Pass ?q=topic&days=7. Built for research agents.

## Output

A JSON object containing a markdown-formatted briefing string with numbered citations, an array of news items (each with title, URL, source, outlet, snippet, publish date, score, and comment count), the original query string, total count, days searched, and a sources array showing which outlets responded and how many results each returned. Also includes a trust notice about third-party content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "maxLength": 200,
       "minLength": 2,
       "description": "Topic or search words, e.g. x402 payments."
      },
      "days": {
       "type": "integer",
       "default": 7,
       "maximum": 30,
       "minimum": 1,
       "description": "How many days back to search (1-30)."
      },
      "limit": {
       "type": "integer",
       "default": 30,
       "maximum": 100,
       "minimum": 1,
       "description": "Most items to return."
      },
      "sources": {
       "type": "string",
       "maxLength": 30,
       "description": "Comma list of hn, rss (stored headlines from major outlets, Lobsters, Lemmy and DEV), and the slower live searches news (GDELT), lemmy and dev. Default: hn,rss."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "query",
      "days",
      "brief",
      "items",
      "sources"
     ],
     "properties": {
      "days": {
       "type": "integer"
      },
      "brief": {
       "type": "string",
       "description": "Markdown briefing with [n] citations that refer to items[n-1]."
      },
      "items": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "url": {
          "type": "string"
         },
         "score": {
          "type": [
           "integer",
           "null"
          ]
         },
         "title": {
          "type": "string"
         },
         "outlet": {
          "type": [
           "string",
           "null"
          ]
         },
         "source": {
          "enum": [
           "hackernews",
           "lemmy",
           "dev",
           "news",
           "rss"
          ],
          "type": "string"
         },
         "snippet": {
          "type": [
           "string",
           "null"
          ]
     
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "days": 7,
  "brief": "## Key developments\n- Coinbase expanded x402 support to Solana [1]...",
  "items": [
   {
    "url": "https://x402.org",
    "score": 312,
    "title": "x402: an open payment protocol for the web",
    "outlet": "x402.org",
    "source": "hackernews",
    "snippet": null,
    "comments": 140,
    "publishedAt": "2026-09-27T10:15:00Z",
    "discussionUrl": "https://news.ycombinator.com/item?id=1"
   }
  ],
  "query": "x402 payments",
  "total": 1,
  "sources": [
   {
    "ok": true,
    "name": "hn",
    "count": 1
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-news-brief-2eb639cc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
