Skip to main content
The SURCHI SDK gives you programmatic access to the full SURCHI analytics platform directly from your application code. Whether you’re building a trading dashboard, a wallet tracker, or an automated risk monitor, the SDK handles authentication, serialization, pagination, and error handling so you can focus on your product logic rather than raw HTTP calls.

Available SDKs

Quick Install

Initialization

Both clients read your API key from an environment variable. Never hardcode your key directly in source code.
The JavaScript SDK ships with full TypeScript type definitions bundled in the package — no need to install a separate @types/surchi package. You get complete autocompletion and type safety out of the box.

Available Modules

Every client instance exposes four top-level modules. Click through to the relevant SDK guide for complete method signatures and examples.

Tokens

Query token metadata, real-time prices, market cap, risk scores, and holder distributions across all supported networks.

Wallets

Analyze wallet behavior, calculate realized and unrealized PnL, inspect portfolio holdings, and track trading history.

Contracts

Run AI-powered smart contract audits that detect honeypots, rug-pull vectors, ownership risks, and hidden mint authorities.

Liquidity

Discover optimal swap routes, compare DEX prices, and calculate expected output amounts with configurable slippage tolerance.

Error Handling

The SDK surfaces distinct error classes so you can handle rate limits, missing resources, and general API errors separately.