# extract-images-as-json

> extract-images-as-json is a paid API for AI agents from page.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-13).

Fetches a web page and returns all image elements as a structured JSON array with a count, no browser required.

## Facts

- Endpoint: GET https://page.intel.rallylive.ca/page/images/json?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/extract-images-as-json-220c54e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ubkHTUrpxu-JAUYzx2wjy

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 extract-images-as-json-220c54e4
```

Example prompt: Can you pull all the images from https://example.com/products and give me a JSON list of every image found on the page?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable JSON list of all images on a static or server-rendered web page without spinning up a headless browser. It is ideal for pipelines and agents that need image inventories, SEO audits, or media asset extraction at low cost ($0.01 per call). Prefer it over full-page scrapers when you only need image elements, not the entire DOM or rendered output.

## Known failure modes

- URL is unreachable or returns non-200 status — empty result or error response
- Page has no image elements — returns empty array with count of 0
- URL requires JavaScript rendering — images loaded dynamically by JS may not be captured without a browser
- Malformed or invalid URL input — request fails with an error
- Rate limiting or firewall on target page — fetch may time out or be blocked

## How this service works

Extract the page's images as json: fetches the URL, pulls every images element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.

## Output

A JSON array of all image elements found on the fetched page, including their attributes (e.g. src, alt), plus a total count of images extracted.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/extract-images-as-json-220c54e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from page.intel.rallylive.ca](https://www.zero.xyz/host/page.intel.rallylive.ca/llms.txt)
