agentsvc.io

services / token-security

financeoperational · 398 ms

Token Security Check

Risk check for an ERC20 token on Base, Ethereum, BNB Chain, Arbitrum or Polygon before buying or accepting it: honeypot simulation, buy/sell tax, mintable, owner can change balances, hidden owner, blacklist, pausable transfers, proxy, unverified source, holder concentration, LP lock, DEX liquidity, pair age and volume. Returns a verdict (low, medium, high, critical, or incomplete if the security feed is down) with concrete flags. Sources: GoPlus Security, DexScreener, on-chain RPC. Params: token (contract address, required), chain (base default, ethereum, bsc, arbitrum, polygon).

Run free trial ↗3 free calls per day with the example input. Paid: $0.010 USDC, no limit.

Call it

import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agentsvc.io/api/v1/proxy/token-security", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"token":"0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed","chain":"base"}),
});
const { data, payment } = await res.json();  // payment.transaction = on-chain receipt

Input

FieldTypeDescription
token *stringERC20 contract address
chainbase | ethereum | bsc | arbitrum | polygon = "base"

Output

FieldTypeDescription
chainstring
chain_idinteger
tokenstring
verdictstring
risk_flagsarray
noteany
token_infoobject
securityobject
marketobject
sourcesarray
explorerstring
disclaimerstring
checked_atstring

Example response (data)

{
  "chain": "base",
  "chain_id": 8453,
  "token": "0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "verdict": "medium",
  "risk_flags": [
    {
      "severity": "medium",
      "code": "mintable",
      "detail": "Supply can be increased"
    },
    {
      "severity": "info",
      "code": "owner_active",
      "detail": "Owner 0x704ec5c12ca20a293c2c0b72b22619a4231f3c0d has not renounced ownership"
    }
  ],
  "note": null,
  "token_info": {
    "name": "Degen",
    "symbol": "DEGEN",
    "decimals": 18,
    "total_supply_raw": "36048175875914393891497109185",
    "owner": "0x704ec5c12ca20a293c2c0b72b22619a4231f3c0d",
    "owner_renounced": false,
    "bytecode_size": 11608
  },
  "security": {
    "is_honeypot": false,
    "cannot_buy": false,
    "cannot_sell_all": false,
    "buy_tax": 0,
    "sell_tax": 0,
    "is_open_source": true,
    "is_proxy": false,
    "is_mintable": true,
    "owner_change_balance": false,
    "hidden_owner": false,
    "can_take_back_ownership": false,
    "selfdestruct": false,
    "external_call": false,
    "blacklist": false,
    "whitelist": false,
    "transfer_pausable": false,
    "trading_cooldown": false,
    "slippage_modifiable": false,
    "personal_slippage_modifiable": false,
    "anti_whale_modifiable": false,
    "holder_count": 1182474,
    "lp_holder_count": 20,
    "top10_holders_pct": 61.88,
    "lp_locked_pct": 0,
    "creator_address": "0x3C12B77aE8B7DD1FEB63D1D6a2A819AcdA0a41d2",
    "honeypot_with_same_creator": 0,
    "trust_list": false,
    "fake_token": false
  },
  "market": {
    "pairs": 30,
    "liquidity_usd": 1058385,
    "volume_24h_usd": 33270,
    "price_usd": 0.001057,
    "fdv_usd": 38133798,
    "market_cap_usd": 38133798,
    "first_pair_created": "2024-01-07T19:30:45.000Z",
    "age_days": 1002.8,
    "txns_24h": {
      "buys": 6,
      "sells": 55
    },
    "top_pairs": [
      {
        "dex": "uniswap",
        "pair": "0x0cA6485b7e9cF814A3Fd09d81672B07323535b64",
        "quote": "WETH",
        "liquidity_usd": 860152,
        "url": "https://dexscreener.com/base/0x0ca6485b7e9cf814a3fd09d81672b07323535b64"
      },
      {
        "dex": "uniswap",
        "pair": "0xc9034c3E7F58003E6ae0C8438e7c8f4598d5ACAA",
        "quote": "WETH",
        "liquidity_usd": 124818,
        "url": "https://dexscreener.com/base/0xc9034c3e7f58003e6ae0c8438e7c8f4598d5acaa"
      }
    ]
  },
  "sources": [
    "GoPlus Security API",
    "DexScreener"
  ],
  "explorer": "https://basescan.org/token/0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed",
  "disclaimer": "Automated risk signals, not financial advice. A low verdict does not guarantee safety.",
  "checked_at": "2026-10-06T14:29:37.119Z"
}