# ScrapFly News by Topic

> ScrapFly News by Topic is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-24).

Fetches current news articles and content for a given topic via web scraping

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/news/topic?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-news-by-topic-c52f6437
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DYOXPFK8mJZ1OHqX1gbCQ

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 scrapfly-news-by-topic-c52f6437 -d '<json body>'
```

Example prompt: Can you pull the latest news articles about artificial intelligence for me?

## When to prefer this

Choose this endpoint when you need to quickly retrieve current news articles for a specific topic without setting up your own scraper, especially when operating in an agentic workflow that supports x402 micropayments on Base chain. It is well-suited for one-off topic-based news lookups rather than continuous monitoring or full-site crawling.

## Known failure modes

- Invalid or empty topic string returns an error or empty results
- Topic too broad may return low-relevance results
- External news sources unavailable may cause scraping failures
- Rate limiting or payment failure on Base chain blocks the request
- Malformed request body missing required 'topic' field returns validation error

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a JSON object with a success boolean and a data object containing scraped news articles and content relevant to the requested topic, including headlines, article bodies, and metadata.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "topic"
 ],
 "properties": {
  "topic": {
   "type": "string",
   "description": "topic"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapfly-news-by-topic-c52f6437/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapfly.vercel.app](https://www.zero.xyz/host/scrapfly.vercel.app/llms.txt)
