# ScrapFly News Search API

> ScrapFly News Search API 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).

Searches the web for news articles matching a query and returns structured results

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/news/search?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-search-api-0f1473e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nWgoHs6No14nbgIBAgai7

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

Example prompt: Search for the latest news articles about the Federal Reserve interest rate decision and give me a summary of what's being reported.

## When to prefer this

Choose this endpoint when you need to programmatically search for news articles by keyword or topic without setting up your own scraping infrastructure. It is particularly useful for AI agents that need current news context, competitive intelligence, or event monitoring on demand and can pay per request via USDC on Base chain rather than committing to a subscription.

## Known failure modes

- Empty or vague query returns no results or irrelevant articles
- Query for very niche or obscure topics may return sparse results
- Payment failure on Base chain (x402) will prevent request from completing
- Rate limiting or upstream news source unavailability may cause transient failures
- Malformed request body missing the required 'query' field returns an 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 structured object with a success flag and a data object containing news search results — typically including article titles, URLs, publication sources, timestamps, and snippet text matching the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "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-0f1473e8/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)
