# Web Traffic Date-by-Category Pivot

> Web Traffic Date-by-Category Pivot 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).

Pivots up to 200 web traffic records into a date-by-category (channel) matrix for sessions or conversions.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-web-traffic-pivot?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/web-traffic-date-by-category-pivot-ffb072c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qpLqXK2K1OI--TOL7854c

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 web-traffic-date-by-category-pivot-ffb072c4 -d '<json body>'
```

Example prompt: Take my web traffic data — rows with dates, channels like 'organic' and 'paid-search', and session counts — and pivot it into a date-by-channel matrix showing sessions for each channel per day. I have about 50 rows covering October 2026.

## When to prefer this

Choose this endpoint when you have raw, row-level web traffic data (up to 200 records) with dates and channel labels and need a quick local pivot computation — no external data sources, forecasting, or enrichment required. Ideal for reshaping analytics exports into cross-tabular summaries for sessions or conversions without spinning up a full BI tool.

## Known failure modes

- Fewer than 1 row supplied — minimum item validation fails
- More than 200 rows supplied — maxItems limit exceeded
- Date field not in YYYY-MM-DD format — pattern validation error
- Missing required fields (row_id, channel, date, sessions, conversions) — schema validation error
- Invalid field enum value (not 'sessions' or 'conversions') — enum validation error
- Numeric values outside allowed range — min/maximum validation error

## How this service works

Web traffic - Date by category pivot: Date by category pivot for Web traffic. 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 date by category pivot deliverable.

## Output

A pivoted table structure where dates are one axis and channel categories are the other, with the selected metric (sessions or conversions) as the cell values — derived entirely from local numeric processing of the supplied rows, with no external enrichment.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-traffic-date-by-category-pivot-ffb072c4/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)
