# ScrapFly News Search API

> ScrapFly News Search API is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-12).

Searches and retrieves news articles matching a given query string, returning structured results via a paid x402 endpoint

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/search/news?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-news-search-api-8e098dd7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C75JnXqAJ9f1rD-xHyskp

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-search-api-8e098dd7 -d '<json body>'
```

Example prompt: Search for the latest news about the OpenAI antitrust investigation and return 10 results.

## When to prefer this

Use this endpoint when you need to programmatically search and retrieve structured news articles for a given topic, especially in agent workflows that require fresh news data paid per-request without a subscription. Prefer this over general web search endpoints when the target is specifically news content. Best suited for one-off queries in automated pipelines using x402 micropayment infrastructure on Base chain.

## Known failure modes

- Missing required 'query' field returns an error response with success: false
- Invalid or empty query string may return zero results
- Rate limiting or payment failure via x402 protocol may block the request
- Upstream news source unavailability may result in incomplete results
- Very niche or obscure queries may return few or no matching articles

## 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 news articles matching the query, including article titles, sources, publication dates, URLs, and snippets relevant to the search query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "num": {
   "type": "number",
   "description": "num"
  },
  "query": {
   "type": "string",
   "description": "query"
  }
 }
}
```

## 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-search-api-8e098dd7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scravfly.vercel.app](https://www.zero.xyz/host/scravfly.vercel.app/llms.txt)
