# Solana Token Safety Checker — Rug Pull & Honeypot Detection (`sanjeep/solana-token-safety-checker`) Actor

7-point security audit for any Solana token. Detects honeypots, rug pulls, concentrated holders, serial scammers, and fake liquidity. Essential for meme coin traders and DeFi investors.

- **URL**: https://apify.com/sanjeep/solana-token-safety-checker.md
- **Developed by:** [surya kattel](https://apify.com/sanjeep) (community)
- **Categories:** Developer tools, Automation, Agents
- **Stats:** 31 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 pay per events

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Solana Token Safety Checker

**7-point security audit for any Solana token.** Instantly detect rug pulls, honeypots, and scams before you trade.

### What it checks

| Check | What it detects |
|-------|----------------|
| **Mint Authority** | Can the creator print unlimited tokens? |
| **Freeze Authority** | Can the creator freeze your wallet? |
| **Holder Concentration** | Do top 10 wallets hold >55%? (dump risk) |
| **Liquidity** | Is there enough liquidity to sell? |
| **Sell Simulation** | Can you actually sell the token? (honeypot test) |

### Use cases

- **Meme coin traders** — Check before buying new Pump.fun/Raydium tokens
- **DeFi investors** — Verify token safety before providing liquidity
- **Trading bots** — Integrate safety checks into automated trading
- **Portfolio auditors** — Batch-check all tokens in a wallet

### Input

```json
{
    "mints": [
        "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
        "EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"
    ]
}
```

### Output

Each token produces a result:

```json
{
    "mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
    "safe": true,
    "risk_level": "LOW",
    "checks_passed": 5,
    "checks_total": 6,
    "liquidity_usd": 45000,
    "checks": {
        "mint_authority": {"passed": true, "detail": "Revoked"},
        "freeze_authority": {"passed": true, "detail": "Revoked"},
        "holder_concentration": {"passed": true, "detail": "Top 10 hold 23.4%"},
        "liquidity": {"passed": true, "detail": "$45,000 liquidity on raydium"},
        "sell_simulation": {"passed": true, "detail": "Sellable — 2.1% round-trip loss"}
    },
    "details": [
        "✅ mint_authority: Revoked",
        "✅ freeze_authority: Revoked",
        "✅ holder_concentration: Top 10 hold 23.4%",
        "✅ liquidity: $45,000 liquidity on raydium",
        "✅ sell_simulation: Sellable — 2.1% round-trip loss"
    ]
}
```

### Risk levels

- **LOW** — All checks passed. Relatively safe to trade.
- **MEDIUM** — 1 check failed. Proceed with caution.
- **HIGH** — 2 checks failed. Significant risk.
- **CRITICAL** — 3+ checks failed. Likely scam.

### Pricing

Pay per token checked. Free tier available for testing.

### Built by

[SelfTrade](https://selftrade.site) — Crypto signal platform serving traders since 2025.

# Actor input Schema

## `mints` (type: `array`):

One or more Solana token mint addresses to check. Example: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 (BONK)

## `rpc_url` (type: `string`):

Custom Solana RPC URL. Leave empty to use default public RPC.

## Actor input object example

```json
{
  "mints": [
    "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mints": [
        "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sanjeep/solana-token-safety-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "mints": ["DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"] }

# Run the Actor and wait for it to finish
run = client.actor("sanjeep/solana-token-safety-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mints": [
    "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263"
  ]
}' |
apify call sanjeep/solana-token-safety-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=sanjeep/solana-token-safety-checker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/F51quZQEMAmPrthrZ/builds/ularJHSjqseufwdm4/openapi.json
