DEX Screener API in Python: Memecoin Scanner
A Python memecoin scanner can turn DEX Screener’s pair data into a shortlist you can review. Start with a watchlist of Solana token mints and a single rule for choosing which pool to inspect. Once that works, add volume, token age, or holder checks as separate steps.
Summarize with AI:

Start with pair data for a known mint
The DEX Screener API reference describes a token-pairs endpoint keyed by chain ID and token address. Give your scanner one mint and keep the raw result as a test fixture. Save the pair address, base and quote token addresses, and liquidity in USD. Check which side of the pair contains your target token before interpreting any price fields.
Record the time you fetched the data in its own field. The pair creation time tells you how long a pool has existed. Your observation time tells you when your program saw the snapshot. Use both if you want to review young pools without relying on an old observation.
Choose a pool, then screen it
Consider a mint with two pools reporting $30,000 and $9,000 in liquidity. If your exercise requires $20,000 per pool, only the first qualifies. Log both decisions. Adding the reported numbers together would tell you something about the combined pools and very little about a specific route your bot might use. Request a separate swap quote to evaluate a particular simulated size.
Handle the three common outcomes
- Pass: the record has the fields you need and meets your rule.
- Reject: you can evaluate the record and it fails a specific rule.
- Review: the request failed, a field is missing, or your data is too old.
Test all three outcomes with saved records. Then add a retry delay for rate limits and keep the timestamp of the last successful fetch visible. Those details make the difference between an empty shortlist and a scanner that has stopped receiving usable data.
Turn it into a meme coin scanner
Once single-token lookups work, run the same checks on every new Solana pair and keep a shortlist with the reason each token passed or failed. Add rug pull checks and a holder review, and you have a basic meme coin scanner. See how to find meme coins early for the signals worth adding.
Get the nine ChatGPT scanner prompts
Build a Solana token scanner with nine ChatGPT prompts for Dexscreener data, liquidity checks, wallet filtering, and alerts.
ChatGPT Trading Bot GuideKeep reading
Up nextBubblemaps Tutorial: Check Solana Token HoldersInterpret token holder clusters, investigate linked wallets, and document uncertainty before adding a token to your watchlist.
Up nextSet Up GMGN Telegram Wallet Alerts for SolanaFollow a public Solana wallet, verify that Telegram alerts arrive, and troubleshoot missing or duplicate notifications.