# Figures — Structured Extraction

> Figures — Structured Extraction is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Extracts structured data from HTML <figure> elements on a public web page or supplied HTML, filtered by a search term and attribute value.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-figures-items?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/figures-structured-extraction-ff65ff76
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3H4fjJYtCdPRz64KOsZ5f

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 figures-structured-extraction-ff65ff76 -d '<json body>'
```

Example prompt: Can you extract all the figure elements from https://example.com/products that have the attribute 'data-kind' set to 'example', searching for the term 'product'?

## When to prefer this

Choose this endpoint when you need to extract structured data specifically from HTML <figure> elements on a static, publicly accessible web page or from supplied HTML. It is best suited for pages that do not require JavaScript rendering, authentication, or login. Use it when you know the specific attribute name and value to filter figures by, and you want a bounded, cost-predictable single extraction result for $0.01 USDC.

## Known failure modes

- URL is not publicly accessible (returns error or empty result)
- Page requires JavaScript rendering (static parser only, dynamic content not extracted)
- Login-gated or paywalled content cannot be accessed
- No figure elements matching the specified attribute and value found (empty result)
- HTML input exceeds 100,000 character limit
- Term parameter missing or too short (minLength 1)
- Attribute pattern does not match required format (must start with letter, alphanumeric/colon/underscore/hyphen)
- Rate limit reached across shared 50-profile, 20-operation engine

## How this service works

Figures — Structured extraction: Structured extraction for Figures. 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 structured extraction result.

## Output

Returns a bounded structured extraction result containing the matching figure elements found on the page or in the supplied HTML, including their attribute values and text content, filtered by the specified term and attribute value. One result per API call.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "default": "",
   "maxLength": 2048
  },
  "html": {
   "type": "string",
   "default": "<!doctype html><html><head></head><body><figure id=\"sample\" data-kind=\"example\">Example product guide</figure></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/figures-structured-extraction-ff65ff76/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)
