# MadeOnSol Wallet Analytics API

> MadeOnSol Wallet Analytics API is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns 90-day aggregate trading stats, cross-product flags (KOL, alpha wallet, bot confidence, deployer), and v1.8.1 enrichments (top tokens, trading style, deployer breakdown, recent trades) for any Solana wallet address.

## Facts

- Endpoint: GET https://api.relai.fi/relay/1780517153303/wallet/{address}
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/madeonsol-wallet-analytics-api-5f76474b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZLoHr8aXJaN7fkr23uFrh

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 madeonsol-wallet-analytics-api-5f76474b
```

Example prompt: Pull up the full trading profile for Solana wallet 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU — I want the 90-day stats, their sniper rate and median hold time, top tokens with PnL, bot confidence score, and whether they're flagged as a KOL or alpha wallet.

## When to prefer this

Use this endpoint when you need a fast, comprehensive on-chain profile of a Solana wallet — especially when you need cross-product intelligence (KOL flags, bot confidence, deployer tiers) alongside trading metrics in a single call. Prefer this over raw RPC queries when sub-100ms latency and pre-aggregated 90-day stats are required. Best for trader profiling, alpha research, bot detection, and due diligence on Solana addresses.

## Known failure modes

- 404 returned when wallet has no trades in the last 90 days AND no presence in any flag table (kol_wallets, mv_alpha_wallets, deployers)
- Invalid Solana wallet address format causes request failure
- PRO+ enrichment fields (top_tokens, trading_style, deployer_breakdown, recent_trades) not returned if caller lacks PRO+ access
- Payment failure if $0.01 USDC x402 payment is not properly attached

## How this service works

Aggregate counters for any Solana wallet over the last 90 days plus cross-product flags joining `kol_wallets`, `mv_alpha_wallets` (incl. bot_confidence), and `deployers`. Backed by `idx_token_trades_wallet_time` — sub-100ms even on heavy wallets. Returns 404 if the wallet has no trades AND no flag-table presence.

**v1.8.1 enrichments** (additive, non-breaking): also returns `top_tokens` (top-traded tokens with realized PnL + peak MC), `trading_style` (avg trade size, sniper-rate, round-trip rate, median hold), `deployer_breakdown` (tier-distribution of deployers bought from), and `recent_trades` (last 10 trades with symbols). PRO+.

## Output

A JSON object containing: aggregate 90-day trade counters, cross-product flags (kol_wallets, mv_alpha_wallets with bot_confidence, deployers), and PRO+ enrichments including top_tokens (with realized PnL and peak MC), trading_style (avg trade size, sniper-rate, round-trip rate, median hold), deployer_breakdown (tier distribution), and recent_trades (last 10 trades with symbols). Returns 404 if the wallet has no trades and no flag-table presence.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/madeonsol-wallet-analytics-api-5f76474b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
