# HTML Srcset Effective Source Membership Detector

> HTML Srcset Effective Source Membership Detector is a paid API for AI agents from detect.halowerk.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-24).

Applies the HTML srcset descriptor-discard algorithm to a URL and returns the retained candidate set plus the effective src fallback membership.

## Facts

- Endpoint: POST https://detect.halowerk.com/v1/web/html-srcset-effective-source-membership?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/html-srcset-effective-source-membership-detector-83af8dc7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Bjh2NEO7EZR-919JdQeAn

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 html-srcset-effective-source-membership-detector-83af8dc7 -d '<json body>'
```

Example prompt: Run the HTML srcset descriptor-discard algorithm on https://example.com/article and tell me which image candidates are retained and whether the src fallback is a member of the effective source set.

## When to prefer this

Use this endpoint when an agent or pipeline needs to programmatically determine which image candidates survive the HTML srcset descriptor-discard algorithm for a given page URL, specifically to support responsive image rewriting, cross-browser compatibility audits, or automated QA of image declarations. Prefer this over generic HTML parsers when you need the precise browser-spec algorithm result including src fallback membership, not just raw srcset attribute extraction.

## Known failure modes

- Invalid or unreachable URL returns an error or empty candidate set
- Page has no srcset declarations resulting in empty retained set
- Malformed srcset descriptors may cause parsing errors
- Network timeout fetching the target URL
- URL exceeds 2048 character limit

## How this service works

An agent that rewrites responsive image declarations needs the retained candidate set and src fallback membership after the complete srcset descriptor-discard algorithm.

## Output

Returns the retained candidate set of image sources after the HTML srcset descriptor-discard algorithm is applied, along with a flag or membership indicator showing whether the src fallback qualifies within the effective source selection.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "maxLength": 2048
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/html-srcset-effective-source-membership-detector-83af8dc7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from detect.halowerk.com](https://www.zero.xyz/host/detect.halowerk.com/llms.txt)
