# ScrapFly Web Content Extraction API

> ScrapFly Web Content Extraction 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-14).

Extracts structured data and content from a given URL via web scraping

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/crawl/extract
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapfly-web-content-extraction-api-59c31b8a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3ZB8qe0S8ca6c8f7Xqys-

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-content-extraction-api-59c31b8a -d '<json body>'
```

Example prompt: Can you extract the structured content from this page for me: https://www.example.com/products/widget-pro — I need all the data you can pull from it.

## When to prefer this

Use this endpoint when you need to extract structured data or content from a specific web URL and want to pay per request without a subscription. Particularly useful for one-off scraping tasks or when integrating web data extraction into an AI agent workflow with x402 micropayments on Base chain.

## Known failure modes

- URL is unreachable or returns a non-200 status — success:false with error details
- Target page blocks scraping via bot detection or CAPTCHA — partial or empty data returned
- Invalid or malformed URL input — validation error
- Payment failure on Base chain — request not processed
- Target site requires JavaScript rendering that may not be fully supported — incomplete extraction

## 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 the extracted structured content from the target URL. The data object includes page content, metadata, and any parseable structured data found on the page.

## 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-content-extraction-api-59c31b8a/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)
