# ScrapFly Web Search API

> ScrapFly Web Search 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).

Performs a web search query and returns structured search results

## Facts

- Endpoint: POST https://scravfly.vercel.app/api/search/web
- 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-web-search-api-73f36de1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7Nwaw73zw5Vrn5ZVAh7t0

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-search-api-73f36de1 -d '<json body>'
```

Example prompt: Search the web for 'best open-source LLM frameworks 2025' and give me the top 5 results with titles and URLs.

## When to prefer this

Choose this endpoint when you need real-time web search results that go beyond a model's training data cutoff, when you need current URLs and page summaries, or when you need programmatic access to web search via a pay-per-use x402 micropayment model on Base chain without managing search API keys.

## Known failure modes

- Empty or missing query returns validation error
- Query returns no results for highly niche or misspelled terms
- Rate limiting or payment failure results in 402 or error response
- Network timeouts for slow-loading search backends
- Malformed num parameter may cause unexpected result counts or errors

## How this service works

69 endpoints for data, content generation, and web scraping. Pay per request via x402 on Base chain.

## Output

Returns a success boolean and a data object containing web search results, likely including page titles, URLs, snippets/descriptions, and metadata for each result matching the query.

## Request schema (JSON Schema)

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

## 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-search-api-73f36de1/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)
