---
title: "getGaslessTrades"
method: GET
path: "/trade-analytics/gasless"
tags: ["Trade Analytics"]
---

# getGaslessTrades

`GET /trade-analytics/gasless`

Get the list of completed gasless trades. Returns a maximum of 200 trades per request. Visit [here](https://docs.0x.org/docs/trade-analytics-api/introduction) for more details about how the API works.

## Query parameters

- `cursor` string
- `startTimestamp` integer
- `endTimestamp` integer

## Headers

- `0x-api-key` string, required
- `0x-version` string, required

## Response `200`

Successful response

- object
  - `nextCursor` string, nullable, required — The cursor to fetch the next page of trades. If not present, there are no more trades to fetch for given parameters.
  - `trades` object[], required
    - `appName` string, nullable, required — The name of the app that initiated the trade
    - `blockNumber` string, nullable, required — The block number at which the trade was executed
    - `buyToken` string, nullable, required — The contract address of the token received by the taker
    - `buyAmount` string, nullable, required — The settled amount on the `buyToken`, formatted by the token decimals
    - `chainId` integer, required — The ID of the chain where the trade was executed
    - `chainName` string, required — The name of the chain where the trade was executed
    - `fees` object, required — The details about fees collected for the trade
      - `integratorFee` object, nullable, required — The details about the fee collected by integrator
        - `token` string, nullable, required — The contract address of the token in which the integrator collected a fee
        - `amount` string, nullable, required — The amount of the integrator fee, formatted by the token decimals
        - `amountUsd` string, nullable, required — The amount of the integrator fee in USD.
        - `recipient` string, nullable, required — The wallet address that received the integrator fee
      - `integratorFees` object[], required — All integrator fees collected on the trade. May contain multiple entries when more than one integrator fee was charged.
        - `token` string, nullable, required — The contract address of the token in which the integrator collected a fee
        - `amount` string, nullable, required — The amount of the integrator fee, formatted by the token decimals
        - `amountUsd` string, nullable, required — The amount of the integrator fee in USD.
        - `recipient` string, nullable, required — The wallet address that received the integrator fee
      - `zeroExFee` object, nullable, required — The details about the fee collected by 0x
        - `token` string, nullable, required — The contract address of the token in which 0x collected a fee
        - `amount` string, nullable, required — The amount of the 0x fee, formatted by the token decimals
        - `amountUsd` string, nullable, required — The amount of the 0x fee in USD.
        - `recipient` string, nullable, required — The wallet address that received the 0x fee
    - `gasUsed` string, nullable, required — The amount of gas used in the trade
    - `protocolVersion` '0xv4' | 'Settler', nullable, required — The version of the 0x protocol used to execute the trade
    - `sellToken` string, nullable, required — The contract address of the token spent by the taker
    - `sellAmount` string, nullable, required — The amount of the `sellToken`, formatted by the token decimals
    - `slippageBps` string, nullable, required — The slippage of the `buyToken` in bps
    - `taker` string, nullable, required — The wallet address of the taker​
    - `timestamp` integer, required — The timestamp of the block containing the trade
    - `tokens` object[], required — Properties of the tokens involved in the trade
      - `address` string, nullable, required — The contract address of the token
      - `symbol` string, nullable, required — The symbol of the token
    - `tradeId` integer, required — Internal ID of the trade. Can be used together with `chainId`, `transactionHash`, and `zid` to uniquely identify a trade.
    - `transactionHash` string, required — The trade's transaction hash
    - `volumeUsd` string, nullable, required — The total volume of the trade in USD. This value is based on an estimate of the token price at the point of execution.
    - `zid` string, nullable, required — The `zid` corresponding to the trade
    - `service` 'gasless', required
  - `zid` string, required — The unique ZeroEx identifier of the request

## Other responses

- `400` — 400 error response
- `500` — 500 error response

---

[API](https://skmtc.net/0xproject/apis/0x-api.md) · [All operations](https://skmtc.net/0xproject/apis/0x-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/0xproject/0x-api/versions/27a84feeb09b/schema)
