Documentation Index
Fetch the complete documentation index at: https://docs.dexpaprika.com/llms.txt
Use this file to discover all available pages before exploring further.
Why this matters
When you build code that interpolates user input into API paths, the smallest case mismatch returns a 404 with no helpful explanation. The fix is one line, but you have to know about it. This page documents which identifiers are case-sensitive, what the canonical form looks like, and what happens at the wire level if you get it wrong.Network IDs
Canonical form: lowercase, underscore-separated. Examples:ethereum, solana, base, arbitrum, bsc, polygon, optimism.
What the REST API does with non-canonical input:
ETH returns 404. Ethereum, eth, Solana all return 404. Network IDs are strict lowercase canonical at the REST layer.
What the MCP layer does with non-canonical input:
The DexPaprika MCP normalizes common synonyms (eth → ethereum, sol → solana, arb → arbitrum, etc.) before calling the REST API. If you are calling the API through the MCP, mixed case and common abbreviations work. If you are calling REST directly, you need to canonicalize yourself.
Recommended pattern: always call GET /networks once at startup and cache the id values. Treat any user-supplied network name as untrusted and map it through your cached list before constructing the URL.
Token and pool addresses
EVM chains (Ethereum, BSC, Base, Arbitrum, Polygon, Optimism, Avalanche, and similar): lowercase hex,0x prefix, 40 hex characters.
DEX identifiers
Canonical form: lowercase, underscore-separated.GET /networks/{network}/dexes and used as path segments in GET /networks/{network}/dexes/{dex}/pools. Same case rules as network IDs: strict lowercase at REST, normalized by the MCP layer.
One catch: some commit messages and changelog entries refer to DEXes by their on-chain name (e.g., “CronosV3”), but the public API slug is different (e.g., vvs_v3 on Cronos). Always use the slug returned by the API, never the marketing name.