Skip to main content
POST
/
api
/
v1
/
fees
/
trade-estimate
Trade fee estimate (legacy)
curl --request POST \
  --url https://api.vatic.trading/api/v1/fees/trade-estimate \
  --header 'Content-Type: application/json' \
  --data '
{
  "eventSlug": "btc-updown-5m-1744027500",
  "side": "BUY",
  "makingAmount": 100,
  "takingAmount": 200
}
'
{
  "now": "2025-04-07T12:00:00.000Z",
  "event": {
    "id": "512345",
    "slug": "btc-updown-5m-1744027500"
  },
  "feeConfig": {
    "hasTakerFees": true,
    "type": "crypto",
    "feeRate": 0.25,
    "exponent": 2,
    "makerRebate": "20%"
  },
  "side": "BUY",
  "inputs": {
    "makingAmount": 100,
    "makingAmountUnit": "usdc",
    "takingAmount": 200,
    "takingAmountUnit": "shares"
  },
  "averagePrice": 0.5,
  "fee": {
    "chargedIn": "shares",
    "feeEquivalent": 12.5,
    "feeInUsdcRaw": 6.25,
    "minFeeThresholdUsdc": 0.0001
  },
  "result": {
    "grossShares": 200,
    "netShares": 187.5
  }
}

Body

application/json
side
enum<string>
required
Available options:
BUY,
SELL
makingAmount
number
required

BUY: USDC you spend. SELL: shares you sell.

takingAmount
number
required

BUY: gross shares you receive. SELL: gross USDC you receive.

eventId
string

Polymarket event ID (provide this or eventSlug).

eventSlug
string

Polymarket event slug (provide this or eventId).

Response

Fee estimate result