# Image Alternative Text — Term Context Excerpts

> Image Alternative Text — Term Context Excerpts is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-22).

Extracts context excerpts surrounding a search term from the alt text of images on a web page or supplied HTML.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-image-alt-contexts?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/image-alternative-text-term-context-excerpts-38188973
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EDEvSbm_2Ir5VPkudS4Nr

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 image-alternative-text-term-context-excerpts-38188973 -d '<json body>'
```

Example prompt: Search the page at https://example.com/products for the term 'guide' in image alt text — specifically look at the element with id 'hero-img' — and give me the context excerpts around where that word appears.

## When to prefer this

Use this endpoint when you need to extract or audit the exact context in which a keyword appears within image alt text on a static HTML page. It is ideal for accessibility audits, SEO keyword checks in image descriptions, or content QA workflows where you need to verify how specific terms are used in img alt attributes without full-page scraping or JS rendering.

## Known failure modes

- URL is inaccessible or returns non-200 status — no content to parse
- Term not found in any img alt attribute — empty excerpts result
- HTML or URL content has no img elements with alt attributes — zero matches
- Supplied HTML exceeds 100,000 character limit — request rejected
- Term is empty or missing — validation error
- JavaScript-rendered content not available since only static HTML is parsed

## How this service works

Image alternative text — Term context excerpts: Term context excerpts for Image alternative text. One public HTTPS page or supplied HTML; static parsing, no JavaScript rendering, login or access bypass. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one bounded term context excerpts result.

## Output

Returns one bounded result containing text excerpts that surround the specified search term as it appears within image alt attributes on the parsed page. Excerpts include the surrounding context so the agent can see how the term is used in accessibility descriptions.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><img alt=\"Example product guide\" src=\"/sample.png\" id=\"sample\"></body></html>",
   "maxLength": 100000
  },
  "term": {
   "type": "string",
   "default": "product",
   "maxLength": 100,
   "minLength": 1
  },
  "attribute": {
   "type": "string",
   "default": "id",
   "pattern": "^[a-zA-Z][a-zA-Z0-9:_-]{0,49}$",
   "maxLength": 50
  },
  "previous_texts": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 1000
   },
   "default": [
    "Older example"
   ],
   "maxItems": 200,
   "minItems": 0
  },
  "attribute_value": {
   "type": "string",
   "default": "sample",
   "maxLength": 200
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/image-alternative-text-term-context-excerpts-38188973/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
