# ScrapFly Image Search API

> ScrapFly Image 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 images matching a text query and returns a list of image results

## Facts

- Endpoint: POST https://scrapfly.vercel.app/api/search/images?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-image-search-api-b85e3fc7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z7rAF64JWWgFpQG0ZiZVr

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-image-search-api-b85e3fc7 -d '<json body>'
```

Example prompt: Search the web for 10 images of 'sunset over the ocean' and give me the URLs.

## When to prefer this

Use this endpoint when you need to programmatically retrieve web image search results for a text query, especially in agent workflows requiring image URLs or visual content references without relying on a proprietary image API like Google Custom Search or Bing Image Search. Ideal for AI agent pipelines that pay per request via x402 on Base chain.

## Known failure modes

- Empty query string returns an error
- Query with no matching images returns empty data
- Network timeout when scraping image sources
- Rate limiting or payment failure via x402 on Base chain
- Malformed num parameter causes unexpected result count

## 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 image search results, including image URLs and associated 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-image-search-api-b85e3fc7/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)
