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

# List a coin's trades

> Every buy and sell on pump.fun and PumpSwap, newest first. Trades are read from on-chain trade events as they land.



## OpenAPI

````yaml /api-reference/openapi.yaml get /api/tokens/{mint}/trades
openapi: 3.1.0
info:
  title: Veto API
  version: 1.0.0
  description: >-
    Public API behind veto.fun. Coins, payouts, wallets, launches, trades and
    vetoes.
servers:
  - url: https://api.veto.fun
    description: Production
  - url: http://localhost:4000
    description: Local development
security: []
tags:
  - name: Platform
  - name: Coins
  - name: Payouts
  - name: Veto
  - name: Launch and trade
paths:
  /api/tokens/{mint}/trades:
    get:
      tags:
        - Coins
      summary: List a coin's trades
      description: >-
        Every buy and sell on pump.fun and PumpSwap, newest first. Trades are
        read from on-chain trade events as they land.
      operationId: listTokenTrades
      parameters:
        - $ref: '#/components/parameters/Mint'
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
      responses:
        '200':
          description: Trades, newest first.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Trade'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    Mint:
      name: mint
      in: path
      required: true
      description: The coin's mint address.
      schema:
        type: string
  schemas:
    Trade:
      type: object
      required:
        - id
        - signature
        - ts
        - side
        - venue
        - trader
        - engine
        - tokenAmount
        - quoteAmount
        - priceUsd
        - priceSol
        - mcapUsd
        - mcapSol
        - volumeUsd
        - volumeSol
      properties:
        id:
          type: integer
        signature:
          type: string
        ts:
          type: integer
          description: Block time, unix milliseconds.
        side:
          type: string
          enum:
            - buy
            - sell
        venue:
          type: string
          enum:
            - curve
            - amm
          description: >-
            `curve` is the pump.fun bonding curve, `amm` is PumpSwap after
            graduation.
        trader:
          type: string
        engine:
          type: boolean
          description: >-
            True when the coin's own fee vault made the trade, as part of a
            buyback.
        tokenAmount:
          type: number
          description: Whole tokens.
        quoteAmount:
          type: number
          description: Amount in the pair asset.
        priceUsd:
          type: number
        priceSol:
          type: number
        mcapUsd:
          type: number
        mcapSol:
          type: number
        volumeUsd:
          type: number
        volumeSol:
          type: number
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: A message you can show to users as-is.
  responses:
    NotFound:
      description: Not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Token not found

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.