---
title: "List the latest visible or inferred trades across all pools."
method: GET
path: "/v1/analytics/trades"
tags: ["Analytics"]
---

# List the latest visible or inferred trades across all pools.

`GET /v1/analytics/trades`

## Request

- Base URL: `https://api.galaxyswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.galaxyswap.io/v1/analytics/trades`
- Auth: none declared
- TypeScript: <https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/docs/v1/analytics/trades/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `limit` union
  - integer
  - string

## Response `200`

Default Response

- object
  - `networkId` string, required
  - `contractAddress` string, required
  - `asOf` string, date-time, required
  - `trades` object[], required
    - `poolId` string, required
    - `poolType` 'shielded' | 'unshielded' | 'mixed' | 'stableUnshielded', required
    - `tokenA` string, required
    - `tokenB` string, required
    - `walletAddress` string, nullable, required
    - `walletAddressVisibility` 'public' | 'unavailable' | 'private', required
    - `feeBps` integer, required
    - `timestamp` string, date-time, required
    - `blockHeight` integer, required
    - `txId` string, required
    - `txHash` string, required
    - `amountTokenA` string, required
    - `amountTokenB` string, required
    - `feeTokenA` string, required
    - `feeTokenB` string, required
    - `inputToken` string, nullable, required
    - `outputToken` string, nullable, required
    - `visibility` 'public' | 'inferred', required

## Other responses

- `400`: Default Response

---

[API](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api.md) - [All operations](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/galaxyswap/apis/galaxyswap-backend-api/revisions/92312969b6ef?raw)
