# ScrapFly Web Scrape Endpoint

> ScrapFly Web Scrape Endpoint is a paid API for AI agents from scrapfly.vercel.app, paid per call via x402, $0.07/call, status unknown (last checked 2026-10-24).

Scrapes a given URL and returns the page content, supporting JavaScript rendering and anti-bot bypass via a pay-per-request x402 API.

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/scrape?utm_source=zero.xyz
- Price: $0.07/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-web-scrape-endpoint-b1e08aaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hedb6aUs3EXRKtCohOirg

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-web-scrape-endpoint-b1e08aaf -d '<json body>'
```

Example prompt: Can you scrape the content of https://news.ycombinator.com and give me the page's raw HTML so I can extract the top stories from it?

## When to prefer this

Choose this endpoint when you need to retrieve the raw or rendered content of a specific URL, especially for JavaScript-heavy or bot-protected pages, and want to pay per request without a subscription. Ideal for one-off or low-volume scraping tasks billed via x402 on Base chain.

## Known failure modes

- URL is inaccessible or returns a non-200 status — success: false returned
- Anti-bot protection not bypassed — scrape fails or returns blocked page
- Invalid or malformed URL input — request rejected
- Payment failure on Base chain — request not processed
- Timeout on slow or unresponsive target page

## 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 boolean 'success' field indicating whether the scrape was successful, and a 'data' object containing the scraped page content (typically HTML or parsed page data).

## Request schema (JSON Schema)

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

## 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-web-scrape-endpoint-b1e08aaf/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)
