# AlphaPipeline Whale Position Audit

> AlphaPipeline Whale Position Audit is a paid API for AI agents from alphapipeline-eu.onrender.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-13).

Audits all open Hyperliquid perpetual positions for a given wallet address, returning side, size, leverage, unrealized PnL, liquidation price, and distance-to-liquidation percentage.

## Facts

- Endpoint: GET https://alphapipeline-eu.onrender.com/v1/derivatives/whale-position-audit?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphapipeline-whale-position-audit-664a6f72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_14kcKrVuiuXQtilKWUBkt

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 alphapipeline-whale-position-audit-664a6f72
```

Example prompt: Can you audit all open Hyperliquid perpetual positions for wallet 0x1234abcd...efgh and show me the side, leverage, unrealized PnL, and how far each position is from liquidation?

## When to prefer this

Use this endpoint when you already know the specific Hyperliquid wallet address you want to audit and need a comprehensive snapshot of all its open perpetual positions including leverage, PnL, and liquidation proximity. This is not a discovery or ranking tool — it does not surface top wallets or leaderboards. Prefer this over manual Hyperliquid UI inspection when you need structured, programmatic data for analysis, alerting, or copy-trading research.

## Known failure modes

- Invalid or malformed wallet address returns an error — address must be a valid 0x EVM address
- Wallet with no open positions returns an empty positions array with open_position_count of 0
- Hyperliquid API downtime or rate limiting causes upstream fetch failure
- Address that has never interacted with Hyperliquid may return empty or error response
- Network timeout on the render.com host under high load

## How this service works

Audit a Hyperliquid wallet address you already know: every open perpetual position with side, size, leverage, unrealized PnL, liquidation price, and distance-to-liquidation percentage. Does not discover or rank wallets - Hyperliquid's public API has no leaderboard endpoint, so this only audits an address you supply. Paid in USDC on Base.

## Output

Returns a structured JSON object with the wallet address audited, total open position count, generation timestamp, data source, and an array of positions — each containing coin symbol, LONG/SHORT side, size, entry price, position value in USD, mark price (derived), leverage amount and type (cross/isolated), max leverage ceiling, unrealized PnL in USD, liquidation price, and distance-to-liquidation percentage. May include a notice field for special conditions.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Hyperliquid/EVM wallet address to audit (0x...)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "WhalePositionAuditResponse",
     "required": [
      "generated_at",
      "wallet_address",
      "open_position_count",
      "data_source"
     ],
     "properties": {
      "notice": {
       "anyOf": [
        {
         "type": "string"
        },
        {
         "type": "null"
        }
       ],
       "title": "Notice",
       "default": null
      },
      "positions": {
       "type": "array",
       "items": {
        "type": "object",
        "title": "WhalePosition",
        "required": [
         "coin",
         "side",
         "size",
         "entry_price",
         "position_value_usd",
         "leverage",
         "leverage_type",
         "unrealized_pnl_usd"
        ],
        "properties": {
         "coin": {
          "type": "string",
          "title": "Coin"
         },
         "side": {
          "type": "string",
          "title": "Side",
          "description": "LONG or SHORT, derived from the sign of Hyperliquid's szi (signed size)."
         },
         "size": {
          "type": "number",
          "title": "Size"
         },
         "leverage": {
          "type": "number",
          "title": "Leverage"
         },
         "mark_price": {
          "anyOf": [
           {
            "type": "number"
           },
           {
            "type": "null"
           }
          ],
          "title": "Mark Price",
          "default": null,
          "description": "Derived as position_value_usd / size, since clearinghouseState does not return a live mark price directly. Not a separately-fetched live quote."
         },
         "entry_price": {
     
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphapipeline-whale-position-audit-664a6f72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphapipeline-eu.onrender.com](https://www.zero.xyz/host/alphapipeline-eu.onrender.com/llms.txt)
