# Subscription Activity String Normalisation

> Subscription Activity String Normalisation 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-11).

Normalises string fields in subscription activity records (plan names, dates) across up to 200 typed rows for local data-quality processing.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-subscription-activity-normalise?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/subscription-activity-string-normalisation-1a5754bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ctyU2PvpRpzWc8CLg6vBD

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 subscription-activity-string-normalisation-1a5754bf -d '<json body>'
```

Example prompt: Can you normalise the string fields in my subscription activity data? I have 4 rows with plan names like 'group-a' and 'group-b', dates like '2026-10-01', active account counts, and cancellation counts — just clean up the strings for me.

## When to prefer this

Choose this endpoint when you need lightweight, local string normalisation specifically for subscription activity data (plan names, dates, account counts, cancellations) and do not need external enrichment or forecasting. Ideal for data pipeline pre-processing steps with batches of up to 200 rows at very low cost ($0.01 per call). Not suitable if you need ML-based enrichment, forecasting, or data outside the subscription activity domain.

## Known failure modes

- Missing required fields (row_id, plan, date, active_accounts, cancellations) cause validation errors
- Submitting more than 200 rows exceeds the maxItems limit and is rejected
- Invalid date format (not matching YYYY-MM-DD pattern) causes schema validation failure
- Empty row_id (minLength:1 violated) causes rejection
- Numeric fields outside ±1,000,000,000,000 bounds are rejected
- Payment failure or insufficient USDC balance prevents processing

## How this service works

Subscription activity - String normalisation: String normalisation for Subscription 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 string normalisation deliverable.

## Output

A bounded, normalised set of subscription activity records with cleaned and standardised string fields (plan names, dates). Returns up to 200 processed rows with data-quality corrections applied locally — no external enrichment or forecasting is included.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/subscription-activity-string-normalisation-1a5754bf/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)
