Build guide

Build a memecoin tracker bot for X
trending tokens, rug-checked first

Read what is trending on Solana or any EVM chain from free, keyless APIs, drop the traps, and post a daily recap thread to X. A 60-line script and no X developer account.

Card required, cancel any time.

The short answer

Call GET https://api.geckoterminal.com/api/v2/networks/solana/trending_pools (no key), skip pools under about $50K of liquidity, check each token with RugCheck's /v1/tokens/{mint}/report/summary and drop any with a danger-level risk, then post the top five as a thread to POST https://opentweet.io/api/v1/posts with is_thread. Post contract addresses as text, not links, and never tell people to buy.

Memecoin accounts are a real share of what runs on OpenTweet. In the last 30 days, at least seven paying accounts posted memecoin content through the API: a Chinese-language daily "gold dog" report of tokens that passed health checks, a daily memecoin narrative recap with peak market caps, and AI agent characters that report their own buys and burns every few hours. "Memecoin tracker" is also a rising search on Google Trends.

Six formats a memecoin account posts

Pick one or two. A tracker that posts every new launch is a spam feed; one with a filter people trust is an account they follow.

Daily trend recap

Daily

Top five tokens by 24-hour activity at the same hour every day, as a thread. The format most tracker accounts run.

Narrative of the day

Daily

Which theme is moving: cats, dogs, AI, x402, a news event. DEX Screener's trending metas group tokens for you.

New launch screener

Hourly

New pools that pass liquidity and risk checks within their first hours. Strict filters, or it turns into spam.

Community takeover watch

Live

Tokens whose communities took over after the dev left, from DEX Screener's community takeovers feed.

Agent character

Every few hours

An AI persona with its own wallet that reports its trades, burns or buybacks, like the agent accounts already posting through OpenTweet.

Weekly winners and losers

Weekly

What last week's picks did since. Honest scorekeeping is rare and gets followed.

Where the data comes from

Every endpoint below was called on November 5, 2026; access and limits are from each provider's docs. You can run the whole bot without paying for data.

SourceWhat it gives youAccess and limitsNote
GeckoTerminal API (CoinGecko)trending_pools, new_pools (last 48 h, 20 per page), pool prices, volume, liquidity, market capNo key, IP rate-limited; free Demo key 100 calls/minCovers pump.fun, PumpSwap, Raydium, Uniswap and most DEXs
DEX Screener APILatest token profiles, boosts, trending metas (Cat, Dog, AI, x402...), pairs, searchNo key; profiles and metas 60 requests/minTerms bar competing products and making the API available to third parties; read them
RugCheckSolana token risk summary: risks with warn/danger level, score, LP locked %No key for the summary endpoint (tested)Solana only
GoPlus SecurityToken security: mintable, freezable, holders, transfer fees; Solana and EVMSolana endpoint answered without a key (tested)Use for EVM chains and as a second opinion
pump.fun developer APIProfiles, follow graph, callouts, leaderboards, wallet positionsApproved teams, free; 2 req/s, 50,000/dayNo token market endpoints listed

A daily Solana recap thread in Python

Reads GeckoTerminal's 24-hour trending pools, keeps pools with real liquidity, drops tokens RugCheck marks as dangerous, shows warnings it keeps, and posts the top five as a thread. Run it once a day from cron. No URLs in the text, so none of the posts count as link posts.

import os, requests
from datetime import datetime, timezone

OT = {"Authorization": f"Bearer {os.environ['OPENTWEET_API_KEY']}"}
MIN_LIQ = 50_000                 # USD in the pool; thinner pools are noise or traps

def trending(network="solana"):
    r = requests.get(f"https://api.geckoterminal.com/api/v2/networks/{network}/trending_pools",
                     params={"duration": "24h"}, timeout=20)
    r.raise_for_status()
    return r.json()["data"]

def risky(mint):
    """RugCheck summary: skip on any danger-level risk; keep warnings to show."""
    s = requests.get(f"https://api.rugcheck.xyz/v1/tokens/{mint}/report/summary", timeout=20).json()
    risks = s.get("risks", [])
    if any(x.get("level") == "danger" for x in risks):
        return None
    return [x["name"] for x in risks if x.get("level") == "warn"]

