# x402stock HIP-3 DEX Market Data

> x402stock HIP-3 DEX Market Data is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Returns live synthetic market data for a single Hyperliquid HIP-3 builder DEX market by symbol, including mark price, oracle price, funding rate, APR, premium, open interest, and 24-hour volume.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/hip3/:dex/:market?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-hip-3-dex-market-data-89c9e1b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_J9KFDmAFJEWZr9dPJ3OSG

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-hip-3-dex-market-data-89c9e1b0
```

Example prompt: What's the current mark price, funding rate, and open interest for the NVDA market on the xyz HIP-3 DEX right now?

## When to prefer this

Use this endpoint when you need real-time synthetic pricing and funding economics for a specific asset on a named Hyperliquid HIP-3 builder DEX — especially when official exchange prices are unavailable (weekends, after hours) or when you need funding rate and premium data not available from traditional market data sources. Prefer this over spot price APIs when the user is trading or monitoring HIP-3 perpetual synthetics rather than the underlying asset directly.

## Known failure modes

- Unknown DEX identifier returns 404 or empty result
- Unknown market symbol returns 404 or empty result
- Hyperliquid network unavailability causes upstream data gaps
- Payment failure (x402) if USDC balance is insufficient
- Stale oracle data during off-hours may widen premium/discount unexpectedly

## How this service works

One market in a Hyperliquid HIP-3 builder DEX by underlying symbol (e.g. `xyz`/`NVDA`, `xyz`/`GOLD`): its 24/7 synthetic mark & oracle price, funding rate + APR, premium, open interest, and day volume. A round-the-clock live proxy for the underlying that carries funding — NOT its official last trade, exchange close, or spot price. List a DEX's markets at /api/v1/hip3/{dex}. From x402stock

## Output

Returns a JSON object with the synthetic mark price, oracle price, funding rate, annualized funding APR, premium (mark vs oracle spread), total open interest, and 24-hour trading volume for the specified market on the named HIP-3 builder DEX. Data is live and available 24/7, including outside traditional market hours.

## 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": {
     "dex": {
      "type": "string"
     },
     "type": "object",
     "market": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-hip-3-dex-market-data-89c9e1b0/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)
