{"uid":"cap_GhwCyS20qTN-rr8jtPniw","slug":"base-token-safety-rug-check-b1adf8c6","name":"Base Token Safety / Rug Check","description":"Check a Base token before your agent buys it, via Liquid Logic X: send an ERC-20 address, get risk (low/medium/high), score, flags and evidence: owner, upgradeable proxy, mint/blacklist/fee/pause powers in code, owner and burn %, DEX liquidity, pair age, 24h buys vs sells, X-Lock locks. $0.01 USDC on Base.","url":"https://audit.liquidlogicx.com/api/token-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["token"],"properties":{"chain":{"enum":["base"],"type":"string","description":"Optional. Base only."},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Base (eip155:8453) ERC-20 token contract address to check before buying."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["token","chain","checkedAt","risk","score","summary","flags","contract","market","locks"],"properties":{"risk":{"enum":["high","medium","low"],"type":"string","description":"Worst flag severity found. 'low' is not a guarantee."},"chain":{"enum":["base"],"type":"string"},"flags":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","description":"e.g. POWER_MINT, POWER_BLACKLIST, UPGRADEABLE, OWNER_HOLDS_MAJORITY, LIQUIDITY_TINY, NO_SELLS_24H, PAIR_NEW, NO_DEX_PAIR, OWNER_RENOUNCED, XLOCK_LOCKED, KNOWN_ISSUER"},"message":{"type":"string"},"severity":{"enum":["high","medium","low","info"],"type":"string"}}}},"links":{"type":"object","properties":{"basescan":{"type":"string"},"dexscreener":{"type":"string"}}},"locks":{"type":"object","properties":{"lockUrls":{"type":"array","items":{"type":"string"}},"nextUnlock":{"type":["string","null"],"format":"date-time"},"xlockLocked":{"type":"boolean"},"pctOfSupplyLocked":{"type":["number","null"]}}},"score":{"type":"integer","maximum":100,"minimum":0,"description":"100 minus 35 per high, 15 per medium, 5 per low flag"},"token":{"type":"string"},"market":{"type":"object","properties":{"status":{"enum":["ok","unavailable"],"type":"string"},"topPair":{"type":["object","null"],"properties":{"dex":{"type":"string"},"url":{"type":"string"},"buys24h":{"type":["integer","null"]},"priceUsd":{"type":["string","null"]},"sells24h":{"type":["integer","null"]},"createdAt":{"type":["string","null"],"format":"date-time"},"pairAddress":{"type":"string"},"quoteSymbol":{"type":["string","null"]},"liquidityUsd":{"type":["number","null"]},"volume24hUsd":{"type":["number","null"]}}},"pairCount":{"type":"integer"},"totalLiquidityUsd":{"type":["number","null"]}}},"source":{"type":"string"},"holders":{"type":"object","properties":{"ownerPct":{"type":["number","null"]},"burnedPct":{"type":["number","null"]}}},"summary":{"type":"string"},"contract":{"type":"object","properties":{"name":{"type":["string","null"]},"owner":{"type":["string","null"]},"symbol":{"type":["string","null"]},"decimals":{"type":["integer","null"]},"proxyAdmin":{"type":["string","null"]},"knownIssuer":{"type":["string","null"]},"totalSupply":{"type":["string","null"]},"upgradeable":{"type":"boolean"},"ownerRenounced":{"type":"boolean"},"adminPowersInCode":{"type":"array","items":{"enum":["mint","blacklist","fees","pause","trading-switch","max-tx"],"type":"string"}},"proxyImplementation":{"type":["string","null"]}}},"checkedAt":{"type":"string","format":"date-time"},"notChecked":{"type":"array","items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S9SLc__Cyycl7GGOj9ycp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes an ERC-20 token contract on Base and returns a risk rating, score, flags, contract powers, market data, and X-Lock liquidity lock status to help agents avoid rug pulls before buying.","exampleAgentPrompt":"Before I buy this token, can you run a rug check on 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base — give me the risk level, score, and any red flags like mint powers or tiny liquidity?","exampleUseCases":[{"title":"Pre-purchase rug pull screening","prompt":"I'm about to buy some of this Base token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — can you check if it has any dangerous contract powers like minting or blacklisting, and tell me the overall risk score?"},{"title":"Liquidity lock verification","prompt":"Check whether the liquidity for the token at 0x50c5725949A6F0c72E6C4a641F24049A917DB0Cb on Base is actually locked, and when the next unlock is — I don't want to get dumped on."},{"title":"New token launch due diligence","prompt":"I found a new token on Base at 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA — run a full safety audit on it and tell me if the owner still holds a majority, whether there's enough DEX liquidity, and what the 24-hour buy vs sell activity looks like."}],"resultDescription":"Returns a JSON object with: risk level (low/medium/high), numeric safety score (0-100, where 100 is safest), an array of flags with severity and code (e.g. POWER_MINT, UPGRADEABLE, NO_DEX_PAIR, XLOCK_LOCKED), contract-level details (owner address, upgradeable proxy status, dangerous function presence), market data (top DEX pair, pair age, 24h buys vs sells, liquidity), lock data (whether X-Lock is active, % of supply locked, next unlock datetime), and links to Basescan and DexScreener.","failureModes":["Invalid or non-ERC-20 contract address returns an error or empty result","Token with no DEX pair returns NO_DEX_PAIR flag and unavailable market status","Unverified contract source code may limit flag detection accuracy","Network congestion on Base may cause timeouts","Payment failure (insufficient USDC balance) blocks the call","Newly deployed contracts may have incomplete on-chain data"],"whenToPreferThis":"Use this endpoint when an AI agent is about to purchase or interact with an unknown ERC-20 token on Base and needs a fast, structured risk assessment. It is preferable to manual contract review because it consolidates contract code analysis, ownership data, DEX liquidity, and liquidity lock status into one scored, flag-annotated response. Choose this over generic block explorer lookups when you need actionable risk levels and X-Lock verification in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:08.459Z","isFirstParty":false,"canonicalSlug":"base-token-safety-rug-check-b1adf8c6"}