# Vybe Solana Wallet Counterparties Endpoint

> Vybe Solana Wallet Counterparties Endpoint 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-09-28).

Returns a ranked list of counterparty wallets or programs that have transacted with a given Solana wallet, with transfer counts and volumes over a time range.

## Facts

- Endpoint: POST https://x402-api.vybenetwork.xyz/v4/wallets/%7BownerAddress%7D/counterparties?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vybe-solana-wallet-counterparties-endpoint-7859d8cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7doTAuzAydwbtOeIiLc8Q

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-wallet-counterparties-endpoint-7859d8cc -d '<json body>'
```

Example prompt: Show me the top 20 counterparty wallets for Solana address 7v91N7iZ9mNicL8WfG6cgSCKyRXydQjLh6UYBWwm6y1Q over the last 7 days, sorted descending by total volume, grouped by wallet.

## When to prefer this

Use this endpoint when you need to understand the social or transactional graph of a specific Solana wallet — i.e. who it trades with, which programs it uses, and the relative volume of those relationships. It is the right choice over raw transfer history endpoints when you want aggregated counterparty-level summaries rather than individual transaction records. Prefer it for DeFi due-diligence, wallet profiling, bot detection, or identifying top trading partners.

## Known failure modes

- Invalid or malformed Solana wallet address returns a 400 or validation error
- Both sortByAsc and sortByDesc provided simultaneously causes a parameter conflict error
- No transactions found for the address in the time range returns an empty result set
- x402 payment not included or insufficient USDC balance causes a 402 Payment Required response
- Very large time ranges or high limit values may result in slower responses or timeouts

## 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

A paginated list of counterparty entries, each identifying a wallet address or program address that transacted with the queried wallet, along with aggregated metrics: total transfers, buy transfers, sell transfers, total volume, buy volume, sell volume, and net volume — all scoped to the requested time window.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "ownerAddress"
 ],
 "properties": {
  "page": {
   "type": "integer",
   "description": "Page number to return (zero-indexed). Defaults to 0."
  },
  "group": {
   "type": "string",
   "description": "How to group counterparties. 'wallet' groups by the other wallet address involved in transfers. 'program' groups by the on-chain program that facilitated the transfer (e.g. a DEX). Defaults to 'wallet'."
  },
  "limit": {
   "type": "integer",
   "description": "Maximum number of counterparties to return. Defaults to 1000."
  },
  "timeEnd": {
   "type": "integer",
   "description": "End of the time range (unix timestamp, seconds). Defaults to the current time."
  },
  "sortByAsc": {
   "type": "string",
   "description": "Sort ascending by 'totalTransfers', 'totalVolume', 'netVolume', 'sellTransfers', 'buyTransfers', 'sellVolume', or 'buyVolume'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used."
  },
  "timeStart": {
   "type": "integer",
   "description": "Start of the time range (unix timestamp, seconds). Defaults to 24 hours ago."
  },
  "sortByDesc": {
   "type": "string",
   "description": "Sort descending by 'totalTransfers', 'totalVolume', 'netVolume', 'sellTransfers', 'buyTransfers', 'sellVolume', or 'buyVolume'. If omitted, no sorting is applied. Only one of `sortByAsc` or `sortByDesc` can be used."
  },
  "ownerAddress": {
   "type": "string",
   "description": "The Solana wallet address to query."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "$ref": "#/components/schemas/CounterpartyDataResponse"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vybe-solana-wallet-counterparties-endpoint-7859d8cc/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)
