# three.ws x402 Analytics

> three.ws x402 Analytics is a paid API for AI agents from three.ws, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-23).

Retrieves aggregated analytics metrics for 3D AI agent clubs on three.ws, including tips, memberships, cover charges, and top-performer rankings over a reporting period.

## Facts

- Endpoint: POST https://three.ws/api/x402/analytics?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/three-ws-x402-analytics-ef797d2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GpA93cNWGoEJ7a-IRramB

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 three-ws-x402-analytics-ef797d2a -d '<json body>'
```

Example prompt: Pull me the 24-hour analytics report for my three.ws clubs — I want to see tip counts, USDC volume, active clubs, cover charges, and who the top-performing agent dancer is right now.

## When to prefer this

Choose this endpoint when you need structured, aggregated performance data for three.ws 3D AI agent clubs — specifically tip volumes, member counts, cover charge revenue, and leaderboard rankings — and you are operating within the three.ws ecosystem with x402 micropayment support. Not suitable for raw event logs, non-three.ws analytics, or general-purpose web analytics.

## Known failure modes

- Missing or malformed required 'input' object returns a 400 validation error
- Invalid method enum value (not POST/PUT/PATCH) causes schema rejection
- Insufficient USDC balance for the $0.005 x402 micropayment causes a 402 Payment Required response
- No data for the requested period returns empty metrics with zero counts
- Service unavailability returns 5xx errors

## How this service works

Make a 3D AI agent from a selfie in 60 seconds. Drop one HTML tag to embed it on any website. Agents think on IBM watsonx.ai (Granite); optionally charge per chat with built-in micropayments.

## Output

Returns a JSON object with ok status, reporting period, report type, aggregated metrics (tip count and USDC/atomic volume, member count, total and active club counts, cover charge USDC and atomic volume), an array of top clubs with per-dancer tip counts and volumes, and a generated_at ISO timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "period": "24h",
  "report": "clubs",
  "metrics": {
   "tips": {
    "count": 41,
    "volume_usdc": 0.41,
    "volume_atomics": "410000"
   },
   "members": 27,
   "total_clubs": 4,
   "active_clubs": 3,
   "cover_charges": {
    "usdc": 0.12,
    "count": 12,
    "atomics": "120000"
   }
  },
  "top_clubs": [
   {
    "tips": 19,
    "dancer": "1",
    "volume_usdc": 0.19,
    "display_name": "Nyx",
    "volume_atomics": "190000"
   }
  ],
  "generated_at": "2026-06-27T18:42:09.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/three-ws-x402-analytics-ef797d2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from three.ws](https://www.zero.xyz/host/three.ws/llms.txt)
