Skip to main content
Glama
coinpaprika

DexPaprika (CoinPaprika)

Official

getDexPools

Read-onlyIdempotent

Fetch all liquidity pools for one DEX on a network, such as Uniswap v3 on Ethereum. Sort by volume or liquidity, filter by DEX ID, and paginate with a cursor.

Instructions

Get the pools belonging to one specific DEX on one network, e.g. all Uniswap v3 pools on ethereum. Proxies /networks/{network}/pools/search with a dex_name filter (the old /networks/{network}/dexes/{dex}/pools endpoint was removed): rows come back under 'results' with cursor pagination (has_next_page + next_cursor), and the 24h volume field is volume_usd_24h. Read-only. The first page works without an API key; paging with cursor needs a key (a free key pages without limit). Narrower than getNetworkPools (a single exchange, not the whole chain). Use for 'show me Raydium pools', 'top pairs on PancakeSwap', or 'liquidity on Orca'. Get the dex id from getNetworkDexes or search first, and pass that response's dex_id field ('uniswap_v3'), matched case-insensitively. Do not pass its dex_name field ('Uniswap V3'): a human display name returns HTTP 200 with an empty results[] rather than an error, so an empty answer here usually means the wrong form of the name was sent. Params: network (required slug); dex (required id, e.g. 'uniswap_v3'; the REST API calls this query parameter dex_name); limit (default 10, max 100); cursor (pass previous next_cursor to page); sort_by (default 'volume_usd_24h', canonical *_24h fields, short legacy names still accepted, alias order_by); sort_dir 'asc'/'desc' (default 'desc', alias sort). The old page number is gone: page 2 and above return an error pointing at cursor.

Input Schema

NameRequiredDescriptionDefault
dexYesREQUIRED: the dex_id field from getNetworkDexes (e.g., 'uniswap_v3'), matched case-insensitively. Do not pass that response's dex_name field, the human display name (e.g., 'Uniswap V3'): it returns an empty results[] instead of an error, so a wrong value looks like a real but empty answer. The REST API calls this parameter dex_name.
pageNoSUPERSEDED: the replacement endpoint is cursor-paginated and ignores page. page=1 (or 0) still works as the first page; page=2 or above returns a structured error telling you to use cursor.
sortNoOPTIONAL: alias of sort_dir; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes sort, so use this name when calling the REST API directly.
limitNoOPTIONAL: Number of items per page (default: 10, max: 100)
cursorNoOPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page (read `has_next_page` to know if more remain); needs an API key (a free key pages without limit). Replaces the old page number.
networkYesREQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')
sort_byNoOPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names such as volume_usd are still accepted and normalized. The REST API calls this parameter order_by.
order_byNoOPTIONAL: alias of sort_by; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes order_by, so use this name when calling the REST API directly.
sort_dirNoOPTIONAL (preferred): Sort direction (default: 'desc'). The REST API calls this parameter sort.
rationaleYesREQUIRED. 1-2 sentence rationale for this call (e.g. "User asked for X; calling Y to fetch Z"). Logged for MCP improvement, never shown to end users. No PII or secrets. See the server `instructions` field for the full convention and worked examples.

Output Schema

