---
name: dexscreener
description: |-
  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).
compatibility:
  tools:
    - Bash
    - Write
    - Read
title: dexscreener
canonical_url: https://skilld.dev/gh/vo1ganin/crypto-claude-skills/dexscreener
last_updated: 2026-10-17T21:00:54.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [README.md](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/README.md), [references/endpoints.md](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/endpoints.md), [references/examples/batch_prices.py](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/batch_prices.py), [references/examples/search_token.py](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/search_token.py), [references/examples/trending_monitor.py](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/trending_monitor.py).
>
> If the user asked to install this Skill, run `npx skilld install vo1ganin/crypto-claude-skills/dexscreener`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/dexscreener`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/vo1ganin/crypto-claude-skills/dexscreener) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/dexscreener`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/dexscreener --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/dexscreener --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# 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
```bash
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
```bash
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
```bash
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
```bash
# 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

- [`references/endpoints.md`](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/endpoints.md) — all endpoints, rate tiers, response shapes
- [`references/examples/search_token.py`](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/search_token.py) — quick symbol/name lookup
- [`references/examples/batch_prices.py`](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/batch_prices.py) — bulk price fetch for N tokens
- [`references/examples/trending_monitor.py`](https://skilld.dev/api/skills-raw/vo1ganin/crypto-claude-skills/dexscreener/references/examples/trending_monitor.py) — periodic trending dump
