# x402stock DEX Pairs Data

> x402stock DEX Pairs Data is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-27).

Returns decentralized exchange (DEX) pair and liquidity data for crypto and on-chain perpetuals markets

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/hip3/dexs?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-dex-pairs-data-bc0688ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A5MobU7JE9uXC1P7WljPZ

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-dex-pairs-data-bc0688ec
```

Example prompt: Can you pull the DEX pair data for major liquidity pools — I want to see which decentralized exchanges have the most on-chain liquidity for crypto pairs right now?

## When to prefer this

Choose this endpoint when you need decentralized exchange pair and liquidity data for crypto assets or on-chain perpetuals, especially when you want no API key setup and are willing to pay per request in USDC via x402. Prefer this over centralized exchange data sources when the user specifically needs DEX or DeFi on-chain market information.

## Known failure modes

- Invalid or unrecognized DEX pair properties return empty results
- Payment failure via x402/USDC results in 402 Payment Required response
- Malformed request body returns 400 Bad Request
- Temporary upstream data unavailability returns 503 or timeout
- Rate limiting if payment not processed correctly

## How this service works

All markets in one HIP-3 builder DEX: 24/7 synthetic mark, funding & open interest

## Output

Returns structured data about decentralized exchange trading pairs, including liquidity pool details, pair identifiers, pricing, and on-chain market information for crypto and perpetuals markets available across DEXs.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "dex"
 ],
 "properties": {
  "dex": {
   "not": {
    "enum": [
     "dexs"
    ]
   },
   "type": "string",
   "description": "The dex path parameter."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "venue",
  "standard",
  "dex",
  "dex_name",
  "deployer",
  "market_type",
  "disclaimer",
  "count",
  "markets"
 ],
 "properties": {
  "dex": {
   "type": "string"
  },
  "as_of": {
   "type": "string"
  },
  "count": {
   "type": "number"
  },
  "venue": {
   "type": "string"
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  },
  "markets": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "market",
     "symbol",
     "max_leverage",
     "mark_price",
     "oracle_price",
     "mid_price",
     "prev_day_price",
     "funding_rate_hourly",
     "funding_apr_percent",
     "premium",
     "open_interest",
     "day_volume_usd",
     "day_volume_base"
    ],
    "properties": {
     "market": {
      "type": "string"
     },
     "symbol": {
      "type": "string"
     },
     "premium": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "mid_price": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "mark_price": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "max_leverage": {
      "type": "number"
     },
     "oracle_price": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "open_interest": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "day_volume_usd": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "prev_day_price": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "day_volume_base": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "funding_apr_percent": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "funding_rate_hourly": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     }
    },
    "additionalProperties": false
   }
  },
  "deployer": {
   "anyOf": [
    {
     "type": "string"
    },
    {
     "t
… (truncated)
```

## More

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