# Vybe Solana Analytics API – Wallet Withdraw MEV Utility

> Vybe Solana Analytics API – Wallet Withdraw MEV Utility 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-25).

Executes or analyzes a wallet-level MEV (Maximal Extractable Value) withdrawal utility operation on Solana via the Vybe on-chain analytics API, paid per-request in USDC using the x402 protocol.

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/wallets/util/withdraw-mev?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402, finance
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-wallet-withdraw-mev-utility-9549137c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yyks7NFLRsATuGqErnkkz

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-wallet-withdraw-mev-utility-9549137c -d '<json body>'
```

Example prompt: Using the Vybe Solana analytics API, run the wallet MEV withdrawal utility for my Solana wallet address 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin — pay the per-request USDC fee via x402.

## When to prefer this

Choose this endpoint when you need to programmatically execute or analyze MEV withdrawal operations for a specific Solana wallet using a pay-per-request model with no API key or signup required. Ideal for agents that need frictionless, permissionless access to Solana on-chain MEV utility functions and are already using the x402 micropayment protocol.

## Known failure modes

- Payment not included or malformed x402 header — 402 Payment Required response
- Invalid or missing wallet address in request body — 400 Bad Request
- Wallet has no MEV-eligible positions — empty or null result
- Solana RPC unavailability — 503 or timeout
- Insufficient USDC balance for x402 micropayment — payment rejected
- Malformed request body — 422 Unprocessable Entity

## How this service works

Withdraws MEV rewards from Jito-delegated stake accounts. Supports manual or auto-discovery.

This route is currently in beta and is subject to change.

## Output

Returns the result of the MEV withdrawal utility computation for the specified Solana wallet, including transaction or extraction details derived from on-chain data, returned as a JSON response after x402 micropayment is settled.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ownerAddress"
 ],
 "properties": {
  "mevFee": {
   "type": "number",
   "format": "double",
   "nullable": true,
   "description": "Fee percentage on withdrawn MEV (0-1, e.g., 0.05 for 5%)"
  },
  "router": {
   "type": "string",
   "nullable": true,
   "description": "Router for vybesol conversion (if vybesol is true)"
  },
  "gasless": {
   "type": "boolean",
   "nullable": true,
   "description": "Use Vybe fee payer for gas"
  },
  "partner": {
   "type": "string",
   "nullable": true,
   "description": "Partner identifier"
  },
  "vybeSOL": {
   "type": "boolean",
   "nullable": true,
   "description": "Convert withdrawn SOL to VybeSOL"
  },
  "simulate": {
   "type": "boolean",
   "nullable": true,
   "description": "Simulate transaction without building"
  },
  "ownerAddress": {
   "type": "string",
   "format": "pubkey"
  },
  "stakeAccountAddresses": {
   "type": "array",
   "items": {
    "type": "string",
    "format": "pubkey"
   },
   "nullable": true,
   "description": "Specific stake account addresses to close (auto-fetches if not provided)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "oneOf": [
  {
   "type": "object",
   "required": [
    "transaction",
    "chunked",
    "total_withdrawable",
    "mev",
    "protocol_fee",
    "net",
    "accounts"
   ],
   "properties": {
    "mev": {
     "type": "number",
     "format": "double",
     "description": "MEV portion of withdrawable (in SOL)"
    },
    "net": {
     "type": "number",
     "format": "double",
     "description": "Net amount after fee (in SOL)"
    },
    "chunked": {
     "type": "boolean",
     "description": "Whether response contains multiple transactions (false)"
    },
    "accounts": {
     "type": "array",
     "items": {
      "type": "object",
      "required": [
       "address",
       "withdrawable",
       "mev",
       "status"
      ],
      "properties": {
       "mev": {
        "type": "number",
        "format": "double",
        "description": "MEV portion (in SOL)"
       },
       "status": {
        "type": "string",
        "description": "Status"
       },
       "address": {
        "type": "string",
        "description": "Stake account address"
       },
       "withdrawable": {
        "type": "number",
        "format": "double",
        "description": "Withdrawable amount (in SOL)"
       }
      }
     },
     "description": "Details for each stake account"
    },
    "simulation": {
     "allOf": [
      {
       "type": "object",
       "required": [
        "success",
        "unit_consumed",
        "logs"
       ],
       "properties": {
        "logs": {
         "type": "array",
         "items": {
          "type": "string"
         }
        },
        "success": {
         "type": "boolean"
        },
        "unit_consumed": {
         "type": "integer",
         "format": "int64",
         "minimum": 0
        }
       }
      }
     ],
     "nullable": true
    },
    "transaction": {
     "type": "string",
     "description": "Base64-encoded unsigned transaction"
    },
    "protocol_fee": {
     "type": "number",
     "format": "double",
     "description": "Fee charged (in SOL)"
    },
    "total_withdrawable": {
     "type": "number",
     "format": "double",
     "description": "Total withdrawable amount (in SOL)"
    }
   }
  },
  {
   "type": "object",
   "required": [
    "chunked",
    "transactions",
    "total_withdrawable",
    "total_mev"
   ],
   "properties": {
    "chunked": {
     "type": "boolean",
     "description": "Whether response contains multiple transactions (true)"
    },
    "total_mev": {
    
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-wallet-withdraw-mev-utility-9549137c/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)