NameRequiredDescriptionDefault
queryNo
resultsNo
next_cursorNo
has_next_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.9.0
    • changedInput schema / properties / cursor / description
      Previous value: -"OPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page (read `has_next_page` to know if more remain). Replaces the old page number."New value: +"OPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page (read `has_next_page` to know if more remain); needs an API key (a free key pages without limit). Replaces the old page number."
  2. Changed2 schema fields changedv2.8.0
    • changedInput schema / properties / order_by / enum
      Previous value: -[
      -  "volume_usd_24h",
      -  "volume_usd_7d",
      -  "volume_usd_30d",
      -  "liquidity_usd",
      -  "txns_24h",
      -  "created_at",
      -  "price_usd",
      -  "price_change_percentage_24h",
      -  "price_change_percentage_6h",
      -  "price_change_percentage_1h",
      -  "price_change_percentage_5m",
      -  "volume_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "volume_24h",
      -  "volume_7d",
      -  "volume_30d",
      -  "liquidity"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_48h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • changedInput schema / properties / sort_by / enum
      Previous value: -[
      -  "volume_usd_24h",
      -  "volume_usd_7d",
      -  "volume_usd_30d",
      -  "liquidity_usd",
      -  "txns_24h",
      -  "created_at",
      -  "price_usd",
      -  "price_change_percentage_24h",
      -  "price_change_percentage_6h",
      -  "price_change_percentage_1h",
      -  "price_change_percentage_5m",
      -  "volume_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "volume_24h",
      -  "volume_7d",
      -  "volume_30d",
      -  "liquidity"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_48h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
  3. Changed13 schema fields changedv2.5.0
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "OPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page (read `has_next_page` to know if more remain). Replaces the old page number.",
      +  "type": "string"
      +}
    • changedInput schema / properties / dex / description
      Previous value: -"REQUIRED: DEX identifier from getNetworkDexes (e.g., 'uniswap_v3')"New value: +"REQUIRED: the dex_id field from getNetworkDexes (e.g., 'uniswap_v3'), matched case-insensitively. Do not pass that response's dex_name field, the human display name (e.g., 'Uniswap V3'): it returns an empty results[] instead of an error, so a wrong value looks like a real but empty answer. The REST API calls this parameter dex_name."
    • changedInput schema / properties / order_by / enum
      Previous value: -[
      -  "volume_usd",
      -  "price_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "created_at"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • removedInput schema / properties / page / default
      Removed value: -1
    • changedInput schema / properties / page / description
      Previous value: -"OPTIONAL: Page number for pagination (default: 1, 1-indexed)"New value: +"SUPERSEDED: the replacement endpoint is cursor-paginated and ignores page. page=1 (or 0) still works as the first page; page=2 or above returns a structured error telling you to use cursor."
    • changedInput schema / properties / sort_by / description
      Previous value: -"OPTIONAL (preferred): Field to sort by (default: 'volume_usd'). The REST API calls this parameter order_by."New value: +"OPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names such as volume_usd are still accepted and normalized. The REST API calls this parameter order_by."
    • changedInput schema / properties / sort_by / enum
      Previous value: -[
      -  "volume_usd",
      -  "price_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "created_at"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • addedOutput schema / properties / has_next_page
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / page_info
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "limit": {
      -      "description": "Items per page in the request.",
      -      "type": "number"
      -    },
      -    "page": {
      -      "description": "Current page number (1-indexed).",
      -      "type": "number"
      -    },
      -    "total_items": {
      -      "description": "Total number of items across all pages.",
      -      "type": "number"
      -    },
      -    "total_pages": {
      -      "description": "Total number of pages available.",
      -      "type": "number"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / pools
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "chain": {
      -        "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "description": "ISO 8601 pool-creation timestamp.",
      -        "type": "string"
      -      },
      -      "created_at_block_number": {
      -        "type": "number"
      -      },
      -      "dex_id": {
      -        "type": "string"
      -      },
      -      "dex_name": {
      -        "type": "string"
      -      },
      -      "fee": {
      -        "description": "Pool fee (units depend on DEX; null for some DEXes).",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Pool contract address.",
      -        "type": "string"
      -      },
      -      "last_price": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "last_price_usd": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "tokens": {
      -        "items": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "added_at": {
      -              "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      -              "type": "string"
      -            },
      -            "chain": {
      -              "type": "string"
      -            },
      -            "decimals": {
      -              "type": "number"
      -            },
      -            "fdv": {
      -              "description": "Fully-diluted valuation in USD.",
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "description": "Token contract address (chain-canonical form).",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "symbol": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / query
      Added value: +{
      +  "additionalProperties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / results
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "chain": {
      +        "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "description": "ISO 8601 pool-creation timestamp.",
      +        "type": "string"
      +      },
      +      "created_at_block_number": {
      +        "type": "number"
      +      },
      +      "dex_id": {
      +        "type": "string"
      +      },
      +      "dex_name": {
      +        "type": "string"
      +      },
      +      "fee": {
      +        "description": "Pool fee (units depend on DEX; null for some DEXes).",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Pool contract address.",
      +        "type": "string"
      +      },
      +      "last_price": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "last_price_usd": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "tokens": {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "added_at": {
      +              "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      +              "type": "string"
      +            },
      +            "chain": {
      +              "type": "string"
      +            },
      +            "decimals": {
      +              "type": "number"
      +            },
      +            "fdv": {
      +              "description": "Fully-diluted valuation in USD.",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "description": "Token contract address (chain-canonical form).",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "symbol": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed4 schema fields changedv2.3.2
    • changedInput schema / properties / order_by / description
      Previous value: -"OPTIONAL (deprecated alias of sort_by): Field to sort by"New value: +"OPTIONAL: alias of sort_by; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes order_by, so use this name when calling the REST API directly."
    • changedInput schema / properties / sort / description
      Previous value: -"OPTIONAL (deprecated alias of sort_dir): Sort direction"New value: +"OPTIONAL: alias of sort_dir; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes sort, so use this name when calling the REST API directly."
    • changedInput schema / properties / sort_by / description
      Previous value: -"OPTIONAL (preferred): Field to sort by (default: 'volume_usd')"New value: +"OPTIONAL (preferred): Field to sort by (default: 'volume_usd'). The REST API calls this parameter order_by."
    • changedInput schema / properties / sort_dir / description
      Previous value: -"OPTIONAL (preferred): Sort direction (default: 'desc')"New value: +"OPTIONAL (preferred): Sort direction (default: 'desc'). The REST API calls this parameter sort."
  5. Changed14 schema fields changedv1.0.1
    • changedInput schema / properties / dex / description
      Previous value: -"DEX identifier from getNetworkDexes (e.g., \"uniswap_v3\")"New value: +"REQUIRED: DEX identifier from getNetworkDexes (e.g., 'uniswap_v3')"
    • changedInput schema / properties / limit / description
      Previous value: -"Number of items per page (max 100)"New value: +"OPTIONAL: Number of items per page (default: 10, max: 100)"
    • changedInput schema / properties / network / description
      Previous value: -"Network ID from getNetworks (e.g., \"ethereum\", \"solana\")"New value: +"REQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')"
    • removedInput schema / properties / orderBy
      Removed value: -{
      -  "default": "volume_usd",
      -  "description": "Field to order by",
      -  "enum": [
      -    "volume_usd",
      -    "price_usd",
      -    "transactions",
      -    "last_price_change_usd_24h",
      -    "created_at"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / order_by
      Added value: +{
      +  "description": "OPTIONAL (deprecated alias of sort_by): Field to sort by",
      +  "enum": [
      +    "volume_usd",
      +    "price_usd",
      +    "transactions",
      +    "last_price_change_usd_24h",
      +    "created_at"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / page / default
      Previous value: -0New value: +1
    • changedInput schema / properties / page / description
      Previous value: -"Page number for pagination"New value: +"OPTIONAL: Page number for pagination (default: 1, 1-indexed)"
    • addedInput schema / properties / rationale
      Added value: +{
      +  "description": "REQUIRED. 1-2 sentence rationale for this call (e.g. \"User asked for X; calling Y to fetch Z\"). Logged for MCP improvement, never shown to end users. No PII or secrets. See the server `instructions` field for the full convention and worked examples.",
      +  "maxLength": 500,
      +  "minLength": 20,
      +  "type": "string"
      +}
    • removedInput schema / properties / sort / default
      Removed value: -"desc"
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order"New value: +"OPTIONAL (deprecated alias of sort_dir): Sort direction"
    • addedInput schema / properties / sort_by
      Added value: +{
      +  "description": "OPTIONAL (preferred): Field to sort by (default: 'volume_usd')",
      +  "enum": [
      +    "volume_usd",
      +    "price_usd",
      +    "transactions",
      +    "last_price_change_usd_24h",
      +    "created_at"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort_dir
      Added value: +{
      +  "description": "OPTIONAL (preferred): Sort direction (default: 'desc')",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "network",
      -  "dex"
      -]New value: +[
      +  "network",
      +  "dex",
      +  "rationale"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "page_info": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "limit": {
      +          "description": "Items per page in the request.",
      +          "type": "number"
      +        },
      +        "page": {
      +          "description": "Current page number (1-indexed).",
      +          "type": "number"
      +        },
      +        "total_items": {
      +          "description": "Total number of items across all pages.",
      +          "type": "number"
      +        },
      +        "total_pages": {
      +          "description": "Total number of pages available.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "pools": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "chain": {
      +            "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      +            "type": "string"
      +          },
      +          "created_at": {
      +            "description": "ISO 8601 pool-creation timestamp.",
      +            "type": "string"
      +          },
      +          "created_at_block_number": {
      +            "type": "number"
      +          },
      +          "dex_id": {
      +            "type": "string"
      +          },
      +          "dex_name": {
      +            "type": "string"
      +          },
      +          "fee": {
      +            "description": "Pool fee (units depend on DEX; null for some DEXes).",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Pool contract address.",
      +            "type": "string"
      +          },
      +          "last_price": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "last_price_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "tokens": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "added_at": {
      +                  "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      +                  "type": "string"
      +                },
      +                "chain": {
      +                  "type": "string"
      +                },
      +                "decimals": {
      +                  "type": "number"
      +                },
      +                "fdv": {
      +                  "description": "Fully-diluted valuation in USD.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Token contract address (chain-canonical form).",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "symbol": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  6. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations (which already declare readOnly/idempotent/non-destructive). It discloses the proxied REST endpoint, cursor pagination semantics (has_next_page + next_cursor), the auth asymmetry ('first page works without an API key; paging with cursor needs a key'), the removed endpoint/page behavior, and the deceptive empty-results failure mode. This is exactly the kind of non-obvious behavior that prevents silent wrong answers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and sibling differentiation are front-loaded and the dense middle is justified by genuinely tricky API behavior (dex_id vs dex_name, cursor vs page). It is long and somewhat redundant about the dex_name pitfall and the removed endpoint, keeping it from a 5, but nearly every sentence earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With an output schema present, the description needn't explain return values, and it correctly focuses on selection, prerequisites and pitfalls. Annotations cover the safety profile and the rich schema covers parameters, so nothing an agent needs to call this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already documents every parameter, alias, enum and default in detail, so the heavy lifting is done structurally. The description mainly restates this (defaults, aliases, the deleted page param) rather than adding syntax or format meaning the schema lacks. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource+scope: 'Get the pools belonging to one specific DEX on one network', with a concrete example (all Uniswap v3 pools on ethereum). It explicitly distinguishes itself from the sibling getNetworkPools ('a single exchange, not the whole chain'), so an agent can route without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use examples ('show me Raydium pools', 'top pairs on PancakeSwap'), names the alternative (getNetworkPools) it is narrower than, and states the prerequisite (get the dex id from getNetworkDexes or search first). It also carries a when-NOT warning: passing dex_name instead of dex_id yields an empty results[] rather than an error.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.