# Membership Activity IQR Outlier Flags

> Membership Activity IQR Outlier Flags 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-15).

Computes IQR-based statistical outlier flags on membership activity records (members or renewals fields) for up to 200 typed rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-membership-outliers?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/membership-activity-iqr-outlier-flags-e4d19428
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EqCmpOtQkbwGgFGuWHLDd

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 membership-activity-iqr-outlier-flags-e4d19428 -d '<json body>'
```

Example prompt: I have daily membership records across two tiers — can you run IQR outlier detection on the members field for these rows: row-1 2025-01-01 group-a 10 members 1 renewal, row-2 2025-01-02 group-b 200 members 2 renewals, row-3 2025-01-03 group-a 12 members 0 renewals?

## When to prefer this

Choose this endpoint when you need fast, local IQR-based outlier detection specifically on membership activity data (member counts or renewal figures) without external enrichment or forecasting. It is ideal for data quality checks, anomaly flagging before reporting, or identifying unusual membership trends across tiers, handling up to 200 records per call at low cost.

## Known failure modes

- Fewer than 1 row submitted — minimum 1 row required
- More than 200 rows submitted — exceeds maxItems limit
- Missing required fields (row_id, tier, date, members, renewals) on any row
- Invalid date format (must match YYYY-MM-DD pattern)
- Invalid field enum value (must be 'members' or 'renewals')
- Payment not included or insufficient — endpoint requires $0.01 USDC via x402
- All values are null for the selected field — IQR computation not possible

## How this service works

Membership activity - IQR outlier flags: IQR outlier flags for Membership activity. Up to 200 supplied typed records. Local numeric and data-quality processing; no external enrichment or forecasting. One of 25 profiles or calculations across 20 shared operations in this sector. 0.01 USDC includes one bounded iqr outlier flags deliverable.

## Output

Returns IQR-based outlier flags for each submitted row, indicating which records fall outside the interquartile range for the selected numeric field (members or renewals). Each row in the response is identified by its row_id with a flag indicating outlier status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "tier",
     "date",
     "members",
     "renewals"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "tier": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "members": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "renewals": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "tier": "group-a",
     "row_id": "row-1",
     "members": 10,
     "renewals": 1
    },
    {
     "date": "2026-10-02",
     "tier": "group-b",
     "row_id": "row-2",
     "members": 20,
     "renewals": 2
    },
    {
     "date": "2026-10-03",
     "tier": "group-a",
     "row_id": "row-3",
     "members": 15,
     "renewals": 3
    },
    {
     "date": "2026-10-04",
     "tier": "group-b",
     "row_id": "row-4",
     "members": 30,
     "renewals": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "members",
    "renewals"
   ],
   "type": "string",
   "default": "members"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/membership-activity-iqr-outlier-flags-e4d19428/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)