def usd(n):
    n = float(n or 0)
    return f"${n / 1e6:.1f}M" if n >= 1e6 else f"${n / 1e3:.0f}K"

lines = []
for pool in trending():
    a = pool["attributes"]
    if float(a["reserve_in_usd"] or 0) < MIN_LIQ:
        continue
    mint = pool["relationships"]["base_token"]["data"]["id"].split("_", 1)[1]
    warns = risky(mint)
    if warns is None:
        continue
    name = a["name"].split(" / ")[0]
    line = (f"${name}  {float(a['price_change_percentage']['h24']):+.0f}% 24h\n"
            f"vol {usd(a['volume_usd']['h24'])} · liq {usd(a['reserve_in_usd'])}"
            f" · mcap {usd(a['market_cap_usd'] or a['fdv_usd'])}\n"
            f"CA {mint}")
    if warns:
        line += f"\n⚠ {', '.join(warns)}"
    lines.append(line)
    if len(lines) == 5:
        break

today = datetime.now(timezone.utc).strftime("%b %-d")
requests.post("https://opentweet.io/api/v1/posts", headers=OT, json={
    "text": f"Solana memecoins trending today · {today}\n\n"
            f"Top {len(lines)} by 24h activity, rug-checked, liquidity over ${MIN_LIQ // 1000}K. 🧵\n\nNot financial advice.",
    "is_thread": True,
    "thread_tweets": lines,
    "publish_now": True,
}).raise_for_status()

One line of the thread

$JEANPHIL  +142% 24h
vol $3.4M · liq $212K · mcap $1.9M
CA 7xKX…pump
⚠ Copycat token

For Base or BNB Chain, change the network slug and swap RugCheck for GoPlus. Every OpenTweet field, including threads, is in the API reference and post a thread from the API.

Give it a voice with an AI agent

The numbers come from code. The voice can come from a model. Connect Claude, ChatGPT or Cursor to the OpenTweet MCP server and hand it the day's screened list:

"Here are today's five tokens with their numbers. Write the recap thread: what narrative tied them together, which one has the deepest liquidity, and any warnings, word for word. No buy calls, no price targets, no links. Schedule it for 21:00 UTC."

Running an agent character with its own wallet? Post its on-chain actions as they happen and keep the persona in the prompt. More in build an AI Twitter persona.

Which plan fits your bot

Flat monthly price, no per-post fee. A recap thread counts as one post toward the daily limit.

SetupTypical volumePlan
Daily recap thread plus a few alertsUp to 20 posts a dayPro, $19.99/mo
Hourly new-launch screener, or 3 chain accountsUp to 100 posts a day, 3 X accountsAdvanced, $29/mo
A network of chain or narrative accountsUp to 300 posts a day, 10 X accountsAgency, $49/mo

Posts with a URL count toward link posts: Pro 1 a day, Advanced 10, Agency 20, plus link credits. See pricing.

Paid mentions need the label. X allows paid crypto promotion only with the Paid Partnership label, and not in the EU, UK or Australia. It has also banned apps that pay people to post ("InfoFi") since January 2026.

Label the bot. Turn on X's Automated label and name the person who runs it in the bio. Never auto-reply token posts under other people's tweets. More in X automation rules.

Check the data terms. DEX Screener's API terms forbid making its API available to third parties and building a competing product. Republishing a few facts a day is a different thing from mirroring its feed, but read them before you scale.

A safety check is not a guarantee. RugCheck and GoPlus catch known patterns (mint authority on, unlocked liquidity, copycat symbols), not every scam. Say "screened", not "safe", and put "not financial advice" in the bio.

Frequently asked questions

How do I build a memecoin tracker bot for X?

