# x402stock Hyperliquid Perp DEX Fill History

> x402stock Hyperliquid Perp DEX Fill History is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns paginated executed trade fill history for a given wallet address on the Hyperliquid perpetuals DEX, including price, size, PnL, fees, and direction per fill.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/perps/fills/:address
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-hyperliquid-perp-dex-fill-history-f658f69d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_prvmTT4fEa1XczIN5TpJc

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 x402stock-hyperliquid-perp-dex-fill-history-f658f69d
```

Example prompt: Pull the last 100 trade fills for Hyperliquid perp wallet 0x1234...abcd — I want to see each fill's coin, side, direction, price, size, closed PnL, and fee.

## When to prefer this

Use this endpoint when you need historical executed fill data (not open orders or positions) for a specific Hyperliquid perpetuals wallet. It is ideal for PnL analysis, fee auditing, trade journaling, or due-diligence on a trader's execution history. It requires only a public 0x wallet address and no API key, making it easy to call for any wallet on-chain. Prefer this over generic DEX data tools when the target is specifically Hyperliquid perp fills.

## Known failure modes

- Invalid or malformed 0x wallet address returns an error or empty result
- Limit parameter exceeds 200 results in a validation error
- Wallet with no Hyperliquid perp history returns an empty fills array
- Network or upstream Hyperliquid API downtime causes timeout or 5xx error
- Payment not processed (x402 protocol failure) results in 402 response

## How this service works

Recent fills (executed trade history) for any wallet on the Hyperliquid perp DEX, by 0x address: per fill the time, coin, buy/sell side, direction (open/close long/short), price, size, start position, closed PnL, fee, and order id, most recent first. Tune with `?limit=` (default 50, max 200). Read-only public chain data, no key. Pass the address in the path. From x402stock

## Output

A list of up to 200 executed trade fills for the specified wallet, ordered most-recent-first. Each fill includes: timestamp, coin/asset symbol, buy or sell side, trade direction (open long, close long, open short, close short), fill price, fill size, starting position size, closed PnL, fee paid, and the associated order ID.

## 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"
    },
    "pathParams": {
     "type": "object",
     "address": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "default": 50,
       "maximum": 200,
       "exclusiveMinimum": 0
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-hyperliquid-perp-dex-fill-history-f658f69d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
