API Reference

Introduction

Token Sniffer is the first and most-used token security platform. The Token Sniffer API provides programmatic access to many of the popular features of the web site, including automated scam detection and the Smell Test, as well as some new features.

Unrivaled Scam Detection Capabilities

Token Sniffer is the only platform that analyzes both smart contract source code and bytecode against a database of over 10,000 known scam patterns, built from five years of research. Our team actively monitors more than 30,000 new contracts created daily, and the system currently detects approximately 25% of all newly deployed tokens as scams.

All types of scams detected:

  • Malicious contracts - contracts with malicious code intended to steal investor funds.
  • Impersonator tokens - tokens with the same name/symbol as well-known tokens (such as stablecoins) intended to trick investors into purchasing.
  • Serial rugpull tokens - rugpull tokens deployed programmatically at scale (thousands deployed each day).

API Endpoints

Get Token

Returns information about a token and its contract source code including whether the token was flagged as a scam. Optionally includes on-chain metrics (such as top holders and liquidity) and Smell Test results (including the token score).

List Latest Tokens

Get the latest tokens across all chains within seconds of deployment.

Available in both the Pro and Enterprise subscription plans.

List Malicious Tokens

Get a list of all scam tokens deployed in the last 24 hour period.

Available only in Enterprise subscription plan.

List Latest Pairs

Get the latest trading pairs across all chains and dexes within seconds of deployment.

Available only in Enterprise subscription plan

List Malicious Pairs

Get a list of all pairs which have rugpulled in the last 24 hour period.

Available only in Enterprise subscription plan

List Tokens with Malicious Pairs

Get the tokens for pairs which have rugpulled in the last 24 hour period.

Available only in Enterprise subscription plan

Get Address

Get a list of scam tokens deployed by an address, if any.

Available in both the Pro and Enterprise subscription plans.

List Malicious Addresses

Get a list of all addresses that have deployed a scam token in the last 24 hour period.

Available only in Enterprise subscription plan.