# Vybe Solana Analytics API – Wallet DeFi Positions

> Vybe Solana Analytics API – Wallet DeFi Positions 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-20).

Returns all active DeFi protocol positions (liquidity, lending, staking, etc.) held by a given Solana wallet address

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/wallets/%7BownerAddress%7D/defi-positions?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-analytics-api-wallet-defi-positions-381937ab
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6mEAO7uF4qr6v3k2xiNdB

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-defi-positions-381937ab -d '<json body>'
```

Example prompt: Pull up all the DeFi positions — liquidity pools, lending deposits, staking — currently held by the Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgHkv.

## When to prefer this

Use this endpoint when you need a consolidated view of all DeFi protocol positions for a specific Solana wallet — covering liquidity provision, lending, staking, and other yield strategies — without requiring API key registration. Prefer this over generic block explorers when structured, machine-readable DeFi position data is needed for analytics, portfolio tracking, or risk assessment.

## Known failure modes

- Invalid or malformed Solana public key returns 400 or empty array
- Wallet with no DeFi activity returns an empty array
- Payment not included or insufficient USDC via x402 returns 402 Payment Required
- Network or RPC latency may cause timeouts on heavily active wallets
- Unknown or unsupported DeFi protocols may not appear in results

## How this service works

Read access to Solana on-chain data — tokens, wallets, markets, prices, trades, transfers. No API key, no signup. Pay in USDC per request with the x402 protocol; the per-route price is declared in `x-payment-info`. WebSocket streaming uses prepaid credits.

## Output

An array of DeFi platform position objects for the specified wallet, each describing the protocol, position type (e.g. LP, lending, staking), token amounts, USD values, and platform-specific metadata as defined by the ProxyUserDefiPlatformProxyReturn schema.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ownerAddress"
 ],
 "properties": {
  "ownerAddress": {
   "type": "string",
   "description": "The public key (pubKey) associated with the Solana account."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "array",
 "items": {
  "$ref": "#/components/schemas/ProxyUserDefiPlatformProxyReturn"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-analytics-api-wallet-defi-positions-381937ab/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)
