Skip to main content
Use the TradingClient to access Webacy’s trading analysis APIs. You can analyze token holder distribution, detect snipers and bundlers, and get quick trading insights.

Initialization

Prerequisites:
  • SDK installed (npm install @webacy-xyz/sdk)
  • API key available (from your Webacy dashboard)

Resources

The TradingClient provides access to these resources:

Holder Analysis

Get Holder Analysis

Get comprehensive analysis of token holder distribution.
Response includes:
  • Top holders with wallet addresses and percentages
  • First buyers analysis
  • Sniper detection with confidence scores
  • Bundler detection
  • Developer wallet tracking
  • Concentration metrics
Early holder analysis covers Solana tokens launched within the last 12 months and BSC tokens deployed within the last 3 months (data provider retention). Older tokens return data_availability: "unsupported_token_age"; previously analyzed tokens continue to return stored results.

Response Example

Options:

Trading Lite

Quick, simplified token analysis optimized for trading decisions.
Trading Lite is currently available for Solana only.

Analyze Token

Response includes:
  • Quick risk assessment
  • Liquidity metrics
  • Honeypot detection
  • Basic holder stats

Tokens

Fetch Token Pools

Retrieve liquidity pool information for a token.
Retrieve currently trending tokens on a chain.
Use this method to retrieve the liquidity pools that are currently trending based on trading volume and activity.

Get Token Economics

Retrieve token economics data including supply, market cap, and holder statistics.
Supported chains: ETH, BASE, BSC, POL, OPT, ARB, SOL Options:

Get Pool OHLCV

Retrieve Open, High, Low, Close, Volume candlestick data for a liquidity pool.
Options:

Full Example

Use Cases

Token Launch Analysis

Detect snipers and bundlers on new token launches

Rug Pull Detection

Identify concentrated holdings and dev wallets

Trading Signals

Quick risk assessment for trading decisions

Due Diligence

Comprehensive holder analysis before investing

Next Steps

ThreatClient

Address and contract security analysis

Error Handling

Handle errors gracefully