Skip to main content
Glama
coinpaprika

DexPaprika (CoinPaprika)

Official

getPoolTransactions

Read-onlyIdempotent

Fetch recent individual swap transactions for a specific pool, newest first, with time filters and pagination. Use it to inspect recent trades or raw transaction feeds.

Instructions

Get one pool's recent individual swap transactions, newest first, returned under 'transactions' (paginate with page, or a cursor). Read-only. Requires a Dev, Pro or Enterprise key since 30 September 2026: set DEXPAPRIKA_API_KEY to it and DEXPAPRIKA_API_BASE_URL to https://api-pro.dexpaprika.com. Keyless and free keys get 403 (DP403_PLAN_REQUIRED); getPoolDetails still gives the pool's 24h transaction counts and volume. These are per-trade records, not aggregated candles (use getPoolOHLCV) or a summary snapshot (use getPoolDetails). Use for 'recent trades on this pool', 'who swapped in the last hour', or 'raw transaction feed'. Params: network (required); pool_address (required); limit (default 10, max 100); page (default 1, up to 100 pages) or cursor (a transaction id); from (optional, inclusive: a relative offset such as '-1h', Unix seconds, RFC3339 or YYYY-MM-DD; capped to the last 7 days); to (optional, exclusive, same formats, must be after from).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoOPTIONAL: Filter transactions up to this time (exclusive), same formats as from. Must be after 'from'.
fromNoOPTIONAL: Filter transactions starting from this time (inclusive): a relative offset such as '-1h' or '-24h', Unix seconds, RFC3339 or YYYY-MM-DD. Results always capped to last 7 days.
pageNoOPTIONAL: Page number for pagination, up to 100 pages (default: 1, 1-indexed)
limitNoOPTIONAL: Number of items per page (default: 10, max: 100)
cursorNoOPTIONAL: Transaction ID used for cursor-based pagination
networkYesREQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')
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.
pool_addressYesREQUIRED: Pool address or identifier

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_infoYes
transactionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.7.1
    • changedInput schema / properties / from / description
      Previous value: -"OPTIONAL: Filter transactions starting from this UNIX timestamp (inclusive). Results always capped to last 7 days."New value: +"OPTIONAL: Filter transactions starting from this time (inclusive): a relative offset such as '-1h' or '-24h', Unix seconds, RFC3339 or YYYY-MM-DD. Results always capped to last 7 days."
    • changedInput schema / properties / from / type
      Previous value: -"number"New value: +"string"
    • changedInput schema / properties / to / description
      Previous value: -"OPTIONAL: Filter transactions up to this UNIX timestamp (exclusive). Must be after 'from'."New value: +"OPTIONAL: Filter transactions up to this time (exclusive), same formats as from. Must be after 'from'."
    • changedInput schema / properties / to / type
      Previous value: -"number"New value: +"string"
  2. Changed12 schema fields changedv1.0.1
    • changedInput schema / properties / cursor / description
      Previous value: -"Transaction ID used for cursor-based pagination"New value: +"OPTIONAL: Transaction ID used for cursor-based pagination"
    • addedInput schema / properties / from
      Added value: +{
      +  "description": "OPTIONAL: Filter transactions starting from this UNIX timestamp (inclusive). Results always capped to last 7 days.",
      +  "type": "number"
      +}
    • 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')"
    • changedInput schema / properties / page / default
      Previous value: -0New value: +1
    • changedInput schema / properties / page / description
      Previous value: -"Page number for pagination (up to 100 pages)"New value: +"OPTIONAL: Page number for pagination, up to 100 pages (default: 1, 1-indexed)"
    • removedInput schema / properties / poolAddress
      Removed value: -{
      -  "description": "Pool address or identifier",
      -  "type": "string"
      -}
    • addedInput schema / properties / pool_address
      Added value: +{
      +  "description": "REQUIRED: Pool address or identifier",
      +  "type": "string"
      +}
    • 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"
      +}
    • addedInput schema / properties / to
      Added value: +{
      +  "description": "OPTIONAL: Filter transactions up to this UNIX timestamp (exclusive). Must be after 'from'.",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "network",
      -  "poolAddress"
      -]New value: +[
      +  "network",
      +  "pool_address",
      +  "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"
      +    },
      +    "transactions": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "amount_usd": {
      +            "type": "number"
      +          },
      +          "block_number": {
      +            "type": "number"
      +          },
      +          "block_timestamp": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "pool_id": {
      +            "type": "string"
      +          },
      +          "token0": {},
      +          "token1": {}
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "transactions",
      +    "page_info"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the 403 DP403_PLAN_REQUIRED failure mode, required env vars and base URL, the 7-day history cap, and the page-vs-cursor pagination choice. This is unusually rich disclosure of auth and limit behavior.

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?

Front-loaded with purpose, then scope, then constraints; every sentence carries information. It is on the long side and the trailing params sentence partly duplicates the schema, costing a point but not readability.

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?

For an 8-parameter, auth-gated, paginated list tool with an output schema, the description covers access tier, failure mode, fallback, time-window limits, and sibling routing. Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description nonetheless adds the mutually exclusive page/cursor choice and restates the from/to inclusive/exclusive relationship and 7-day cap in one place. It does not explain the required 'rationale' parameter, which is the one semantic gap.

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 and resource ('Get one pool's recent individual swap transactions, newest first') and explicitly contrasts with getPoolOHLCV (candles) and getPoolDetails (summary snapshot). An agent can distinguish it from every sibling without opening a 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 ('recent trades on this pool', 'who swapped in the last hour', 'raw transaction feed') and names the alternatives to use for other needs. Also states the prerequisite (Dev/Pro/Enterprise key) and the exact fallback when access is denied.

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