# Articles — Structured Extraction

> Articles — 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-13).

Extracts structured data from a web article page or supplied HTML by matching elements against a specified term, attribute, and attribute value.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-web-articles-items?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/articles-structured-extraction-2214e5ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1viqIXNiuQzz9ggUycPFB

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 articles-structured-extraction-2214e5ea -d '<json body>'
```

Example prompt: Can you extract the article content from https://example.com/news/story and find elements with the attribute 'data-kind' equal to 'body', searching for the term 'article'?

## When to prefer this

Choose this endpoint when you need to extract structured content from a single, publicly accessible article page or known HTML snippet using attribute-based element targeting. It is best suited for static pages that do not require JavaScript rendering or authentication. Prefer this over general-purpose scrapers when you need fine-grained control via attribute name and value matching, and when you want a bounded, cost-predictable single-extraction result at $0.01 USDC per call.

## Known failure modes

- URL is behind authentication or a paywall — endpoint cannot bypass login
- Page requires JavaScript rendering to load content — static parser returns empty or incomplete results
- URL is unreachable or returns a non-200 HTTP status
- HTML input exceeds 100,000 character limit
- No elements match the given attribute/attribute_value/term combination — empty extraction result
- Malformed HTML input causes parsing errors
- attribute parameter does not match the required pattern (must start with a letter, alphanumeric+special chars only)

## How this service works

Articles — Structured extraction: Structured extraction for Articles. 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 one bounded structured extraction result containing the matched HTML element data (text, attributes, context) from the provided URL or HTML, filtered by the specified term, attribute name, and attribute value. Results are statically parsed with no JavaScript rendering or login bypass.

## Request schema (JSON Schema)

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