# SmartPerps by AgentGate

> SmartPerps by AgentGate is a paid API for AI agents from api.youraitools.co, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-23).

Returns the current positioning of the 120 most profitable Hyperliquid traders (by 30-day PnL) for a given perpetual futures symbol, including long/short breakdown, net notional USD, bias classification, and 1h/24h flow data.

## Facts

- Endpoint: GET https://api.youraitools.co/smartperps/v1/lite?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/smartperps-by-agentgate-f74735bd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fyrg86s6nMATAOjwGLqh5

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 smartperps-by-agentgate-f74735bd
```

Example prompt: What's the current smart money positioning on BTC perps — are the top 120 Hyperliquid traders mostly long or short, and what's the net notional bias?

## When to prefer this

Use SmartPerps when you need a fast, rules-based, real-time read on how the most profitable Hyperliquid accounts are positioned on a specific perp — particularly useful for pre-trade sentiment checks, directional bias signals, or monitoring smart money flow. Prefer this over generic sentiment APIs when the target market is Hyperliquid perpetual futures and you want cohort-based positioning data rather than social or order-book sentiment. The fail-closed design (503 on stale data) makes it suitable for automated agent pipelines where data freshness is critical.

## Known failure modes

- 503 Service Unavailable: snapshot is stale or cohort coverage is below threshold — request is refused and not charged
- Invalid or unrecognized symbol ticker returns an error
- Network timeout reaching Hyperliquid leaderboard data source
- Partial cohort coverage resulting in reduced confidence level
- flow_1h_net_usd and flow_24h_net_usd may be null if insufficient flow history exists

## How this service works

Crypto smart money tracker API. Smart-money positioning for one Hyperliquid perp: how a rules-based cohort of the 120 Hyperliquid accounts with the highest 30-day PnL (public leaderboard) is positioned right now: traders long vs short, long/short/net notional in USD, bias (strong long / lean long / mixed / lean short / strong short), 1h and 24h net notional flow, snapshot age, cohort coverage. Fail-closed: stale or low-coverage snapshots are refused (503, not charged). Not financial advice.

## Output

Returns a JSON object containing: the bias label (strong_long, lean_long, mixed, lean_short, strong_short), a plain-English bias_note, counts of traders long vs short, long/short/net notional in USD, long share of notional and traders as percentages, 1h and 24h net flow in USD (may be null), current mark price, snapshot timestamp, snapshot age in seconds, cohort size and coverage percentage, confidence level (high/medium/low), a disclaimer, and any failed sources. If the snapshot is stale or coverage is too low, the endpoint returns a 503 (fail-closed) and does not charge.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Hyperliquid perp ticker, e.g. BTC, ETH, SOL, HYPE, kPEPE (BTC-PERP, ETH-USD, SOLUSDT accepted)"
      }
     },
     "description": "Search intents: smart money tracker, hyperliquid whales, top trader positions, smart money bias, crypto whale tracking, long short ratio"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "bias": {
       "type": "string"
      },
      "tier": {
       "type": "string"
      },
      "cohort": {
       "type": "object"
      },
      "symbol": {
       "type": "string"
      },
      "bias_note": {
       "type": "string"
      },
      "checked_at": {
       "type": "string"
      },
      "confidence": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      },
      "mark_price": {
       "type": "number"
      },
      "snapshot_at": {
       "type": "string"
      },
      "traders_long": {
       "type": "number"
      },
      "traders_short": {
       "type": "number"
      },
      "snapshot_age_s": {
       "type": "number"
      },
      "sources_failed": {
       "type": "array"
      },
      "flow_1h_net_usd": {},
      "flow_24h_net_usd": {},
      "net_notional_usd": {
       "type": "number"
      },
      "long_notional_usd": {
       "type": "number"
      },
      "short_notional_usd": {
       "type": "number"
      },
      "long_share_traders_pct": {
       "type": "number"
      },
      "long_share_notional_pct": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bias": "strong_short",
  "tier": "lite",
  "cohort": {
   "size": 120,
   "covered": 120,
   "coverage_pct": 100,
   "cohort_refreshed_at": "2026-10-23T01:08:26.080Z"
  },
  "symbol": "BTC",
  "bias_note": "Most of the cohort's notional and most cohort traders in this coin are short.",
  "checked_at": "2026-10-23T01:08:30.196Z",
  "confidence": "high",
  "disclaimer": "Not financial advice. Past performance does not guarantee future results. Descriptive statistics of public Hyperliquid positions at snapshot time; past PnL of the cohort says nothing about future results and positions can change at any moment. SmartPerps never trades, holds funds or keys.",
  "mark_price": 81380,
  "snapshot_at": "2026-10-23T01:08:26.080Z",
  "traders_long": 8,
  "traders_short": 37,
  "snapshot_age_s": 4,
  "sources_failed": [],
  "flow_1h_net_usd": null,
  "flow_24h_net_usd": null,
  "net_notional_usd": -820640322,
  "long_notional_usd": 23033122,
  "short_notional_usd": 843673444,
  "long_share_traders_pct": 17.8,
  "long_share_notional_pct": 2.7
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/smartperps-by-agentgate-f74735bd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.youraitools.co](https://www.zero.xyz/host/api.youraitools.co/llms.txt)
