# Dexter Onchain Entity Insights

> Dexter Onchain Entity Insights is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Returns detailed on-chain analytics for a Solana token, wallet, or trade entity including SOL/token deltas and normalized trade lists.

## Facts

- Endpoint: GET https://x402.dexter.cash/onchain/entity
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-dexter-cash-ac271bb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rCAZeM7Ala5woM1V1dU05

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 x402-dexter-cash-ac271bb9
```

Example prompt: Pull detailed on-chain insights for the Solana wallet 8xYz...3kQp — I want to see the SOL and token deltas and a normalized list of its recent trades.

## When to prefer this

Use this endpoint when you need deep, structured on-chain analytics for a specific Solana entity — particularly when SOL/token deltas and a normalized trade list are required. Prefer over summary endpoints when you need raw trade-level detail rather than aggregated statistics.

## Known failure modes

- Invalid or malformed entity address returns an error
- Unknown entity type returns empty or null result
- Payment not settled results in 402 Payment Required
- Rate limiting or upstream Solana RPC failure returns 503
- Entity with no on-chain history returns empty trade list

## How this service works

Detailed entity insight (token/wallet/trade) with SOL/token deltas and normalized trade lists.

## Output

Returns a structured breakdown of the queried Solana entity (token, wallet, or trade), including SOL and token balance deltas, normalized trade entries with amounts and directions, and key counterparty data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mint": {
   "type": "string",
   "description": "Token mint address. Required when overriding scope=token or wallet. Blank uses the Donica Lewinsky (DONICA) mint."
  },
  "limit": {
   "type": "integer",
   "description": "How many rows to include (1-5,000). Leave blank for default."
  },
  "scope": {
   "enum": [
    "token",
    "wallet",
    "trade"
   ],
   "type": "string",
   "description": "Entity scope (token, wallet, trade). Leave blank for the provider default."
  },
  "wallet": {
   "type": "string",
   "description": "Wallet public key. Required when scope=wallet. Blank uses branchmanager.sol."
  },
  "signature": {
   "type": "string",
   "description": "Solana signature (required when scope=trade)."
  },
  "timeframe": {
   "type": "string",
   "description": "Lookback window (e.g. 15m, 1h, 1d). Up to ~5 years allowed; blank uses default."
  },
  "includeRaw": {
   "type": "boolean",
   "description": "true/false. When true, raw entry arrays are included."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean",
  "description": "True when the entity snapshot was generated successfully."
 },
 "error": {
  "type": "string",
  "description": "Error code when ok=false (e.g. onchain_timeout)."
 },
 "scope": {
  "enum": [
   "token",
   "wallet",
   "trade"
  ],
  "type": "string",
  "description": "Scope reflected in the response payload."
 },
 "status": {
  "type": [
   "integer",
   "null"
  ],
  "description": "Upstream or timeout HTTP status when ok=false."
 },
 "summary": {
  "type": "object",
  "properties": {
   "mint": {
    "type": "string",
    "description": "Token mint analyzed in the response."
   },
   "trades": {
    "type": "array",
    "description": "Normalized trade records for wallet scope (signature, timestamp, SOL/token deltas)."
   },
   "wallet": {
    "type": "string",
    "description": "Wallet public key (present for wallet scope)."
   },
   "netSolUsd": {
    "type": [
     "number",
     "null"
    ],
    "description": "Approximate USD value of the SOL delta."
   },
   "netBaseUsd": {
    "type": [
     "number",
     "null"
    ],
    "description": "Approximate USD value of the token delta."
   },
   "tradeCount": {
    "type": "integer",
    "description": "Total number of trades observed in the window."
   },
   "incomingSol": {
    "type": "number",
    "description": "Total SOL received (wallet scope)."
   },
   "outgoingSol": {
    "type": "number",
    "description": "Total SOL spent (wallet scope)."
   },
   "incomingBase": {
    "type": "number",
    "description": "Total base tokens received (wallet scope)."
   },
   "netUsdChange": {
    "type": [
     "number",
     "null"
    ],
    "description": "Combined USD delta (SOL + token)."
   },
   "outgoingBase": {
    "type": "number",
    "description": "Total base tokens spent (wallet scope)."
   },
   "recentTrades": {
    "type": "array",
    "description": "Recent trades sorted by recency; includes signature, side, and quote/base deltas."
   },
   "topNetBuyers": {
    "type": "array",
    "description": "Top accumulating wallets (token scope)."
   },
   "buyBaseVolume": {
    "type": "number",
    "description": "Aggregate base token volume purchased."
   },
   "largestTrades": {
    "type": "array",
    "description": "Largest trades sorted by quote size."
   },
   "netBaseVolume": {
    "type": "number",
    "description": "Net base-token delta (buy - sell)."
   },
   "topNetSellers": {
    "type": "array",
    "description": "Top distribut
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-dexter-cash-ac271bb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dexter.cash](https://www.zero.xyz/host/x402.dexter.cash/llms.txt)
