# Marketing Funnel Analyzer

> Marketing Funnel Analyzer is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Computes per-stage conversion rates, drop-off, loss-rate, overall conversion, bottleneck stage, and per-channel breakdown from ad funnel data

## Facts

- Endpoint: POST https://payai.agentstools.dev/marketing/funnel
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketing-funnel-analyzer-a1839dec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ifxNHuS-ubtbbzMRQoMkk

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 marketing-funnel-analyzer-a1839dec -d '<json body>'
```

Example prompt: Analyze my ad funnel data and tell me per-stage conversion rates, where users are dropping off the most, the bottleneck stage, and a breakdown by channel — here's my CSV with impressions, clicks, and conversions per channel.

## When to prefer this

Choose this endpoint when you have multi-channel ad data and need a fast, structured funnel breakdown with bottleneck identification — particularly when you already have the data as CSV or row objects and want pure computation without any data fetching or third-party integrations. Ideal for agents performing campaign audits or optimization recommendations.

## Known failure modes

- Missing or malformed CSV/TSV with no header row causes parsing failure
- Rows missing required stage count columns result in incomplete computation
- Mismatched stage names between rows and the stages array cause undefined behavior
- Empty input (no rows and no csv) returns an error
- Non-numeric values in stage count fields cause computation errors

## How this service works

Cross-channel conversion funnel over your ad data: per-stage conversion rate, drop-off, loss-rate, overall conversion, the bottleneck stage, and a per-channel breakdown. Pure computation over your inputs.

## Output

Returns per-stage conversion rates, drop-off percentages, loss rates, the overall end-to-end conversion rate, the identified bottleneck stage, and a per-channel breakdown of funnel performance — all computed purely from the provided input data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "description": "Raw CSV or TSV text with a header row, as an alternative to rows"
  },
  "rows": {
   "type": "array",
   "items": {
    "type": "object"
   },
   "description": "Per-channel rows with stage counts (impressions/clicks/conversions or your custom stages)"
  },
  "stages": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Optional ordered stage names for any funnel; default is impressions then clicks then conversions"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketing-funnel-analyzer-a1839dec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
