# ScrapFly Local News API

> ScrapFly Local News 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-09-15).

Fetches local news articles and headlines for a specified geographic location

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/news/local
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-local-news-api-b9e14b1c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YHy8GtJRFCOmykL7rvK7m

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-local-news-api-b9e14b1c -d '<json body>'
```

Example prompt: Can you pull the latest local news for San Francisco right now?

## When to prefer this

Choose this endpoint when you need real-time local news for a specific geographic area and want to pay per-request with no subscription. Ideal for agents that need to surface city-specific news dynamically without maintaining a news API subscription. Best when geo targeting is the primary filter and you need broad local coverage rather than topic-specific filtering.

## Known failure modes

- Invalid or unrecognized geo string returns error or empty data
- Missing required 'geo' field results in 400-level error
- No news available for an obscure or unsupported location may return empty data object
- Payment failure via x402 protocol blocks the request
- Upstream news source unavailable causes scraping failure

## 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 flag and a data object containing local news articles, headlines, and related content for the specified geographic location.

## Request schema (JSON Schema)

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

## 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-local-news-api-b9e14b1c/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)
