DEV Community

Cover image for Auditing Solana & Base Tokens with Live X (Twitter) Sentiment in One API Call (Python CLI + n8n Bot)
Ji Studio
Ji Studio

Posted on

Auditing Solana & Base Tokens with Live X (Twitter) Sentiment in One API Call (Python CLI + n8n Bot)

Anyone building a Solana or Base token screener quickly runs into the same glue-code mess:

  1. Call one DEX endpoint for price and liquidity (which frequently hits WAF/429 limits from Cloudflare or cloud IPs).
  2. Call a second endpoint for on-chain metadata and mint/freeze authority checks.
  3. Call a third service — or burn fragile cookie-based X accounts — just to verify whether the token's official Twitter/X account is real, active, or recently suspended.

We consolidated that entire workflow into a single 4-in-1 REST endpoint (/api/v1/crypto/token-x-intel) alongside live Solana/Base meme radar, DEX boosts, new token launches, and zero-cookie Twitter/X hydration.

Full disclosure: I maintain the MIT-licensed Python/Node.js SDK and CLI at github.com/jistudio-dev/solana-x-intel-sdk and the hosted Twitter (X) & Crypto X-Intel API on RapidAPI.


1. Run a Live Token Audit in 3 Lines of Bash (Zero Dependencies)

git clone https://github.com/jistudio-dev/solana-x-intel-sdk.git
cd solana-x-intel-sdk
export RAPIDAPI_KEY="YOUR_RAPIDAPI_KEY"
python examples/token_audit_cli.py DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263
Enter fullscreen mode Exit fullscreen mode

Real production output (BONK on Solana):

Bonk (Bonk) | Price: $0.000002189 | FDV: $194,603,724 | Liq: $1,210,604
X URL: https://twitter.com/bonk_inu | Verdict: WATCHLIST (55/100)
Enter fullscreen mode Exit fullscreen mode

Behind the scenes, the edge worker uses multi-provider US-safe failover (Raydium v3, Pump.fun v3, KuCoin, Coinbase US, RugCheck, and Solana RPC) so requests keep returning real numbers even when individual DEX APIs throttle datacenter IPs.


2. Track Live Base & Solana Momentum in Node.js 18+ (npm i solana-x-intel-sdk)

npm install solana-x-intel-sdk
Enter fullscreen mode Exit fullscreen mode
import { SolanaXIntelClient } from "solana-x-intel-sdk";

const client = new SolanaXIntelClient(process.env.RAPIDAPI_KEY);

// Live Base chain radar (AERO, VIRTUAL, MORPHO, DEGEN, BRETT...)
const radar = await client.getMemeRadar({ chain: "base", limit: 5 });
for (const tok of radar.items) {
  console.log(`${tok.symbol} @ $${tok.price_usd} | Liq: $${Math.round(tok.liquidity_usd).toLocaleString()}`);
}

// Also works for zero-cookie Twitter/X tweet & thread unrolling
const tweet = await client.getTweet("20");
console.log("Tweet author:", tweet.author?.username);
Enter fullscreen mode Exit fullscreen mode

3. Turn It into an Automated Discord / Telegram Alert Bot with n8n

Download 07-solana-base-pumpfun-x-intel-radar.json and import it straight into n8n:

  • Polls /api/v1/crypto/meme-radar?chain=all&limit=8 every hour (adjustable to 5–15 minutes).
  • Formats symbol, chain, live USD price, and USD liquidity.
  • Posts alerts to your Discord webhook, Slack channel, or Telegram bot — and you can chain /api/v1/crypto/token-x-intel?ca=... for deep contract + X scoring on any token above your liquidity threshold.

Resources

Top comments (0)