youraitools-api / tree / public/aiax/sections/tokenverdict.json ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
{
 "aiax_version": "0.1",
 "section_id": "tokenverdict",
 "purpose": "TokenVerdict: Full Base ERC-20 token safety report: honeypot / sell simulation with buy, sell and transfer tax and round-trip loss (Uniswap v2/v3/v4, Aerodrome, Pancake), owner powers with function names, proxy and upgrade admin, owner status, liquidity per pool and LP burn, holder concentration, verification, age, data sources and limits, plus SAFE / CAUTION / DANGER and a 0-100 score.",
 "inputs": {
  "type": "object",
  "properties": {
   "token": {
    "type": "string",
    "description": "Base (chain 8453) ERC-20 contract address, e.g. 0x532f27101965dd16442E59d40670FaF5eBB142E4"
   }
  },
  "required": [
   "token"
  ]
 },
 "outputs": {
  "type": "object",
  "properties": {
   "token": {
    "type": "string"
   },
   "chain": {
    "type": "string"
   },
   "name": {
    "type": "string"
   },
   "symbol": {
    "type": "string"
   },
   "verdict": {
    "type": "string"
   },
   "score": {
    "type": "integer"
   },
   "confidence": {
    "type": "string"
   },
   "reasons": {
    "type": "array",
    "items": {
     "type": "object",
     "properties": {
      "severity": {
       "type": "string"
      },
      "code": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   },
   "tier": {
    "type": "string"
   },
   "checks": {
    "type": "object",
    "properties": {
     "sellability": {
      "type": "object",
      "properties": {
       "simulated": {
        "type": "boolean"
       },
       "dex": {
        "type": "string"
       },
       "pool_type": {
        "type": "string"
       },
       "buy_ok": {
        "type": "boolean"
       },
       "sell_ok": {
        "type": "boolean"
       },
       "transfer_ok": {
        "type": "boolean"
       },
       "buy_tax_pct": {
        "type": "integer"
       },
       "sell_tax_pct": {
        "type": "integer"
       },
       "transfer_tax_pct": {
        "type": "integer"
       },
       "round_trip_loss_pct": {
        "type": "number"
       }
      }
     },
     "owner": {
      "type": "object",
      "properties": {
       "address": {
        "type": "string"
       },
       "renounced": {
        "type": "boolean"
       },
       "is_contract": {
        "type": "boolean"
       }
      }
     },
     "powers": {
      "type": "object",
      "properties": {
       "mint": {
        "type": "array",
        "items": {}
       },
       "blacklist": {
        "type": "array",
        "items": {}
       },
       "pause": {
        "type": "array",
        "items": {}
       },
       "fees": {
        "type": "array",
        "items": {}
       },
       "trading": {
        "type": "array",
        "items": {}
       },
       "limits": {
        "type": "array",
        "items": {}
       },
       "balance": {
        "type": "array",
        "items": {}
       },
       "upgrade": {
        "type": "array",
        "items": {}
       },
       "access_control": {
        "type": "boolean"
       },
       "source": {
        "type": "string"
       }
      }
     },
     "proxy": {
      "type": "object",
      "properties": {
       "upgradeable": {
        "type": "boolean"
       },
       "type": {}
      }
     },
     "contract": {
      "type": "object",
      "properties": {
       "verified": {
        "type": "boolean"
       },
       "verified_by": {
        "type": "string"
       }
      }
     },
     "liquidity": {
      "type": "object",
      "properties": {
       "usd": {
        "type": "integer"
       },
       "pools": {
        "type": "integer"
       },
       "main_pool": {
        "type": "object",
        "properties": {
         "dex": {
          "type": "string"
         },
         "quote": {
          "type": "string"
         }
        }
       },
       "lp": {}
      }
     },
     "holders": {
      "type": "object",
      "properties": {
       "count": {
        "type": "integer"
       },
       "top10_pct": {
        "type": "number"
       },
       "in_pools_pct": {
        "type": "number"
       },
       "top10_ex_pools_est_pct": {
        "type": "number"
       },
       "source": {
        "type": "string"
       }
      }
     },
     "age": {
      "type": "object",
      "properties": {
       "created_at": {
        "type": "string"
       },
       "days": {
        "type": "integer"
       },
       "source": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 },
 "pricing": {
  "model": "per_call",
  "amount": "0.015",
  "currency": "USDC",
  "rail": "x402"
 },
 "examples": [
  {
   "description": "GET /tokenverdict/v1/quick, paid over x402 (USDC on Base); an unpaid call answers 402 with the terms.",
   "request": {
    "method": "GET",
    "url": "https://api.youraitools.co/tokenverdict/v1/quick",
    "query": {
     "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4"
    }
   },
   "response": {
    "token": "0x532f27101965dd16442e59d40670faf5ebb142e4",
    "chain": "base",
    "name": "Brett",
    "symbol": "BRETT",
    "verdict": "SAFE",
    "score": 97,
    "confidence": "high",
    "reasons": [
     {
      "severity": "info",
      "code": "top10",
      "text": "Top 10 holders own 30.9% (estimate excluding pools and burn)."
     },
     {
      "severity": "good",
      "code": "sellable",
      "text": "Simulated buy and sell both worked with no token tax (round trip lost 0.42% to pool/hook fees and price impact)."
     },
     {
      "severity": "good",
      "code": "renounced",
      "text": "Ownership renounced."
     },
     {
      "severity": "good",
      "code": "verified",
      "text": "Source verified (Sourcify)."
     }
    ],
    "tier": "quick",
    "checks": {
     "sellability": {
      "simulated": true,
      "dex": "aerodrome",
      "pool_type": "v3",
      "buy_ok": true,
      "sell_ok": true,
      "transfer_ok": true,
      "buy_tax_pct": 0,
      "sell_tax_pct": 0,
      "transfer_tax_pct": 0,
      "round_trip_loss_pct": 0.42
     },
     "owner": {
      "address": "0x0000000000000000000000000000000000000000",
      "renounced": true,
      "is_contract": false
     },
     "powers": {
      "mint": [],
      "blacklist": [],
      "pause": [],
      "fees": [],
      "trading": [],
      "limits": [],
      "balance": [],
      "upgrade": [],
      "access_control": false,
      "source": "verified ABI (sourcify)"
     },
     "proxy": {
      "upgradeable": false,
      "type": null
     },
     "contract": {
      "verified": true,
      "verified_by": "Sourcify"
     },
     "liquidity": {
      "usd": 721405,
      "pools": 1,
      "main_pool": {
       "dex": "aerodrome",
       "quote": "WETH"
      },
      "lp": null
     },
     "holders": {
      "count": 909566,
      "top10_pct": 32.6,
      "in_pools_pct": 1.7,
      "top10_ex_pools_est_pct": 30.9,
      "source": "GeckoTerminal"
     },
     "age": {
      "created_at": "2024-02-27T00:00:00.000Z",
      "days": 968,
      "source": "first DEX pool (DexScreener)"
     }
    }
   }
  }
 ],
 "pact_mandate_template": null,
 "extensions": {
  "youraitools": {
   "endpoint": "https://api.youraitools.co/tokenverdict/v1/quick",
   "network": "eip155:8453",
   "x402_versions": [
    2,
    1
   ],
   "mcp": "https://api.youraitools.co/tokenverdict/mcp",
   "openapi": "https://api.youraitools.co/tokenverdict/openapi.json"
  }
 }
}

agentgate-source: code mirror on Cloudflare Pages. All repos