> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coingecko.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Onchain Trades

> DEX trade history for a pool or token, plus a token's top traders.

export const OverviewFooter = ({api = "pro"}) => {
  const isDemo = api === "demo";
  return <>
      <hr />
      <CardGroup cols={2}>
        <Card title="Full endpoint list" icon="map" href={isDemo ? "/demo/reference/endpoint-overview" : "/reference/endpoint-overview"} horizontal arrow="true">
          Browse every endpoint in {isDemo ? "Demo" : "Pro"} API.
        </Card>
        <Card title="Build with AI" icon="robot" href="/ai-integration" horizontal arrow="true">
          Connect AI agents and integration.
        </Card>
      </CardGroup>
    </>;
};

| Endpoint                                                                                                         | Description            |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------- |
| [/onchain/networks/\{network}/pools<br />/\{pool\_address}/trades](/demo/reference/pool-trades-contract-address) | Trades by pool address |

<OverviewFooter api="demo" />
