# Commerce Intent Label Distribution

> Commerce Intent Label Distribution 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-18).

Computes label distribution statistics for a set of labelled commerce intent text records (browse, purchase, return, other)

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-ml-commerce-intent-label-balance?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/commerce-intent-label-distribution-e788adbe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oVhzvFfCFNIIgpaQY9Nf5

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 commerce-intent-label-distribution-e788adbe -d '<json body>'
```

Example prompt: Can you check the label distribution across my labelled commerce intent records? I have up to 200 records each tagged as browse, purchase, return, or other — tell me how many fall into each category and whether the dataset is balanced.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.01 USDC) label distribution summary for a small labelled commerce intent dataset (up to 200 records) without spinning up your own analytics. Ideal for pre-training data audits, annotation QA checks, or comparing class balance across cohorts. Not suitable for training or hosting a model — this is purely a dataset statistics tool.

## Known failure modes

- Fewer than 2 records submitted — returns validation error
- More than 200 records submitted — exceeds maxItems limit
- Record missing required fields (id, text, actual) — schema validation failure
- Invalid label value not in enum (browse, purchase, return, other) — rejected
- Text exceeding 1000 characters per record — truncation or rejection
- Payment failure (x402) — endpoint returns 402 Payment Required

## How this service works

Commerce intent - Label distribution: Label distribution for Commerce intent. Up to 200 supplied labelled text records. Local dataset tools, evaluation and small naive-Bayes baselines; no hosted model or foundation-model training. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded label distribution deliverable.

## Output

A distribution summary showing the count and/or proportion of records falling into each commerce intent class (browse, purchase, return, other) across the submitted labelled dataset, enabling assessment of class balance.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "text",
     "actual"
    ],
    "properties": {
     "id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "text": {
      "type": "string",
      "default": "",
      "maxLength": 1000
     },
     "actual": {
      "enum": [
       "browse",
       "purchase",
       "return",
       "other"
      ],
      "type": "string"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "id": "example-0-0",
     "text": "browse sample document number 0 for this supplied dataset.",
     "actual": "browse"
    },
    {
     "id": "example-0-1",
     "text": "browse sample document number 1 for this supplied dataset.",
     "actual": "browse"
    },
    {
     "id": "example-0-2",
     "text": "browse sample document number 2 for this supplied dataset.",
     "actual": "browse"
    },
    {
     "id": "example-1-0",
     "text": "purchase sample document number 0 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-1-1",
     "text": "purchase sample document number 1 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-1-2",
     "text": "purchase sample document number 2 for this supplied dataset.",
     "actual": "purchase"
    },
    {
     "id": "example-2-0",
     "text": "return sample document number 0 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-2-1",
     "text": "return sample document number 1 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-2-2",
     "text": "return sample document number 2 for this supplied dataset.",
     "actual": "return"
    },
    {
     "id": "example-3-0",
     "text": "other sample document number 0 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-1",
     "text": "other sample document number 1 for this supplied dataset.",
     "actual": "other"
    },
    {
     "id": "example-3-2",
     "text": "other sample document number 2 for this supplied dataset.",
     "actual": "other"
    }
   ],
   "maxItems": 200,
   "minItems": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/commerce-intent-label-distribution-e788adbe/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)
