# httpay.xyz NewsAPI Gateway

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

Proxies requests to the NewsAPI news aggregator service, allowing agents to search and retrieve news articles via a pay-per-call gateway

## Facts

- Endpoint: POST https://httpay.xyz/api/gateway/newsapi/%7B*path%7D/*
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/httpay-xyz-fbaa9dd3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hYjBfyg-3bCQF2HWhLuh9

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-fbaa9dd3 -d '<json body>'
```

Example prompt: Can you search NewsAPI for the latest articles about OpenAI from the past week — I want headlines, sources, and URLs for the top results in English?

## When to prefer this

Use this endpoint when you need to query NewsAPI programmatically without managing your own NewsAPI key, and you are already operating in a micropayment (x402/USDC) environment. Ideal for agents that need on-demand news lookups without a subscription, paying only per call.

## Known failure modes

- Invalid or unsupported NewsAPI path segment returns 404 or passthrough error
- Missing or invalid query parameters cause NewsAPI to return empty results or error
- Payment failure or insufficient funds blocks the gateway before the request reaches NewsAPI
- Rate limiting from NewsAPI upstream causes 429 errors
- Requests for future dates or unsupported categories return empty article lists

## How this service works

API Gateway: NewsAPI news aggregator

## Output

Returns news article data from NewsAPI including headlines, article descriptions, source names, publication dates, and URLs, proxied through the httpay.xyz gateway after a micropayment of $0.001 USDC.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/httpay-xyz-fbaa9dd3/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)
