# Onegate Solana Token Flow Analyzer

> Onegate Solana Token Flow Analyzer is a paid API for AI agents from onegate.biz.id, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-27).

Fetches on-chain buy/sell flow, wallet activity, price, and liquidity pool data for a Solana SPL token over a configurable time window.

## Facts

- Endpoint: GET https://onegate.biz.id/v1/flow/solana?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/onegate-solana-token-flow-analyzer-622989ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mUN6Tzub-ObTT9hRQVsEv

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 onegate-solana-token-flow-analyzer-622989ff
```

Example prompt: Check the trading flow for the Solana token with mint address DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 over the last 60 minutes across the top 5 liquidity pools — I want to see buy/sell pressure, net flow, and any new wallets entering.

## When to prefer this

Choose this endpoint when you need real-time on-chain buy/sell flow analytics for a Solana SPL token, especially when you want wallet-level breakdown (new entrants vs recurring) and multi-pool aggregation in a single pay-per-call request with no account or API key required. Prefer this over general blockchain explorers when you specifically need aggregated flow metrics and wallet segmentation rather than raw transaction history.

## Known failure modes

- Invalid or malformed mint address returns an error response
- Pools parameter out of range (< 1 or > 10) returns validation error
- Window parameter out of range (< 1 or > 1440) returns validation error
- Token with no recent liquidity pool activity may return empty flow data
- Payment failure (insufficient USDC balance) prevents the call from completing
- Jupiter price feed unavailable may result in missing price data

## How this service works

onegate is a set of pay-per-call x402 endpoints for AI agents. It includes a preflight checker that verifies an x402 seller before your agent pays it, on-chain swap flow feeds with wallet attribution, single-use action leases with signed receipts, and an MCP server. No account, no API key.

## Output

Returns a JSON object with ok status, chain identifier, token price in USD (sourced from Jupiter), aggregate flow metrics (buys, sells, inflow_usd, outflow_usd, netflow_usd, avg_trade_usd, unique_buyers, unique_sellers, largest_trade_usd), wallet breakdown (recurring count and new entrant addresses with trade count and net USD), an anchor timestamp with last transaction signature, and a charged flag indicating payment was processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mint"
     ],
     "properties": {
      "mint": {
       "type": "string",
       "example": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
       "description": "SPL token mint address (base58, 32-44 chars); the example above is BONK"
      },
      "pools": {
       "type": "integer",
       "default": 5,
       "maximum": 10,
       "minimum": 1,
       "description": "how many top liquidity pools to scan, 1..10, default 5"
      },
      "window": {
       "type": "integer",
       "default": 60,
       "maximum": 1440,
       "minimum": 1,
       "description": "lookback window in minutes, 1..1440, default 60"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "flow": {
   "buys": 179,
   "sells": 373,
   "inflow_usd": 12731.28,
   "netflow_usd": -869.97,
   "outflow_usd": -13601.24,
   "avg_trade_usd": 47.7,
   "unique_buyers": 82,
   "unique_sellers": 127,
   "largest_trade_usd": 902.91
  },
  "chain": "solana",
  "price": {
   "usd": 0.0000031114,
   "source": "jupiter"
  },
  "anchor": {
   "at": "2026-10-21T09:49:27.000Z",
   "last_signature": "2KVhUnmE…"
  },
  "charged": true,
  "wallets": {
   "recurring": 41,
   "new_entrants": [
    {
     "trades": 9,
     "address": "MfDuWeq…",
     "net_usd": 1669.59
    }
   ]
  },
  "first_call": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/onegate-solana-token-flow-analyzer-622989ff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onegate.biz.id](https://www.zero.xyz/host/onegate.biz.id/llms.txt)
