POST /v1/mirrors/batch

Add multiple mirrors with optional overrides.

post

Create up to 99 mirrors in a single request by providing an array of Mirror objects. Any addresses that are already mirrored will be skipped and not overwritten. The response may include a skipped array listing the addresses that were skipped because you were already mirroring them.

Authorizations
Body
Responses
200

Success

application/json
post
POST /v1/mirrors/batch HTTP/1.1
Host: api.odinbot.io
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 567

{
  "mirrors": [
    {
      "tradeSizeLamports": 1,
      "tradeSpeed": "Standard",
      "sellStrategy": "SellAll",
      "maxBuysPerMirrorPerHour": 3,
      "maxBuysPerMirrorPerDay": 3,
      "maxBuysPerTokenPerDay": 1,
      "maxBuysPerTokenPerWeek": 5,
      "allowPumpFun": true,
      "snipeLaunchpadLaunches": true,
      "launchpadLaunchSnipeTradeSizeSol": 0.2,
      "mevProtection": "Fastest",
      "degenMode": true,
      "allowBuys": true,
      "buyStrategy": "Constant",
      "ssMinBuy": 0.05,
      "ssPercent": 50,
      "ssMaxBuy": 2,
      "crossMirrorPrevention": true,
      "pfSlippage": 15,
      "buyExtraTipPct": 2,
      "sellExtraTipPct": 1,
      "minMcUsd": 1,
      "maxMcUsd": 1,
      "address": "text",
      "autoSellProfileKey": "text"
    }
  ]
}
{
  "message": "text",
  "skipped": [
    "text"
  ]
}

Last updated

Was this helpful?