Index of every page on this site: llms.txt
All skills
vo1ganin avatar

/dexscreener

@8100600
Run it yourself

Expert assistant for DexScreener API — free, unauthenticated public API for current DEX pair data across 20+ chains (Solana, Ethereum, Base, BSC, TON, etc.). Use when the user wants: current price / volume / liquidity / market cap of any token on any chain, search a token by symbol/name/address, find all trading pairs for a token, check trending tokens, monitor token boosts / profiles / community takeovers, or pull quick pair data for multiple tokens at once. Not for: historical data (no archive — use Dune/Bitquery), real-time streaming (no WebSocket — use PumpPortal WS for pump.fun or direct RPC for others).

Use this Skill: https://skilld.dev/gh/vo1ganin/crypto-claude-skills/dexscreener

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈159 tokens for metadata: the name and description. ≈1.1k when used: this file. ≈1.6k more on demand in 2 files.

Description uses 7.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈632 characters, or 7.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

DexScreener Skill

Reference files:

  • references/endpoints.md — full endpoint list with rate limits per group
  • references/examples/ — working Python scripts (batch token lookup, search, monitor)

🚨 Key facts (memorize)

  1. No auth, no key, no paid tier. Public API, free for everyone.
  2. No history. Only current state. For historical: use Dune or Bitquery.
  3. No WebSocket. Polling only. For real-time pump.fun: PumpPortal; for others: direct RPC.
  4. Search max 30 results, no pagination. Don't try to scroll past 30.
  5. Two rate tiers: 60 rpm (profiles/boosts/metas/orders) vs 300 rpm (latest/dex/*).
  6. Terms prohibit competing products and aggressive scraping. Fair analytical use is fine.

Base URL

https://api.dexscreener.com

When to use vs alternatives

Need Best tool
Quick current price, any token, any chain DexScreener /tokens/v1/{chain}/{addr}
Discover trending memecoins DexScreener /token-boosts/top/v1 + /token-profiles/latest/v1
Batch price for 30 tokens DexScreener /tokens/v1/{chain}/{addrs} (one call)
Full liquidity/volume for a pair DexScreener /latest/dex/pairs/{chain}/{pair}
Historical price dune-skill (prices.usd) or Birdeye
Real-time trade stream pumpfun-skill (PumpPortal WS) or solana-rpc-skill (LaserStream)
Deep wallet analysis solscan-skill or nansen-skill
NFT data solana-rpc-skill (DAS API)

Step-by-step workflow

1. Identify input

  • User pastes token address → /tokens/v1/{chain}/{address} or /latest/dex/search?q={address}
  • User mentions name/symbol → /latest/dex/search?q={query} (max 30 results)
  • User asks for trending → /token-boosts/top/v1 or /metas/trending/v1
  • User has pair/pool address → /latest/dex/pairs/{chain}/{pair}

2. Detect chain Chain IDs: solana, ethereum, base, bsc, polygon, arbitrum, optimism, avalanche, ton, sui, tron, hyperliquid, etc. If unknown, use /search first (it returns chainId in results).

3. Call the endpoint

  • Plain curl or httpx.get() — no headers needed
  • Honor 60/300 rpm rate limit: if batch-polling, asyncio.Semaphore(5) keeps safe

4. Extract what's needed Typical fields: priceUsd, volume.h24, liquidity.usd, priceChange.h24, txns.h24.buys/sells, marketCap, fdv, pairCreatedAt.

5. Present

  • Format USD with commas
  • Shorten addresses (4+4 chars)
  • Link to DexScreener UI: https://dexscreener.com/{chainId}/{pairAddress}

Common patterns

Quick price lookup

curl "https://api.dexscreener.com/latest/dex/search?q=BONK"

Returns up to 30 matching pairs sorted by relevance. Pick the top Raydium/Jupiter pair on Solana for BONK.

Batch 30 tokens at once

curl "https://api.dexscreener.com/tokens/v1/solana/MINT1,MINT2,MINT3,...,MINT30"

Single request covers 30 tokens — way cheaper than 30 individual calls.

Monitor a token's all pairs

curl "https://api.dexscreener.com/token-pairs/v1/solana/{TOKEN}"

Useful when a token trades on multiple DEXes (Raydium, Meteora, Orca) — get liquidity for each.

Trending + boosts combination

# What paid advertisers are pushing
curl https://api.dexscreener.com/token-boosts/top/v1

# Organic trends
curl https://api.dexscreener.com/metas/trending/v1

Compare these — divergence signals pump-or-rug patterns.


Error handling

Status Meaning Action
200 OK Parse JSON
429 Rate limited Back off 30-60s, drop concurrency
404 Token/pair not found Verify chainId and address
500-502 Upstream error Retry with backoff

429 doesn't include Retry-After — just exponentially back off.

Reference files

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides utility scripts and documentation for the DexScreener API, allowing users to query token data and monitor trends. It uses well-known libraries and interacts only with legitimate service endpoints. No malicious patterns or security risks were found.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 8100600. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
compatibility
{
  "tools": [
    "Bash",
    "Write",
    "Read"
  ]
}

README badge

README badge for vo1ganin/crypto-claude-skills/dexscreener