Xspoonai official token liquidity scan

From jiayaoqijia/cryptoskill · View interactive version

Xspoonai official token liquidity scan is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Analyzes token liquidity across decentralized exchanges (DEX) using the Uniswap v3 subgraph. Fetches real pool data, calculates liquidity metrics, and scores token health based on liquidity depth and

How to use this skill

Skill file

Description

Analyzes token liquidity across decentralized exchanges (DEX) using the Uniswap v3 subgraph. Fetches real pool data, calculates liquidity metrics, and scores token health based on liquidity depth and trading volume.

Features

Inputs

API Mode

{
  "use_api": true,
  "token": "USDC",
  "network": "ethereum",
  "min_liquidity_usd": 100000
}

Parameter Mode

{
  "use_api": false,
  "token": "USDC",
  "pools": [
    {
      "address": "0xpool1",
      "token0": "USDC",
      "token1": "WETH",
      "liquidity_usd": 5000000,
      "volume_24h_usd": 1000000
    }
  ],
  "min_liquidity_usd": 100000
}

Outputs

{
  "ok": true,
  "data": {
    "status": "success",
    "source": "uniswap_api",
    "network": "ethereum",
    "token": "USDC",
    "pools_analyzed": 12,
    "min_liquidity_usd": 100000,
    "total_liquidity_usd": 45200000,
    "total_volume_24h_usd": 8500000,
    "avg_liquidity_per_pool": 3766666.67,
    "volume_to_liquidity_ratio_pct": 18.81,
    "liquidity_health_score": "very_high",
    "top_pools": [
      {
        "address": "0xpool1",
        "token0": "USDC",
        "token1": "WETH",
        "liquidity_usd": 15000000,
        "volume_24h_usd": 3000000,
        "source": "uniswap_v3_subgraph"
      }
    ],
    "summary": {
      "highly_liquid": 8,
      "moderately_liquid": 3,
      "lowly_liquid": 1
    },
    "analysis_timestamp": "2026-02-07T09:30:00.000Z"
  }
}

Parameters

API Mode Parameters

Parameter Mode Parameters

Liquidity Health Scores

Usage Examples

Analyze USDC Liquidity on Ethereum (API Mode)

python scripts/main.py --params '{
  "use_api": true,
  "token": "USDC",
  "network": "ethereum",
  "min_liquidity_usd": 100000
}'

Analyze USDT on Polygon (API Mode)

python scripts/main.py --params '{
  "use_api": true,
  "token": "USDT",
  "network": "polygon",
  "min_liquidity_usd": 50000
}'

Custom Pool Analysis (Parameter Mode)

python scripts/main.py --params '{
  "use_api": false,
  "token": "USDC",
  "pools": [
    {
      "address": "0x8ad599c3A0ff1de082011efdDc58f1908761f7e8",
      "token0": "USDC",
      "token1": "WETH",
      "liquidity_usd": 7500000,
      "volume_24h_usd": 1500000
    },
    {
      "address": "0x5777d3d545f40867652424e757029d3348dd4d6b",
      "token0": "USDC",
      "token1": "DAI",
      "liquidity_usd": 2000000,
      "volume_24h_usd": 400000
    }
  ],
  "min_liquidity_usd": 100000
}'

Supported Tokens

Ethereum

Polygon

Liquidity Health Calculation

Volume-to-Liquidity Ratio = (24h Volume / Total Liquidity) × 100

Healthy ratios indicate:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.