# 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).

Search and retrieve news articles matching a given query, returning structured results via web scraping

## Facts

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

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

Example prompt: Search for the latest news about Tesla's Q3 earnings and return the top 10 results.

## When to prefer this

Choose this endpoint when you need to programmatically search and retrieve news articles at $0.05 per call via x402 micropayments on Base chain, especially when integrating into an agent workflow that requires fresh news data without managing a subscription to a dedicated news API. Ideal for infrequent or on-demand news lookups where pay-per-use is more cost-effective than a flat subscription.

## Known failure modes

- Empty or missing query returns validation error
- No results found for obscure or misspelled query
- Rate limiting or payment failure if USDC balance is insufficient
- Scraping target temporarily unavailable causing partial or empty data
- num parameter out of range causing unexpected result count

## How this service works

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

## Output

Returns a success boolean and a data object containing structured news article results matching the query, including article metadata such as titles, URLs, snippets, and publication details scraped from news sources.

## 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-936de8ba/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)
