82trust / 100

Foot Traffic Retail

by prop.halowerk.com in Weather & location

x402 APIPassing, checked 14 min ago

Compares supplied visits, mean dwell time and conversions with explicit baselines and combines the three ratios using caller-supplied weights. It does not collect location data, count people, infer demographics or forecast demand. Inputs should be aggregated and lawfully collected.

POST https://prop.halowerk.com/v1/foot-traffic-retail

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
176 ms typical, 202 ms slowest 5%
Last check
14 min ago
Next check
in 18 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://prop.halowerk.com/v1/foot-traffic-retail" \
  -H "content-type: application/json" \
  -d '{"intervals":[{"baseline_conversion_rate":0.14,"baseline_dwell_minutes":13,"baseline_visits":160,"conversions":29,"interval_id":"monday-12-13","mean_dwell_minutes":14.2,"visits":184},{"baseline_conversion_rate":0.14,"baseline_dwell_minutes":13,"baseline_visits":150,"conversions":18,"interval_id":"monday-13-14","mean_dwell_minutes":12.1,"visits":142}],"weights":{"conversion":0.3,"dwell":0.2,"visits":0.5}}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fprop.halowerk.com%2Fv1%2Ffoot-traffic-retail
const res = await pay("https://prop.halowerk.com/v1/foot-traffic-retail", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"intervals":[{"baseline_conversion_rate":0.14,"baseline_dwell_minutes":13,"baseline_visits":160,"conversions":29,"interval_id":"monday-12-13","mean_dwell_minutes":14.2,"visits":184},{"baseline_conversion_rate":0.14,"baseline_dwell_minutes":13,"baseline_visits":150,"conversions":18,"interval_id":"monday-13-14","mean_dwell_minutes":12.1,"visits":142}],"weights":{"conversion":0.3,"dwell":0.2,"visits":0.5}}),
});
console.log(await res.json());

Example input

{
  "intervals": [
    {
      "baseline_conversion_rate": 0.14,
      "baseline_dwell_minutes": 13,
      "baseline_visits": 160,
      "conversions": 29,
      "interval_id": "monday-12-13",
      "mean_dwell_minutes": 14.2,
      "visits": 184
    },
    {
      "baseline_conversion_rate": 0.14,
      "baseline_dwell_minutes": 13,
      "baseline_visits": 150,
      "conversions": 18,
      "interval_id": "monday-13-14",
      "mean_dwell_minutes": 12.1,
      "visits": 142
    }
  ],
  "weights": {
    "conversion": 0.3,
    "dwell": 0.2,
    "visits": 0.5
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
14 min agoPassed402176 ms$0.003
5 h agoPassed402151 ms$0.003
8 h agoPassed402203 ms$0.003
11 h agoPassed402202 ms$0.003
16 h agoPassed40277 ms$0.003