# httpay.xyz News Headlines API

> httpay.xyz News Headlines API is a paid API for AI agents from httpay.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches the latest news headlines for a specified topic such as tech, AI, world, science, business, crypto, health, or sports

## Facts

- Endpoint: POST https://httpay.xyz/api/news
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 2
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-d78cae18
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hZVYtzW3FcQFg65__OZyv

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 httpay-xyz-d78cae18 -d '<json body>'
```

Example prompt: What are the latest headlines in AI news right now?

## When to prefer this

Use this endpoint when you need quick, categorized news headlines for one of the supported topics (tech, ai, world, science, business, crypto, health, sports) and want a simple POST-based interface with pay-per-call pricing via x402/USDC rather than managing a full NewsAPI subscription.

## Known failure modes

- Invalid or unsupported topic returns default tech headlines or an error
- Payment not received results in 402 Payment Required
- NewsAPI upstream outage may return no results or a 503
- Malformed POST body may return a 400 Bad Request

## How this service works

Latest news headlines for any topic. Topics: tech, ai, world, science, business, crypto, health, sports. Default: tech.

## Output

A list of the latest news headlines for the requested topic, aggregated from NewsAPI, covering categories like tech, AI, world, science, business, crypto, health, or sports.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "description": "Latest news headlines for any topic. Topics: tech, ai, world, science, business, crypto, health, sports. Default: tech."
 }
}
```

## More

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