# Hyperliquid Perpetuals Position & Risk Profiler

> Hyperliquid Perpetuals Position & Risk Profiler is a paid API for AI agents from api.agentstools.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Returns all open Hyperliquid perpetual positions for an EVM wallet address, with per-position metrics and derived risk signals including a 0-100 liquidation-risk score.

## Facts

- Endpoint: GET https://api.agentstools.dev/trader/perps
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-perpetuals-position-risk-profiler-5c584921
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2awPs5M9VWhNBt3_wiQqD

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 hyperliquid-perpetuals-position-risk-profiler-5c584921
```

Example prompt: Pull up all the open Hyperliquid perp positions for wallet 0x1234567890abcdef1234567890abcdef12345678 — I want to see the leverage, unrealized PnL, liquidation prices, and the overall liquidation risk score.

## When to prefer this

Use this endpoint when you need on-chain perpetual position data and risk signals for a specific Hyperliquid trader wallet in a single call. It is the best choice for copy-trading intelligence, liquidation risk monitoring, smart-money wallet profiling, or any workflow that needs both raw position data and pre-computed risk scores without building custom analytics on top of raw chain data.

## Known failure modes

- Invalid or malformed EVM address returns a 400 error
- Address with no open Hyperliquid perp positions returns empty positions array
- Hyperliquid API or data source unavailability causes a 502/503 response
- Missing required 'address' query parameter returns a 400 validation error
- Non-0x-prefixed or wrong-length address rejected with schema validation error

## How this service works

Open Hyperliquid perpetual positions for an EVM address: per-position direction, size, USD notional, leverage, entry, mark, unrealized PnL, ROE and liquidation price, PLUS derived signals — distance-to-liquidation, account leverage, aggregate unrealized PnL, concentration and a deterministic 0-100 liquidation-risk score. Follow-the-smart-money wallet intelligence in one call. public on-chain data, not financial advice.

## Output

A structured response containing each open perpetual position on Hyperliquid for the given EVM address, with fields for direction (long/short), size, USD notional, leverage, entry price, mark price, unrealized PnL, ROE, and liquidation price. Also includes derived account-level signals: distance-to-liquidation per position, aggregate unrealized PnL, account leverage, portfolio concentration, and a deterministic 0–100 liquidation-risk score.

## 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": "A 0x-prefixed 40-hex EVM address (the wallet to profile). Hosts are fixed server-side; you pass only this address."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-perpetuals-position-risk-profiler-5c584921/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentstools.dev](https://www.zero.xyz/host/api.agentstools.dev/llms.txt)