Pull trending or new pools from a free DEX data API (GeckoTerminal's trending_pools and new_pools, or DEX Screener), drop tokens with thin liquidity, screen the rest with a risk API such as RugCheck for Solana, and post the survivors to POST https://opentweet.io/api/v1/posts. A daily recap thread at a fixed time is the format that holds followers. OpenTweet posts through a normal X login, so you need no X developer account.

Is there a free API for trending memecoins?

Yes. GeckoTerminal (part of CoinGecko) answers GET https://api.geckoterminal.com/api/v2/networks/solana/trending_pools without a key, rate-limited by IP; a free CoinGecko Demo key allows 100 calls a minute. new_pools returns pools created in the last 48 hours, 20 per page. DEX Screener needs no key either: token profiles, boosts and trending metas are 60 requests a minute. All of these returned data without a key when we tested them on November 5, 2026.

Does pump.fun have an API for a Twitter bot?

pump.fun has an official developer API at api.pump.fun/v1, free for approved teams, with keys issued through its developer console. Its docs cover profiles, the follow graph, callouts, leaderboards and wallet positions, at 2 requests a second and 50,000 a day by default; they list no token-level market endpoints. For new pump.fun tokens and their pools, GeckoTerminal and DEX Screener already index pump.fun and PumpSwap pairs.

How do I avoid posting rug pulls?

Screen every token before it is posted. RugCheck's GET https://api.rugcheck.xyz/v1/tokens/{mint}/report/summary returns a risk list with "warn" and "danger" levels and the share of liquidity locked; GoPlus's Solana token security endpoint flags mint and freeze authority. Skip anything with a danger-level risk, mint authority still on, or under about $50K of liquidity, and never write "buy" or a price target.

Can I post contract addresses and pump.fun links?

A contract address is plain text and posts like any other post. A link (a pump.fun, DEX Screener or explorer URL, even a bare domain) makes it a link post: OpenTweet includes 1 a day on Pro, 10 on Advanced and 20 on Agency, plus link credits, and on the X API a post with a URL costs $0.20 against $0.015. Most tracker accounts post the address and leave the link out.

Can an AI agent run a memecoin account on X?

Yes, and several paying OpenTweet accounts are exactly that: agent characters that report their own trades, token burns or treasury moves on a schedule. Keep the facts in code (amounts, transactions, times) and let the model write the voice. Label the account as automated, and if anyone pays you to mention a token, use X's Paid Partnership label.

Tracking big transfers instead? See the whale alert bot. Posting headlines and prices? See the crypto news bot.

Everything you can build on X with OpenTweet

Post to X from your code, a watcher, or an AI agent. Start anywhere in the cluster.

OpenTweet vs the X API

Post, schedule, and automate X without a developer account or the $200/mo minimum.

X DM outreach, human-approved

Find and qualify leads, AI-draft DMs, approve each one, and drip-send from your own account via API or MCP.

Post to X without an API

The clean, account-safe way to post to X from your code or an AI agent.

Twitter MCP Server

Give Claude, Cursor, and OpenClaw the ability to post to X. 44 tools included.

Developer docs

Quickstart, API keys, MCP setup, and the REST reference for posting to X from code or an agent.

Cross-posting reference

One call posts to X, Bluesky and LinkedIn. The platforms field, per-network results, and why a network gets skipped.

Social media API for AI agents

Three ways an agent can post to X, Bluesky and LinkedIn, and the trade-offs of each.

LinkedIn MCP server

Post and schedule to a LinkedIn profile from Claude or Cursor through the official LinkedIn API.

XMCP vs OpenTweet

X's official MCP server bills per API call and cannot schedule. Compare it with the flat-fee hosted MCP.

MCP for AI agents

Connect your AI client to X in under two minutes, no X developer account.

Developer API and keys

REST endpoints, one bearer key, and usage tracking. Build on OpenTweet.

OpenTweet for AI agents

The posting layer for autonomous agents and automations that live on X.

Build an AI Twitter persona

Give your AI agent its own X account. Setup, cadence, and the rules that keep it safe.

Best MCP servers for social media

The 2026 ranked list. How the hosted OpenTweet MCP compares with the official X MCP and others.

Best API to post to X

Seven options priced at real volumes, and why links decide the bill.

Cheapest way to post to X via code

Flat fee vs pay-per-use. Why the $0.20 per-link fee flips the math past ~145 link posts a month.

X API pricing 2026

Every pay-per-use X API endpoint price from docs.x.com in one searchable table.

Bluesky posting API

Post and schedule to Bluesky with one REST call and OAuth, and cross-post to X and LinkedIn in the same request.

Automate LinkedIn posts

Post to LinkedIn from an AI agent, n8n or a script through the official Posts API, with one REST or MCP call.

Today's trend, posted before the timeline catches up

Connect X, create a key, and run the recap tonight.