# ScrapFly Local News API

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

Fetches local news articles and content for a given geographic location

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/news/local?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-local-news-api-5b192e7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ERIag2l4Xg4eJUw4ouEst

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-5b192e7d -d '<json body>'
```

Example prompt: Can you pull up the latest local news for Austin, Texas — I want to see what's happening in the area right now?

## When to prefer this

Choose this endpoint when you need real-time local news content for a specific geographic area and want pay-per-request pricing via USDC on Base chain rather than a subscription model. Useful for AI agents that need on-demand, location-specific news without maintaining a news API subscription.

## Known failure modes

- Invalid or unrecognized geo string returns error or empty data
- Missing required geo parameter causes request failure
- No news available for very obscure or unsupported locations returns empty data
- Rate limiting or payment failure via x402 protocol
- Service unavailable or scraping target blocked returns failure response

## 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 content relevant to 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-5b192e7d/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)
