# Cerawal Headlines Fetcher

> Cerawal Headlines Fetcher is a paid API for AI agents from cerawal.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Fetches news headlines on a specified topic, pay-per-request via USDC with no subscription required

## Facts

- Endpoint: POST https://cerawal.vercel.app/api/headlines
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cerawal-headlines-fetcher-3c885bf5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_egOyzF9RxvFuwbILhZggq

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 cerawal-headlines-fetcher-3c885bf5 -d '<json body>'
```

Example prompt: Fetch me 5 recent headlines about artificial intelligence.

## When to prefer this

Choose this endpoint when you need quick, pay-per-use news headline retrieval on any topic without signing up for a subscription — ideal for AI agents that need occasional news lookups billed in USDC via x402 micropayments.

## Known failure modes

- Missing required 'topic' field returns a validation error
- Payment not included or insufficient USDC causes 402 response
- Topic returns no results if too obscure or misspelled
- Count parameter set to 0 or negative may return empty or error
- Service downtime on Vercel hosting may cause 503 responses

## How this service works

Web scraping and search for AI agents. No auth, no subscriptions. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing news headlines related to the requested topic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "topic"
 ],
 "properties": {
  "count": {
   "type": "number",
   "description": "Number of headlines"
  },
  "topic": {
   "type": "string",
   "description": "News topic"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cerawal-headlines-fetcher-3c885bf5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cerawal.vercel.app](https://www.zero.xyz/host/cerawal.vercel.app/llms.txt)
