# Social Post Observations — String Normalisation + Secondary-Measure Weighted Mean

> Social Post Observations — String Normalisation + Secondary-Measure Weighted Mean is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-02).

Performs string normalisation and secondary-measure weighted mean calculations on up to 200 social post observation records containing impressions and engagement counts.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-news-13-034?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/social-post-observations-string-normalisation-secondary-measure-dc4a4cdd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2g2vj0g5CxB3X4-r--Bkb

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 social-post-observations-string-normalisation-secondary-measure-dc4a4cdd -d '<json body>'
```

Example prompt: I have a batch of social post records with impressions and engagement counts across different channel groups — can you run string normalisation on the channel_group field and compute a secondary-measure weighted mean for impressions across up to 200 rows, and give me two reports?

## When to prefer this

Choose this endpoint when you need both string normalisation of categorical labels and a weighted mean computation on social post metrics (impressions or engagement_count) in a single call, delivered as two reports, without requiring live data lookups or external integrations. Ideal for batch offline analytics on up to 200 rows of owned social data at very low cost.

## Known failure modes

- Exceeding 200 rows results in rejection
- Missing required fields (row_id, channel_group, date, impressions, engagement_count) cause validation errors
- Invalid date format (non YYYY-MM-DD) triggers a pattern mismatch error
- Null values for both impressions and engagement_count may affect weighted mean computation
- Selecting an invalid field enum value returns a schema validation error

## How this service works

Social post observations — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied social post observations records (impressions, engagement_count). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Two analytical reports: one covering string normalisation results for channel group labels, and one covering a secondary-measure weighted mean calculation for the selected field (impressions or engagement_count), computed locally on the supplied data without any external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/social-post-observations-string-normalisation-secondary-measure-dc4a4cdd/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)
