{
  "x402Version": 2,
  "id": 28588,
  "slug": "28588",
  "resource": "https://tools.halowerk.com/v1/funnel/analyze",
  "description": "Walks the events you pass through the ordered steps you name and reports per step: how many arrived, conversion from the previous step and from the first, drop-off in users and as a rate, and time to the next step as median, p90 and mean. A step counts only if it happened after the one before and inside the window. Where events carry a segment, each is tested against the largest with the same two-proportion test the A/B endpoint uses. Nothing is stored.",
  "type": "http",
  "serviceName": "HALOWERK Agent Tools",
  "resourceType": "Utilities",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "events": [
              {
                "segment": "eu",
                "step": "view",
                "time_unix_s": 1786000000,
                "user_id": "u1"
              },
              {
                "segment": "eu",
                "step": "cart",
                "time_unix_s": 1786000120,
                "user_id": "u1"
              },
              {
                "segment": "eu",
                "step": "checkout",
                "time_unix_s": 1786000420,
                "user_id": "u1"
              },
              {
                "segment": "eu",
                "step": "purchase",
                "time_unix_s": 1786000900,
                "user_id": "u1"
              },
              {
                "segment": "us",
                "step": "view",
                "time_unix_s": 1786000010,
                "user_id": "u2"
              },
              {
                "segment": "us",
                "step": "cart",
                "time_unix_s": 1786000200,
                "user_id": "u2"
              },
              {
                "segment": "us",
                "step": "view",
                "time_unix_s": 1786000020,
                "user_id": "u3"
              }
            ],
            "steps": [
              "view",
              "cart",
              "checkout",
              "purchase"
            ],
            "window_s": 604800
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "biggest_drop_off": {
              "drop_off": 1,
              "drop_off_rate": 0.5,
              "index": 2,
              "step": "checkout"
            },
            "confidence_level": 0.95,
            "event_count": 7,
            "events_outside_funnel": 0,
            "funnel": [
              {
                "conversion_from_first": 1,
                "conversion_from_previous": 1,
                "drop_off": 0,
                "drop_off_rate": 0,
                "index": 0,
                "reached": 3,
                "step": "view",
                "time_to_next_s": {
                  "mean": 155,
                  "median": 155,
                  "p90": 187,
                  "sample": 2
                }
              },
              {
                "conversion_from_first": 0.666667,
                "conversion_from_previous": 0.666667,
                "drop_off": 1,
                "drop_off_rate": 0.333333,
                "index": 1,
                "reached": 2,
                "step": "cart",
                "time_to_next_s": {
                  "mean": 300,
                  "median": 300,
                  "p90": 300,
                  "sample": 1
                }
              },
              {
                "conversion_from_first": 0.333333,
                "conversion_from_previous": 0.5,
                "drop_off": 1,
                "drop_off_rate": 0.5,
                "index": 2,
                "reached": 1,
                "step": "checkout",
                "time_to_next_s": {
                  "mean": 480,
                  "median": 480,
                  "p90": 480,
                  "sample": 1
                }
              },
              {
                "conversion_from_first": 0.333333,
                "conversion_from_previous": 1,
                "drop_off": 0,
                "drop_off_rate": 0,
                "index": 3,
                "reached": 1,
                "step": "purchase",
                "time_to_next_s": null
              }
            ],
            "overall_conversion_rate": 0.333333,
            "segment_comparisons": [
              {
                "absolute_difference": 1,
                "alpha": 0.05,
                "baseline_rate": 0,
                "baseline_segment": "us",
                "note": null,
                "p_value": 0.0832645167,
                "rate": 1,
                "segment": "eu",
                "significant": false,
                "z": 1.732051
              }
            ],
            "segments": [
              {
                "conversion_rate": 0,
                "segment": "us",
                "steps": [
                  {
                    "index": 0,
                    "reached": 2,
                    "step": "view"
                  }
                ],
                "users_completed": 0,
                "users_entered": 2
              },
              {
                "conversion_rate": 1,
                "segment": "eu",
                "steps": [
                  {
                    "index": 0,
                    "reached": 1,
                    "step": "view"
                  }
                ],
                "users_completed": 1,
                "users_entered": 1
              }
            ],
            "stateless": true,
            "steps": [
              "view",
              "cart",
              "checkout",
              "purchase"
            ],
            "strict_order": true,
            "users_completed": 1,
            "users_entered": 3,
            "window_s": 604800
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "compare_segments": {
                    "default": true,
                    "description": "Break the funnel down by segment and test the segments against the largest one.",
                    "type": "boolean"
                  },
                  "confidence_level": {
                    "default": 0.95,
                    "maximum": 0.9999,
                    "minimum": 0.5,
                    "type": "number"
                  },
                  "events": {
                    "description": "Each event needs user_id, step and a timestamp (time_unix_s in seconds since 1970, or time as ISO 8601). Optional: segment. Events whose step is not in steps are counted in events_outside_funnel and otherwise left alone. The service caps the whole request body at 256 KB, so long records reach that limit before maxItems.",
                    "maxItems": 4000,
                    "minItems": 1,
                    "type": "array"
                  },
                  "max_segments": {
                    "default": 8,
                    "description": "How many segments are reported, largest first.",
                    "maximum": 20,
                    "minimum": 2,
                    "type": "integer"
                  },
                  "steps": {
                    "description": "Step names in the order they are meant to happen. Each name once.",
                    "items": {
                      "type": "string"
                    },
                    "maxItems": 20,
                    "minItems": 2,
                    "type": "array"
                  },
                  "strict_order": {
                    "default": true,
                    "description": "true requires each step to happen at or after the previous one. false only requires that it happened inside the window.",
                    "type": "boolean"
                  },
                  "window_s": {
                    "default": 604800,
                    "description": "How long a user has, from the first step on, to reach the later ones.",
                    "maximum": 31536000,
                    "minimum": 1,
                    "type": "integer"
                  }
                },
                "required": [
                  "steps",
                  "events"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "x402",
    "agent-tools",
    "analysis",
    "funnel_analyze",
    "bazaar"
  ],
  "sourceHost": "tools.halowerk.com",
  "lastUpdated": "2026-10-08T06:07:43.088Z",
  "quality": {
    "calls30d": 3,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-10-08T06:07:42.888Z"
  },
  "metadata": {
    "serviceName": "HALOWERK Agent Tools",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "events": [
                {
                  "segment": "eu",
                  "step": "view",
                  "time_unix_s": 1786000000,
                  "user_id": "u1"
                },
                {
                  "segment": "eu",
                  "step": "cart",
                  "time_unix_s": 1786000120,
                  "user_id": "u1"
                },
                {
                  "segment": "eu",
                  "step": "checkout",
                  "time_unix_s": 1786000420,
                  "user_id": "u1"
                },
                {
                  "segment": "eu",
                  "step": "purchase",
                  "time_unix_s": 1786000900,
                  "user_id": "u1"
                },
                {
                  "segment": "us",
                  "step": "view",
                  "time_unix_s": 1786000010,
                  "user_id": "u2"
                },
                {
                  "segment": "us",
                  "step": "cart",
                  "time_unix_s": 1786000200,
                  "user_id": "u2"
                },
                {
                  "segment": "us",
                  "step": "view",
                  "time_unix_s": 1786000020,
                  "user_id": "u3"
                }
              ],
              "steps": [
                "view",
                "cart",
                "checkout",
                "purchase"
              ],
              "window_s": 604800
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "biggest_drop_off": {
                "drop_off": 1,
                "drop_off_rate": 0.5,
                "index": 2,
                "step": "checkout"
              },
              "confidence_level": 0.95,
              "event_count": 7,
              "events_outside_funnel": 0,
              "funnel": [
                {
                  "conversion_from_first": 1,
                  "conversion_from_previous": 1,
                  "drop_off": 0,
                  "drop_off_rate": 0,
                  "index": 0,
                  "reached": 3,
                  "step": "view",
                  "time_to_next_s": {
                    "mean": 155,
                    "median": 155,
                    "p90": 187,
                    "sample": 2
                  }
                },
                {
                  "conversion_from_first": 0.666667,
                  "conversion_from_previous": 0.666667,
                  "drop_off": 1,
                  "drop_off_rate": 0.333333,
                  "index": 1,
                  "reached": 2,
                  "step": "cart",
                  "time_to_next_s": {
                    "mean": 300,
                    "median": 300,
                    "p90": 300,
                    "sample": 1
                  }
                },
                {
                  "conversion_from_first": 0.333333,
                  "conversion_from_previous": 0.5,
                  "drop_off": 1,
                  "drop_off_rate": 0.5,
                  "index": 2,
                  "reached": 1,
                  "step": "checkout",
                  "time_to_next_s": {
                    "mean": 480,
                    "median": 480,
                    "p90": 480,
                    "sample": 1
                  }
                },
                {
                  "conversion_from_first": 0.333333,
                  "conversion_from_previous": 1,
                  "drop_off": 0,
                  "drop_off_rate": 0,
                  "index": 3,
                  "reached": 1,
                  "step": "purchase",
                  "time_to_next_s": null
                }
              ],
              "overall_conversion_rate": 0.333333,
              "segment_comparisons": [
                {
                  "absolute_difference": 1,
                  "alpha": 0.05,
                  "baseline_rate": 0,
                  "baseline_segment": "us",
                  "note": null,
                  "p_value": 0.0832645167,
                  "rate": 1,
                  "segment": "eu",
                  "significant": false,
                  "z": 1.732051
                }
              ],
              "segments": [
                {
                  "conversion_rate": 0,
                  "segment": "us",
                  "steps": [
                    {
                      "index": 0,
                      "reached": 2,
                      "step": "view"
                    }
                  ],
                  "users_completed": 0,
                  "users_entered": 2
                },
                {
                  "conversion_rate": 1,
                  "segment": "eu",
                  "steps": [
                    {
                      "index": 0,
                      "reached": 1,
                      "step": "view"
                    }
                  ],
                  "users_completed": 1,
                  "users_entered": 1
                }
              ],
              "stateless": true,
              "steps": [
                "view",
                "cart",
                "checkout",
                "purchase"
              ],
              "strict_order": true,
              "users_completed": 1,
              "users_entered": 3,
              "window_s": 604800
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "compare_segments": {
                      "default": true,
                      "description": "Break the funnel down by segment and test the segments against the largest one.",
                      "type": "boolean"
                    },
                    "confidence_level": {
                      "default": 0.95,
                      "maximum": 0.9999,
                      "minimum": 0.5,
                      "type": "number"
                    },
                    "events": {
                      "description": "Each event needs user_id, step and a timestamp (time_unix_s in seconds since 1970, or time as ISO 8601). Optional: segment. Events whose step is not in steps are counted in events_outside_funnel and otherwise left alone. The service caps the whole request body at 256 KB, so long records reach that limit before maxItems.",
                      "maxItems": 4000,
                      "minItems": 1,
                      "type": "array"
                    },
                    "max_segments": {
                      "default": 8,
                      "description": "How many segments are reported, largest first.",
                      "maximum": 20,
                      "minimum": 2,
                      "type": "integer"
                    },
                    "steps": {
                      "description": "Step names in the order they are meant to happen. Each name once.",
                      "items": {
                        "type": "string"
                      },
                      "maxItems": 20,
                      "minItems": 2,
                      "type": "array"
                    },
                    "strict_order": {
                      "default": true,
                      "description": "true requires each step to happen at or after the previous one. false only requires that it happened inside the window.",
                      "type": "boolean"
                    },
                    "window_s": {
                      "default": 604800,
                      "description": "How long a user has, from the first step on, to reach the later ones.",
                      "maximum": 31536000,
                      "minimum": 1,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "steps",
                    "events"
                  ],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tools.halowerk.com",
    "manifest_name": "tools.halowerk.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}