# ScrapFly Broken Link Crawler

> ScrapFly Broken Link Crawler is a paid API for AI agents from scravfly.vercel.app, paid per call via x402, $0.06/call, status unknown (last checked 2026-09-14).

Crawls a given URL and identifies broken links found on that page, returning structured crawl results.

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/crawl/broken
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-broken-link-crawler-4df1e8a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GUoh7mp-1-G4aP7pB3B2N

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-broken-link-crawler-4df1e8a1 -d '<json body>'
```

Example prompt: Can you crawl https://example.com/blog and find all the broken links on that page, checking up to 50 links?

## When to prefer this

Use this endpoint when you need to programmatically detect broken links on a specific web page, particularly for SEO auditing, pre-launch QA, or ongoing link health monitoring. Prefer this over generic scraping endpoints when the specific goal is identifying dead or invalid hyperlinks rather than extracting page content.

## Known failure modes

- Invalid or unreachable URL returns success: false
- Target site blocks crawling (returns error or empty data)
- maxLinks set too high may cause timeouts or incomplete results
- Malformed URL input causes request validation failure
- Payment failure on Base chain prevents request from completing

## 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 details about the crawl, including information about broken or invalid links discovered on the target page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "url"
 ],
 "properties": {
  "url": {
   "type": "string",
   "description": "url"
  },
  "maxLinks": {
   "type": "number",
   "description": "maxLinks"
  }
 }
}
```

## 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-broken-link-crawler-4df1e8a1/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)
