# Token Safety Checker: Honeypot & Rug Pull (`jet_elation/multichain-token-safety-auditor`) Actor

Audit EVM and Solana tokens in one call and get a deterministic 0-100 safety score. Combines DEX Screener liquidity, GoPlus honeypot and owner checks, and RugCheck mint/freeze authorities, holder concentration, and LP locks.

- **URL**: https://apify.com/jet_elation/multichain-token-safety-auditor.md
- **Developed by:** [y u](https://apify.com/jet_elation) (community)
- **Categories:** AI, Business, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 token auditeds

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/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Token Safety Checker: Honeypot & Rug Pull

Paste any EVM or Solana token address and get one deterministic **0-100 safety score** with honeypot, mint/freeze authority, LP lock, holder concentration, trading tax, liquidity, and pair-age risk flags. **Token Safety Checker: Honeypot & Rug Pull** combines **DEX Screener**, **GoPlus Security**, and **RugCheck** into one normalized JSON record per token, ready for trading bots, dashboards, and AI agents.

No API keys. No browser. No proxy. No RPC endpoint. Just HTTPS JSON.

**Apify Store:** [Token Safety Checker: Honeypot & Rug Pull](https://apify.com/jet_elation/multichain-token-safety-auditor)\
**MCP tool name:** `jet_elation--multichain-token-safety-auditor`

> **Not financial advice.** This Actor performs automated on-chain/API risk screening. It is not a formal smart contract audit and does not guarantee that a token is safe to trade.

### What it does

Send one address or a batch of up to 100 addresses:

- **EVM ERC-20:** `0x` followed by 40 hex characters
- **Solana SPL mint:** 32-44 base58 characters

The Actor automatically detects the address family, finds the deepest DEX pair, calls the appropriate security source, and writes **one record per valid token** to the default dataset.

- **DEX Screener** identifies the chain and returns price, liquidity, FDV, market cap, 24h volume, pair age, DEX, pair URL, and social-link presence.
- **GoPlus Security** checks EVM honeypots, hidden owners, owner balance privileges, mintability, open-source verification, buy/sell tax, holder count, top-10 concentration, and LP locks.
- **RugCheck** checks Solana mint/freeze authorities, mutable metadata, top-10 holder concentration, LP lock rates across markets, and named risk findings. For LP locking, it prefers the market matching the primary DEX pair and falls back to a liquidity-weighted market average.
- **Unified scoring** converts every signal into a transparent deduction list, critical flags, warnings, and a risk grade from `SAFE` to `CRITICAL_DANGER`.

### Why use this Actor instead of a single-source scanner?

| Problem with single-source tools | What this Actor does |
| --- | --- |
| A DEX scanner sees liquidity but not contract permissions | Adds GoPlus contract/owner checks for EVM |
| GoPlus does not support Solana | Uses RugCheck for SPL authorities and holder/LP risks |
| RugCheck's 0-100 score is risk-oriented and Solana-only | Normalizes everything into a 0-100 **safety** score |
| Different tools return different field names | Returns one stable schema for every chain |
| Batch checks are slow and rate-limit prone | Serialized requests with provider-specific pacing and retries |
| AI agents need to parse raw API payloads | Returns machine-readable flags, warnings, and a full score breakdown |

### Supported chains and sources

| Source | Used for | Coverage | Authentication |
| --- | --- | --- | --- |
| **DEX Screener API v1** | Chain detection, price, liquidity, FDV, market cap, 24h volume, pair age, socials | All DEX Screener-supported EVM chains plus Solana | None |
| **GoPlus Security API** | EVM honeypot, owner privileges, mintability, taxes, holders, LP locks | Ethereum, BNB Smart Chain, Polygon, Arbitrum, Optimism, Avalanche, Base, zkSync | None |
| **RugCheck API** | Solana mint/freeze authority, metadata mutability, top holders, LP locks, risk list | Solana SPL tokens | None |

If DEX Screener detects an EVM chain that GoPlus does not support, the record is still returned with `sourceStatuses.goplus: "unsupported"` and the score is conservatively capped. Solana addresses are **never** sent to GoPlus, and EVM addresses are **never** sent to RugCheck.

### Input parameters

Only `tokenAddresses` is required.

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `tokenAddresses` | array of strings | prefill: Wrapped SOL and BRETT | EVM `0x` addresses or Solana base58 mint addresses. Invalid formats are skipped and never charged. |
| `chainHint` | string | `auto` | `auto`, `solana`, `ethereum`, `base`, `bsc`, `arbitrum`, or `polygon`. Pinning a chain filters DEX pairs and forces the security source to that chain. A hint that conflicts with the address format skips the address. |
| `maxTokens` | integer | `20` | Maximum valid, unique addresses to audit, from 1 to 100. Extra valid addresses are reported as truncated and are not processed or charged. |
| `useMockData` | boolean | `false` | Runs the full normalization, scoring, dataset, and pay-per-event path using bundled fixtures. No external requests. |

Minimal MCP-friendly input:

```json
{
  "tokenAddresses": [
    "So11111111111111111111111111111111111111112",
    "0x532f27101965dd16442E59d40670FaF5eBB142E4"
  ]
}
```

Batch input with a pinned chain and a lower limit:

```json
{
  "tokenAddresses": [
    "0x532f27101965dd16442E59d40670FaF5eBB142E4",
    "0x1111111111111111111111111111111111111111"
  ],
  "chainHint": "base",
  "maxTokens": 10,
  "useMockData": false
}
```

#### Address handling rules

- EVM addresses are deduplicated case-insensitively. Solana addresses are case-sensitive.
- Invalid formats are written to `SUMMARY.invalidInputs` with a reason and are **not** charged.
- Addresses beyond `maxTokens` are counted in `SUMMARY.totals.truncated` and are **not** charged.
- If every input is invalid, the Actor exits successfully with zero dataset records and zero charges.
- `chainHint` must match the address format: `solana` rejects `0x` addresses, and an EVM hint rejects Solana addresses.

### Output format

One record per valid token is written to the default dataset. All money values are USD numbers or `null`. Percentages are percentage points (`15` means 15%). Nullable fields are used when a source has no data; the source status explains why.

```json
{
  "inputAddress": "0x532f27101965dd16442E59d40670FaF5eBB142E4",
  "detectedChain": "base",
  "symbol": "BRETT",
  "name": "Brett",
  "priceUsd": 0.003002,
  "liquidityUsd": 469295.42,
  "marketCapUsd": 29751358,
  "volume24hUsd": 9311.32,
  "fdvUsd": 29751358,
  "pairAgeHours": 28574.66,
  "pairAddress": "0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02",
  "dexId": "aerodrome",
  "pairUrl": "https://dexscreener.com/base/0x4e829f8a5213c42535ab84aa40bd4adcce9cba02",
  "holderCount": 909991,
  "socialsPresent": true,
  "safetyScore": 100,
  "riskLevel": "SAFE",
  "criticalFlags": [],
  "warnings": [],
  "securityDetails": {
    "mintable": false,
    "freezable": null,
    "honeypot": false,
    "buyTaxPct": 0,
    "sellTaxPct": 0,
    "openSource": true,
    "top10HoldersPct": 32.96,
    "lpLockedPct": 90
  },
  "scoreBreakdown": {
    "startingScore": 100,
    "totalDeductions": 0,
    "scoreBeforeCaps": 100,
    "capsApplied": [],
    "finalScore": 100,
    "riskLevel": "SAFE",
    "deductions": []
  },
  "sourceStatuses": {
    "dexscreener": "ok",
    "goplus": "ok",
    "rugcheck": "skipped"
  },
  "dataQuality": "full",
  "rugcheckScore": null,
  "rugcheckScoreNormalised": null,
  "rugcheckRiskCount": null,
  "auditedAt": "2026-11-28T12:00:00.000Z",
  "disclaimer": "Automated on-chain/API risk screening only. Not financial advice or a formal smart contract audit."
}
```

The included record is from the synthetic mock fixture, not a live market snapshot.

#### Key output fields

| Field | Meaning |
| --- | --- |
| `safetyScore` | Deterministic 0-100 score. 100 is safest. |
| `riskLevel` | `SAFE`, `LOW_RISK`, `MEDIUM_RISK`, `HIGH_RISK`, or `CRITICAL_DANGER`. |
| `criticalFlags` | Machine-readable critical conditions: `HONEYPOT`, `CANNOT_SELL_ALL`, `OWNER_CHANGE_BALANCE`, `HONEYPOT_SAME_CREATOR`. |
| `warnings` | Human-readable strings prefixed with a stable code, for example `LP_UNLOCKED:` or `MINT_AUTHORITY:`. |
| `securityDetails` | Normalized mintable, freezable, honeypot, tax, open-source, top-10, and LP-lock fields. |
| `scoreBreakdown` | Starting score, every deduction and message, any caps applied, and the final score. |
| `sourceStatuses` | `ok`, `no_pair`, `no_data`, `unavailable`, `unsupported`, `unknown_chain`, or `skipped` per source. |
| `dataQuality` | `full`, `partial`, or `limited`. Missing security data caps the score at 55. |
| `disclaimer` | Required automated-screening notice. |

#### Run summary

The `SUMMARY` key-value record contains input counts, invalid-address diagnostics, per-token results, charge state, failures, and notes.

```json
{
  "actor": "multichain-token-safety-auditor",
  "mode": "live",
  "chainHint": "auto",
  "maxTokens": 20,
  "totals": {
    "submitted": 2,
    "unique": 2,
    "duplicatesRemoved": 0,
    "invalid": 0,
    "valid": 2,
    "truncated": 0,
    "returned": 2,
    "charged": 2,
    "safe": 1,
    "lowRisk": 1,
    "mediumRisk": 0,
    "highRisk": 0,
    "criticalDanger": 0,
    "failed": 0,
    "budgetStop": false,
    "billingError": null
  },
  "invalidInputs": [],
  "failures": [],
  "results": [
    {
      "inputAddress": "So11111111111111111111111111111111111111112",
      "detectedChain": "solana",
      "safetyScore": 92,
      "riskLevel": "SAFE",
      "sourceStatuses": {
        "dexscreener": "ok",
        "goplus": "skipped",
        "rugcheck": "ok"
      },
      "charged": true
    }
  ],
  "billing": {
    "pricingModel": "PAY_PER_EVENT",
    "chargingActive": true,
    "eventName": "token-audited",
    "eventPriceUsd": 0.01,
    "maxTotalChargeUsd": 5,
    "localChargingTest": false
  },
  "notes": []
}
```

### How the 0-100 safety score works

The score starts at **100** and applies deterministic deductions. The full list is returned in `scoreBreakdown.deductions`, so every score can be audited.

#### Risk bands

| Score | Risk level |
| --- | --- |
| 80-100 | `SAFE` |
| 60-79 | `LOW_RISK` |
| 40-59 | `MEDIUM_RISK` |
| 20-39 | `HIGH_RISK` |
| 0-19 | `CRITICAL_DANGER` |

Any critical flag forces `CRITICAL_DANGER`. `HONEYPOT` and `CANNOT_SELL_ALL` force the score to **0**; the other critical flags cap it at **10**.

#### Critical signals

| Condition | Effect |
| --- | --- |
| GoPlus `is_honeypot = 1` | `HONEYPOT`, score 0 |
| GoPlus `cannot_sell_all = 1` | `CANNOT_SELL_ALL`, score 0 |
| GoPlus `owner_change_balance = 1` | `OWNER_CHANGE_BALANCE`, cap 10 |
| GoPlus `honeypot_with_same_creator = 1` | `HONEYPOT_SAME_CREATOR`, cap 10 |

#### Major deductions

| Signal | Deduction |
| --- | --- |
| Unverified EVM source | -20 |
| Hidden owner | -25 |
| Active Solana mint authority | -25 |
| Active Solana freeze authority | -20 |
| EVM owner can mint | -12 |
| Buy or sell tax above 10% | -25 |
| Buy or sell tax above 5% | -8 |
| Liquidity below $5,000 | -25 |
| Liquidity from $5,000 to $25,000 | -10 |
| LP locked or burned below 50% | -20 |
| LP locked or burned from 50% to 80% | -8 |
| LP lock data unavailable | -5 |
| EVM owner can take back ownership | -25 |
| Token cannot be bought | -30 |
| Self-destruct capability | -15 |
| Creator linked to multiple honeypot tokens | -15 |
| Top 10 holders above 60% | -15 |
| Top 10 holders above 40% | -10 |
| Solana metadata is mutable | -8 |
| DEX pair younger than 24 hours | -8 |
| Fewer than 100 holders | -5 |
| Transfer pausable | -8 |
| Trading cooldown | -5 |
| Modifiable tax/slippage | -8 |
| Blacklist capability | -8 |
| Upgradeable proxy | -5 |
| External call during transfer | -5 |
| RugCheck danger-level finding | Up to -20 total |

#### Data-quality caps

A token is not called `SAFE` when the Actor cannot inspect it.

| Situation | Cap |
| --- | --- |
| Security source unavailable or has no record, but DEX data exists | 55 |
| Security source unavailable and no DEX pair | 30 |
| EVM chain unknown, so GoPlus cannot be queried | 30 |
| Security data exists but DEX pair data is unavailable | 70 |

RugCheck's own `score` and `score_normalised` are exposed as separate context fields. They are **not** the same as this Actor's safety score: RugCheck is Solana-only and higher usually means riskier, while this Actor returns a 0-100 safety score across chains.

### Source behavior and API etiquette

- **No authentication:** DEX Screener, GoPlus, and RugCheck are called with plain HTTPS JSON requests.
- **Hard timeouts:** every request has a hard timeout; network failures never crash the run.
- **GoPlus retry:** timeout, network error, invalid JSON, an empty result body, or an API-level failure waits **4.5 seconds** and retries exactly once. After that, `sourceStatuses.goplus` becomes `unavailable` and the audit continues.
- **RugCheck pacing:** Solana reports are executed through a **1.2-second serialized queue**. HTTP 429 responses are retried up to two times with backoff; 400/404 become `no_data`.
- **DEX Screener pacing:** requests are serialized at roughly **3.8 requests/second**, below the documented 300 requests/minute token-pair limit.
- **Source isolation:** a failure in one source does not prevent a record. Missing data is reflected in `sourceStatuses`, warnings, `dataQuality`, and score caps.
- **No chain cross-calls:** Solana addresses never go to GoPlus; EVM addresses never go to RugCheck.

### Use from AI agents with Apify MCP

The Actor has an explicit input schema, dataset schema, and output schema, so MCP clients can discover the required input and the two output locations.

Minimal MCP configuration:

```json
{
  "mcpServers": {
    "apify-token-safety": {
      "type": "http",
      "url": "https://mcp.apify.com?tools=jet_elation/multichain-token-safety-auditor"
    }
  }
}
```

If your client uses a bearer token instead of OAuth:

```json
{
  "headers": {
    "Authorization": "Bearer YOUR_APIFY_TOKEN"
  }
}
```

**Example agent prompt:** “Check this EVM token for honeypot, mint authority, LP lock, and holder concentration: 0x… Return the 0–100 score and critical flags.”

**Combined toolset:** [Jet Elation AI Tools](https://github.com/Matsuda681/jet-elation-ai-tools) — five Apify Actors in one MCP connection.

Example agent call:

```json
{
  "tokenAddresses": [
    "So11111111111111111111111111111111111111112",
    "0x532f27101965dd16442E59d40670FaF5eBB142E4"
  ],
  "chainHint": "auto",
  "maxTokens": 20
}
```

The agent receives the dataset URL and the `SUMMARY` record URL. Each dataset item contains `safetyScore`, `riskLevel`, `criticalFlags`, `warnings`, and `sourceStatuses`, so it can gate a trade, flag a token for review, or display the score breakdown without parsing raw provider responses.

### Pricing (Pay-Per-Event)

The pricing event is defined in `.actor/pay_per_event.json`:

- **Event:** `token-audited`
- **Price:** **$0.01 per valid token audit record**
- **Primary event:** yes
- **Minimum recommended spend limit:** $0.01

Billing rules:

1. The Actor writes a validated record with `Actor.pushData`.
2. It then calls `Actor.charge({ eventName: "token-audited", count: 1 })`.
3. Invalid addresses, duplicates, truncated inputs, validation failures, and failed dataset writes are never charged.
4. If `chargedCount === 0` while pay-per-event is active, the Actor stops processing further tokens and exits cleanly.
5. If the platform reports that the spending limit has been reached, the run also stops cleanly after writing `SUMMARY`.

When configuring monetization in Apify Console, add the `token-audited` event and remove or zero the synthetic `apify-default-dataset-item` event if you do not want a second per-item charge. The optional `apify-actor-start` event can be kept according to your pricing strategy.

Local runs do not bill unless `ACTOR_TEST_PAY_PER_EVENT=true` is set. This lets you test the full charging path without spending money.

### Local development and testing

Requirements: Node.js 20 or newer for the Actor runtime. Recent Apify CLI versions may require Node.js 22 or newer for local commands; the container uses `apify/actor-node:20`. The full test suite is verified on Node 20 and Node 26.

**Windows non-ASCII path note:** if `apify run` reports "No Node.js detected" from a project path containing Japanese or other non-ASCII characters, run the CLI from an ASCII-path junction/checkout, or launch `node dist/main.js` with `CRAWLEE_STORAGE_DIR` set. This is an Apify CLI path-handling issue, not an Actor failure; the test harness already uses an isolated storage directory and works from the project path.

```bash
npm install
npm run build
npm test
```

`npm test` runs **23 automated checks**:

- input defaults, maxTokens clamping, chain-hint validation, duplicate handling, and invalid-address skipping
- deepest-pair selection, chain filtering, and quote-token matching
- DEX, GoPlus, and RugCheck parsers, including fraction-to-percent conversion, locked/burn holder exclusion, and LP lock math
- GoPlus one-retry behavior and RugCheck 429/404 handling
- safe EVM/Solana records, honeypot critical flags, Solana authority risks, and data-quality caps
- output validation before billing
- rate-limiter serialization and spacing
- end-to-end mock runs, PPE charging, spending-limit stops, invalid-only runs, truncation, and missing-input diagnostics

#### Offline run with the included INPUT.json

`INPUT.json` uses `useMockData: true`, so it makes no external requests.

```bash
npx apify-cli@latest run --input-file=./INPUT.json
```

Inspect the results:

```text
storage/datasets/default/*.json
storage/key_value_stores/default/SUMMARY.json
```

The two prefilled addresses produce a safe Solana record and a safe Base record from the mock fixtures. The fixture also contains a honeypot EVM token, a risky Solana token, and a no-data fallback for negative testing.

#### Test the pay-per-event path locally

PowerShell:

```powershell
$env:ACTOR_TEST_PAY_PER_EVENT = "true"
npx apify-cli@latest run --input-file=./INPUT.json
```

Bash:

```bash
ACTOR_TEST_PAY_PER_EVENT=true npx apify-cli@latest run --input-file=./INPUT.json
```

The summary's `totals.charged` shows how many simulated charges were accepted. The local SDK may use a synthetic $1 price so that `ACTOR_MAX_TOTAL_CHARGE_USD` can be exercised without spending real money.

#### Live smoke test

`INPUT.live.json` is included with `useMockData: false` and the two prefilled addresses. Edit it if needed, then run:

```bash
npx apify-cli@latest run --input-file=./INPUT.live.json
```

Live results depend on the public APIs and current market data. If RugCheck is temporarily unavailable, the record still returns with `sourceStatuses.rugcheck: "unavailable"` and a conservative score cap.

#### Schema validation

```bash
npx apify-cli@latest validate-schema
```

#### Build the production container

```bash
docker build -t multichain-token-safety-auditor:latest .
```

### Deploy to Apify Store

1. Run `npx apify-cli@latest login`.
2. Run `npx apify-cli@latest push`.
3. In Apify Console, review the input, dataset schema, output schema, and README.
4. Open **Publishing → Monetization**, select **Pay per event**, and add `token-audited` at **$0.01** per record.
5. Set `token-audited` as the primary event and configure the minimum spend limit.
6. Run a small test with 2-3 tokens, verify the dataset and `SUMMARY`, then publish to the Apify Store.
7. In the Store listing, emphasize the no-key multichain coverage, the unified 0-100 score, and the MCP-ready output.

### FAQ

#### Is this a smart contract audit?

No. It is automated API and on-chain metadata screening. It does not read every line of a contract, simulate all trade paths, or prove that a token cannot be rugged. Use it as one signal among many.

#### Why does a token have a different score from RugCheck's score?

RugCheck returns a Solana-focused risk score where higher is generally worse. This Actor returns a cross-chain safety score where 100 is safest and combines DEX liquidity, GoPlus EVM contract checks, RugCheck SPL checks, pair age, data quality, and caps.

#### Why is GoPlus skipped for Solana?

GoPlus does not support Solana token security reports. Solana audits use RugCheck, and the source status is explicitly returned as `skipped` instead of pretending GoPlus data exists.

#### Why does an EVM token show `sourceStatuses.goplus: "unsupported"`?

DEX Screener can detect EVM chains that GoPlus does not cover. The Actor still returns DEX data, but caps the safety score because contract permissions could not be verified.

#### Why does a token with no DEX pair still produce a record?

The security source may still return useful contract information, and a missing pair is itself a risk signal. The score is capped and `NO_DEX_PAIR` is included in the warnings. This is more useful than dropping the token silently.

#### Why is `top10HoldersPct` different from a block explorer?

For EVM, locked and known burn addresses are excluded from the top-10 concentration calculation. For Solana, RugCheck's top holder percentages are summed. Different data sources snapshot holders at different times.

#### Why is a token with no LP holders marked as LP-lock unknown?

GoPlus only exposes LP holder rows when it can identify LP token holders. If there is no LP data, the Actor does not assume the LP is unlocked; it adds `LP_LOCK_UNKNOWN` and a small deduction instead of inventing a percentage.

#### What happens when a source is down?

The run continues. The affected source becomes `unavailable`, the record includes a warning, and data-quality caps prevent an unverified token from receiving a `SAFE` grade.

#### Can I call this from a trading bot?

Yes. Use the Apify API or MCP server, send a batch of addresses, and filter on `riskLevel`, `criticalFlags`, `safetyScore`, and `sourceStatuses`. Always verify the underlying token independently before executing a trade.

#### Are API keys required?

No. DEX Screener, GoPlus, and RugCheck are called through their public, unauthenticated endpoints.

### Legal and attribution

- **DEX Screener:** market data is provided by the public DEX Screener API. This Actor is not affiliated with DEX Screener.
- **GoPlus Security:** EVM security signals are provided by the public GoPlus API. This Actor is not affiliated with GoPlus.
- **RugCheck:** Solana risk signals are provided by the public RugCheck API. This Actor is not affiliated with RugCheck.
- Source APIs, response shapes, rate limits, and coverage can change. The Actor isolates each source and records failures instead of silently inventing data.
- Token security is adversarial and can change after an audit. A high score does not guarantee safety, liquidity, or legality.
- Nothing in this Actor or its output is financial, investment, legal, or tax advice.

**Disclaimer:** Automated on-chain/API risk screening only. Not financial advice or a formal smart contract audit.

# Actor input Schema

## `tokenAddresses` (type: `array`):

EVM ERC-20 contract addresses (0x followed by 40 hex characters) or Solana SPL mint addresses (32-44 base58 characters). Invalid formats are skipped, written to the SUMMARY diagnostics, and never charged. Duplicate addresses are removed case-insensitively for EVM.

## `chainHint` (type: `string`):

Use 'auto' to detect the chain from the address format and the deepest DEX Screener pair. Pin 'solana' or an EVM chain to restrict pair selection and skip unnecessary cross-chain lookups. A hint that does not match the address format rejects that address without charging.

## `maxTokens` (type: `integer`):

Maximum number of valid, unique token addresses to audit in this run, from 1 to 100. Additional valid addresses are reported as truncated and are not processed or charged.

## `useMockData` (type: `boolean`):

Use bundled DEX Screener, GoPlus, and RugCheck fixtures instead of making network requests. Normalization, scoring, dataset writes, and pay-per-event charging still run. Useful for local development, CI, and MCP integration tests.

## Actor input object example

```json
{
  "tokenAddresses": [
    "So11111111111111111111111111111111111111112",
    "0x532f27101965dd16442E59d40670FaF5eBB142E4"
  ],
  "chainHint": "auto",
  "maxTokens": 20,
  "useMockData": false
}
```

# Actor output Schema

## `audits` (type: `string`):

One record per valid token with the unified 0-100 safety score, risk flags, security details, liquidity metrics, source statuses, and full score breakdown.

## `summary` (type: `string`):

Input counts, invalid addresses, per-token results, charged count, budget-stop state, source failures, and notes.

# 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 = {
    "tokenAddresses": [
        "So11111111111111111111111111111111111111112",
        "0x532f27101965dd16442E59d40670FaF5eBB142E4"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jet_elation/multichain-token-safety-auditor").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 = { "tokenAddresses": [
        "So11111111111111111111111111111111111111112",
        "0x532f27101965dd16442E59d40670FaF5eBB142E4",
    ] }

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

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

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

```

## CLI example

```bash
echo '{
  "tokenAddresses": [
    "So11111111111111111111111111111111111111112",
    "0x532f27101965dd16442E59d40670FaF5eBB142E4"
  ]
}' |
apify call jet_elation/multichain-token-safety-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jet_elation/multichain-token-safety-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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