# Vybe Solana Analytics API – DEX Reference Data

> Vybe Solana Analytics API – DEX Reference Data is a paid API for AI agents from x402-api.vybenetwork.xyz, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-23).

Returns DEX (decentralized exchange) NFT position data for up to 10 Solana wallet addresses, including balances, amounts, and values, with optional sorting and pagination.

## Facts

- Endpoint: GET https://x402-api.vybenetwork.xyz/v4/reference/dexes?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402, finance
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-dex-reference-data-2ba63172
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ciwK6lVl1WeDRMBprTQoM

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 vybe-solana-analytics-api-dex-reference-data-2ba63172
```

Example prompt: Pull the DEX NFT positions for these two Solana wallets — 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin and 7nYabs9dUQ8M3F5DKN7QFBUrR6jcjKfP5mvRG2UQWZG7 — sorted descending by value, first 50 results, and include NFTs without tracked prices.

## When to prefer this

Use this endpoint when you need on-chain NFT position and balance data from Solana DEXes for up to 10 wallets simultaneously, without requiring API key registration, paying micro-amounts per call via x402 USDC. Prefer it over alternatives when you want Solana-native DeFi analytics with flexible sorting and pagination in a single call.

## Known failure modes

- Missing or empty ownerAddresses array returns validation error
- More than 10 wallet addresses submitted causes rejection
- Invalid Solana public key format causes a parse/validation error
- Payment not included or insufficient USDC via x402 returns HTTP 402
- Conflicting sortByAsc and sortByDesc both set causes an error
- Limit exceeding 1000 is rejected or clamped
- Wallet with no DEX positions returns empty result set

## How this service works

**Replaces**: `GET /price/programs`

Lists supported DEX and AMM programs for trading data.

## Output

A paginated list of DEX NFT positions across the specified Solana wallets, with amounts, values, and optional NFTs lacking price data, sorted as requested.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "properties": {
    "example": {
     "$ref": "#/components/schemas/TradePriceProgramsReturn"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "data"
 ],
 "properties": {
  "data": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "programAddress"
    ],
    "properties": {
     "programName": {
      "type": "string",
      "nullable": true
     },
     "programAddress": {
      "type": "string",
      "format": "pubkey"
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-dex-reference-data-2ba63172/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-api.vybenetwork.xyz](https://www.zero.xyz/host/x402-api.vybenetwork.xyz/llms.txt)
