# Advertising Performance Numeric Interval Filter

> Advertising Performance Numeric Interval Filter 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-20).

Filters advertising performance records (clicks or spend) to only return rows whose specified numeric field falls within a given minimum–maximum interval.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-sector-analytics-ad-performance-range-filter?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/advertising-performance-numeric-interval-filter-ccaeb370
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ETlMsu-uKkTxtp5oh1iFR

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 advertising-performance-numeric-interval-filter-ccaeb370 -d '<json body>'
```

Example prompt: Filter my ad campaign data to only keep rows where clicks is between 15 and 100 — here are 4 rows: row-1 campaign group-a 2026-10-01 spend 1 clicks 10, row-2 campaign group-b 2026-10-02 spend 2 clicks 20, row-3 campaign group-a 2026-10-03 spend 3 clicks 15, row-4 campaign group-b 2026-10-04 spend 4 clicks 30.

## When to prefer this

Use this endpoint when you have a batch of advertising campaign rows (up to 200) and need to quickly subset them by a numeric interval on either clicks or spend — locally, without any external enrichment or ML forecasting. Prefer this over a full analytics pipeline when you only need simple range filtering of ad performance data before further processing.

## Known failure modes

- No rows match the interval — returns empty result set
- Minimum value greater than maximum causes invalid range
- Rows missing required fields (row_id, campaign, date, clicks, spend) are rejected
- Input array exceeds 200 items — request rejected
- Invalid date format (not YYYY-MM-DD) causes validation error
- Field selector not one of 'clicks' or 'spend' — schema validation failure

## How this service works

Advertising performance - Numeric interval filter: Numeric interval filter for Advertising performance. 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 numeric interval filter deliverable.

## Output

Returns the subset of submitted advertising campaign rows (up to 200 input) whose value in the selected field (clicks or spend) falls within the specified minimum and maximum numeric interval. Output is the filtered list of matching row objects, preserving original fields (row_id, campaign, date, clicks, spend).

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/advertising-performance-numeric-interval-filter-ccaeb370/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)
