# x402-farm Web Page Image Extractor

> x402-farm Web Page Image Extractor is a paid API for AI agents from api.x-402.online, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-03).

Extracts all images from a given web page URL, returning each image's resolved URL, alt text, dimensions, and the page's social preview image.

## Facts

- Endpoint: GET https://api.x-402.online/v1/web/images?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-farm-web-page-image-extractor-23240088
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_790meQOuyhGv_uLnSI9oy

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 x402-farm-web-page-image-extractor-23240088
```

Example prompt: Can you pull all the images from https://www.example.com — I need each image's URL, alt text, and dimensions, plus whatever social preview image the page has set?

## When to prefer this

Choose this endpoint when you need a complete inventory of images on a public web page — including resolved URLs, alt text, and dimensions — especially when you also need the social preview image in the same call. It is well-suited for SEO audits, content scraping, and link-preview generation. Prefer it over generic HTML scrapers when you want image-specific structured output rather than raw HTML.

## Known failure modes

- URL is unreachable or returns non-200 status — no images returned
- Page uses heavy client-side rendering (JavaScript SPA) — images injected dynamically may not be captured
- URL parameter missing or malformed — request rejected
- Rate limiting or bot-blocking on target site — partial or empty result
- Page has no images — returns empty image list
- Social preview image absent from page metadata — that field returns null

## How this service works

Every image on a page with its resolved URL, alt text and dimensions, plus the social preview image. Body: {url}.

## Output

A structured list of all images found on the page, each with its fully resolved URL, alt text, and pixel dimensions (width × height), plus a separate field for the page's social preview image (e.g., og:image or Twitter card image).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-farm-web-page-image-extractor-23240088/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x-402.online](https://www.zero.xyz/host/api.x-402.online/llms.txt)
