# Vibes-Coded News Headlines API

> Vibes-Coded News Headlines API is a paid API for AI agents from vibes-coded.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches recent news headlines matching a search query, returning titles, URLs, sources, and publication timestamps as structured JSON.

## Facts

- Endpoint: POST https://vibes-coded.com/api/v1/outcomes/news-headlines
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vibes-coded-news-headlines-api-f10871fa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XAKCEcdB-iFxs2hVRqa40

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 vibes-coded-news-headlines-api-f10871fa -d '<json body>'
```

Example prompt: Can you pull the latest news headlines about Solana USDC so I can see what's been happening in the space recently?

## When to prefer this

Choose this endpoint when an AI agent needs structured, machine-readable news headlines for a specific topic on a pay-per-call basis without committing to a subscription. Useful for lightweight, on-demand news lookups inside agent workflows where billing is handled via USDC micropayments (x402 protocol).

## Known failure modes

- Empty headlines array if no news matches the query
- HTTP 402 if USDC payment is not provided or insufficient
- Malformed or missing query parameter returns an error
- Stale or limited results if underlying news sources have gaps
- Network timeout if upstream news aggregation is slow

## How this service works

Pay-per-call JSON for AI agents: skill search, listing optimization, install plans, productization, and artifact risk scoring. HTTP 402 → USDC. Full skill marketplace on-site.

## Output

A JSON object with an 'ok' boolean, the original query string, a 'result_count' integer, and a 'headlines' array where each item contains a 'url', 'title', 'source' name, and 'published' timestamp string.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "query": "solana usdc",
  "headlines": [
   {
    "url": "https://example.com/news/1",
    "title": "Solana USDC settlement hits new high",
    "source": "Example Wire",
    "published": "Tue, 21 Jul 2026 12:00:00 GMT"
   }
  ],
  "result_count": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vibes-coded-news-headlines-api-f10871fa/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vibes-coded.com](https://www.zero.xyz/host/vibes-coded.com/llms.txt)
