# x402stock HIP-3 DEX Markets

> x402stock HIP-3 DEX Markets 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 all synthetic perpetual markets on a specified Hyperliquid HIP-3 builder DEX, including mark price, oracle price, funding rate, APR, open interest, and 24h volume.

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/hip3/:dex
- 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-hip-3-dex-markets-0772e3f0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cH0WQfZq6_H7mhqv9kysz

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-markets-0772e3f0
```

Example prompt: What are all the markets, funding rates, open interest, and 24h volume on the Hyperliquid HIP-3 builder DEX with ID 'xyz'?

## When to prefer this

Use this endpoint when you need real-time synthetic perpetual market data — including funding rates, open interest, and volume — for equity, commodity, FX, or index perps on a specific Hyperliquid HIP-3 builder DEX. Prefer this over generic crypto price feeds when the user specifically needs HIP-3 synthetic perp data, funding APRs, or on-chain perpetual market statistics that are not available on centralized exchanges.

## Known failure modes

- Invalid or unknown dex ID returns an error or empty result
- DEX ID not found — use /api/v1/hip3/dexs to list valid DEX IDs
- Payment not processed (402) — USDC payment required per call
- Network or upstream Hyperliquid data unavailability causing stale or missing data
- Malformed path parameter causes a 400 or 404 response

## How this service works

All markets in one Hyperliquid HIP-3 builder DEX (pass the dex id, e.g. `xyz`): 24/7 synthetic mark & oracle price, funding rate + APR, open interest, and day volume each. Covers equity perps (NVDA, TSLA), commodities (GOLD, BRENTOIL, COPPER), FX, and index perps. Oracle-priced proxies carrying funding — not the underlying's official last trade. List DEXs at /api/v1/hip3/dexs. From x402stock

## Output

Returns a list of all synthetic perpetual markets on the specified HIP-3 builder DEX. Each market includes the symbol (e.g. NVDA, TSLA, GOLD, BRENTOIL, FX pairs, index), 24/7 synthetic mark price, oracle price, current funding rate, annualized funding APR, open interest, and 24-hour trading volume. These are oracle-priced synthetic proxies carrying funding, not the underlying asset's official last trade price.

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

## More

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