---
title: "Check an asset for arbitrage between QX and QSwap, live and at full depth"
method: GET
path: "/v1/arbitrage"
---

# Check an asset for arbitrage between QX and QSwap, live and at full depth

`GET /v1/arbitrage`

## Request

- Base URL: `https://qmax.exchange/api`
- URL: `https://qmax.exchange/api/v1/arbitrage`
- Auth: none declared

Searches buy-on-one-market, sell-on-the-other loops after every venue fee and returns the most profitable size, or null. A snapshot: the two legs are separate transactions.

## Query parameters

- `asset` string, required
- `minProfitQu` number
- `minProfitPct` number
- `maxCostQu` number

## Response `200`

{ asset, checkedAt, bothMarkets, opportunity }

---

[API](https://skmtc.dev/qmax/apis/qmax-api.md) · [All operations](https://skmtc.dev/qmax/apis/qmax-api/llms.txt) · [OpenAPI document](https://skmtc.dev/qmax/apis/qmax-api/revisions/af70e2813a7a?raw)
