# ScrapFly Video Search API

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

Searches the web for videos matching a given query and returns structured video results

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/search/videos?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-video-search-api-bd0cc2e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xkou_9C3kWpG1wq64acAB

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-video-search-api-bd0cc2e0 -d '<json body>'
```

Example prompt: Search the web for videos about 'machine learning for beginners' and return the top 10 results.

## When to prefer this

Use this endpoint when you need to programmatically discover video content from the web based on keyword queries, especially within an agent workflow that pays per request via x402 on the Base chain. It is suitable for content research, competitive analysis, or curating video resources without needing a YouTube Data API key or other platform-specific credentials.

## Known failure modes

- Missing required 'query' parameter returns an error
- Empty or overly broad queries may return irrelevant results
- Rate limiting or payment failure on the x402 Base chain may block the request
- Network timeouts if the underlying scraping source is slow
- Query in unsupported language may yield poor results

## 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 video search results, including video titles, URLs, thumbnails, descriptions, and other metadata for each matched video.

## 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-video-search-api-bd0cc2e0/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)
