# ScrapFly Top News API

> ScrapFly Top News API is a paid API for AI agents from scrapifrivly.orbonomy.xyz, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-22).

Fetches top news articles matching a given query via a pay-per-request web scraping and content API

## Facts

- Endpoint: POST https://scrapifrivly.orbonomy.xyz/api/news/top?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-top-news-api-e2f089c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_63Tsq5DVlLAbEDgyDp2aQ

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-top-news-api-e2f089c8 -d '<json body>'
```

Example prompt: Can you pull the top news articles right now about 'OpenAI GPT-5 release' using ScrapFly's news endpoint?

## When to prefer this

Use this endpoint when you need to retrieve top news articles for a specific topic or keyword via a pay-per-request model on the Base chain, especially when you want web-scraped news content without maintaining your own scraping infrastructure or news API subscriptions.

## Known failure modes

- Missing required 'query' field returns validation error
- Empty or vague query may return no results or low-quality articles
- Payment failure on Base chain results in 402 response and no data
- Rate limiting or quota exceeded returns error response
- Upstream news sources unavailable may cause partial or failed scrape

## 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 top news articles and headlines matching the provided query, scraped from across the web.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Input 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-top-news-api-e2f089c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scrapifrivly.orbonomy.xyz](https://www.zero.xyz/host/scrapifrivly.orbonomy.xyz/llms.txt)
