API 参考文档 v1
获取 API Key 获取 Key

POST /v1/copy-trade/configs/{id}/resume

恢复跟单任务配置

启动(或重启)一条已暂停的配置(status=active)。 需要 copytrade:write scope。

所需 Scope: copytrade:write

路径参数

字段类型必填说明
idstring✓Config id returned by create or list.

请求头

字段类型必填说明
If-Matchstring✓ETag of the version you last read. 428 when missing, 412 when it has moved on.

响应

200 — OK

字段类型必填约束说明
dataobject✓Response payload.
data.idstring✓Config id. Use it in the path of later calls.
data.statusenum ("active" | "paused" | "deleted")✓What was asked for — see engine.sync_state for what the execution engine last confirmed.
data.versionnumber✓Optimistic-concurrency version. Send as the ETag/If-Match value on writes.
data.run_stateobject✓Task run state. Configs stored as strategy tasks (every config created since the TaskSpec migration, and migrated ones) report all three states; configs not yet migrated report running or stopped.
data.run_state.stateenum ("running" | "buy_paused" | "stopped")✓running: enabled; buy_paused: new buys paused, sells continue; stopped: disabled or deleted.
data.run_state.reasonstring | null✓Known buy-pause reasons: account, loss_streak, creator_limit, leader_token_limit, follow_count, buy_fail_streak, funding_low. Buys pause while sells and exits continue. For run-bound pauses, reopen to start a new run: follow, loss and creator counts reset; leader distinct-token counts persist, so raise the limit or disable that filter before reopening. Known stop reasons: low_balance, inactivity, loss_streak, creator_limit. Null means no recorded reason or user stop; unknown reasons are preserved.
data.read_onlyboolean✓True for archived configs or strategy configs using settings this API cannot express. Archived configs reject all configuration writes, including pause, resume and delete, with 409 task_read_only; GET and labels-only PATCH still work. For strategy configs, pause, resume, delete and labels-only PATCH still work, but any other PATCH, including name, returns 409 task_read_only; edit those settings in the app instead.
data.engineobject✓What the execution engine last confirmed. status is what you asked for; this is what the engine has applied.
data.engine.applied_versionnumber✓Config version the execution engine last acknowledged.
data.engine.sync_stateenum ("syncing" | "synced" | "failed")✓syncing: the engine has not confirmed this version yet. synced: it has. failed: the last attempt failed; see error_code.
data.engine.buy_entryenum ("open" | "closed")✓open: the engine is accepting new buys for this config. closed: it is not (paused, deleted, or not yet confirmed).
data.engine.warning_codestringThe config has taken effect. prior_buyers_unavailable means listed wallet history is still loading. prior_buyers_fast_unavailable means updates for some listed wallets are delayed. The task may miss purchases those wallets make just before the leader buys. This warning does not reject buys. prior_buyers_over_limit means the account exceeds the wallet limit on this chain. Purchases by wallets beyond the limit are not checked. prior_buyers_history_truncated means a listed wallet bought more than 5,000 distinct tokens inside the window. Only its most recent 5,000 are checked. The task keeps running.
data.engine.error_codestring | null✓Why the last engine sync failed. Null when sync_state is not failed.
data.engine.updated_atstring✓When the engine last reported this state, RFC 3339 UTC.
data.created_viaenum ("web" | "api")✓web if the config was created in the app, api if it was created through this API.
data.created_atstring✓When the config was created, RFC 3339 UTC.
data.updated_atstring✓When the config was last changed, RFC 3339 UTC.
data.deleted_atstring | null✓When the config was soft-deleted, RFC 3339 UTC. Null while it is active or paused.
data.labelsarray<string>✓The caller's own labels on this task, or an empty array if none are set. Replace them with PATCH (labels: string[]): at most 10 labels, each 1-24 characters after trimming, duplicates removed, the array replaces the whole set, null is rejected. Changing only labels does not require the config to be paused and does not change version or engine state.
data.kindenum ("copy_trade")✓Always copy_trade.
data.chainenum ("bsc" | "robinhood" | "solana" | "arc") | string✓Chain this config runs on. Documented values are bsc/robinhood/solana/arc; a config stored on any other chain (created outside this API, e.g. by the Web app) is still reported verbatim rather than rejected.
data.wallet_idstring✓First entry of wallet_ids, kept for callers that only know a single wallet. Use wallet_ids for the complete list. Immutable once created.
data.wallet_idsarray<string>✓Every custodial wallet that executes this config, in stored order. A config created with the app may have several. Immutable once created.
data.namestringCaller-assigned label for the config.
data.slippage_pctstring✓Task-level slippage percentage. "1" = 1%. Also the sell-side value unless sell is returned. In tiers mode, buy slippage comes from buy.tiers[].gas.slippage_pct.
data.gasobject✓Task gas settings. In tiers mode, set buy priority fees and landing tips, including high-tip values, in buy.tiers[].gas; the one exception is high_tip.priority_fee and high_tip.landing_fee sent with the PATCH that turns high_tip.enabled on without a buy.tiers table, which seed every tier. Use sell.gas for sell fees. anti_mev, high_tip.enabled and any supported task-level auto_gas remain task settings.
data.gas.priority_feestringPriority fee as a decimal string: SOL on Solana, Gwei on EVM chains. BSC defaults to the tip lane on at 0.05 gwei with a 0.0005 BNB landing fee. Solana defaults to 0.002 SOL for buys and 0.001 SOL for sells, each with a 0.001 SOL landing fee (totals of 0.003 and 0.002 SOL, as for new tasks in the web app), so a task created without gas returns its sell side under sell. In gas and sell.gas, creating a task with priority_fee and no effective high_tip.enabled turns the tip lane off. In gas, sell.gas and follow_sell.gas, priority_fee also sets high_tip.priority_fee unless the request gives its own, so it reaches every route.
data.gas.landing_feestringLanding tip in the native currency (SOL on Solana). Omit to retain the chain default. When the effective Solana fee mode is manual, the priority fee and this tip are used on every landing route without a per-route split; the tip is charged only when the trade succeeds, and some routes do not pass it to the block producer, so only the priority fee ranks there. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In auto mode, use the total fee budget to read these tiers.
data.gas.auto_gasbooleanAutomatic gas estimation. Arc defaults to true; set false to use priority_fee.
data.gas.high_tipobjectAlternative high-tip fee lane. Enabling this lane is unsupported on Robinhood and Arc.
data.gas.high_tip.enabledbooleanEnable the alternative high-tip fee lane where the execution route supports it. BSC defaults to enabled at 0.05 gwei with a 0.0005 BNB landing fee. For ordinary buys and sells, explicit gas.priority_fee without high_tip.enabled disables this lane on create. PATCH omission keeps the current value. On Solana this is the manual mode's dual lane; auto fee mode is buy_fee_auto / sell_fee_auto.
data.gas.high_tip.priority_feestringPriority fee for the high-tip lane; same unit as gas.priority_fee. In gas, sell.gas and follow_sell.gas, the lane takes the ordinary priority_fee from the same request when its own priority_fee is omitted.
data.gas.high_tip.landing_feestringLanding tip for the high-tip lane in native currency. BSC defaults to 0.0005 BNB at 0.05 gwei; when the lane is on, BSC private routes pay it to the block builder on fill. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In Solana manual mode, use the higher of the normal and high-tip values to read these tiers.
data.gas.anti_mevbooleanSend the transaction through a private anti-MEV route. Omit to use the chain default (on for bsc, off for robinhood/solana/arc). On Solana, Anti-MEV fills are slower than normal mode. Below 0.000001 SOL the executor rejects the order with LANDING_FEE_TOO_LOW. From that minimum up to (but below) 0.0001 SOL, only a very few Anti-MEV routes take it. Past your slippage the transaction is dropped and shows as not filled, still with a small on-chain fee. Raise the tip, widen slippage or turn off Anti-MEV.
data.sellobjectSell-side values, returned only when they differ from the top-level slippage_pct / gas (which show the buy side). Omitted when buy and sell are the same.
data.sell.slippage_pctstring✓Stored sell-side max slippage. "1" = 1%. Only Flash Sell, Dev Sell and Migration Sell use it; the other automatic sells, including sales triggered by a confirmed earlier buy from a listed wallet (forward copy trades only), are sent at maximum slippage (see the request field sell.slippage_pct).
data.sell.gasobject✓Stored sell-side gas settings.
data.sell.gas.priority_feestringPriority fee as a decimal string: SOL on Solana, Gwei on EVM chains. BSC defaults to the tip lane on at 0.05 gwei with a 0.0005 BNB landing fee. Solana defaults to 0.002 SOL for buys and 0.001 SOL for sells, each with a 0.001 SOL landing fee (totals of 0.003 and 0.002 SOL, as for new tasks in the web app), so a task created without gas returns its sell side under sell. In gas and sell.gas, creating a task with priority_fee and no effective high_tip.enabled turns the tip lane off. In gas, sell.gas and follow_sell.gas, priority_fee also sets high_tip.priority_fee unless the request gives its own, so it reaches every route.
data.sell.gas.landing_feestringLanding tip in the native currency (SOL on Solana). Omit to retain the chain default. When the effective Solana fee mode is manual, the priority fee and this tip are used on every landing route without a per-route split; the tip is charged only when the trade succeeds, and some routes do not pass it to the block producer, so only the priority fee ranks there. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In auto mode, use the total fee budget to read these tiers.
data.sell.gas.auto_gasbooleanAutomatic gas estimation. Arc defaults to true; set false to use priority_fee.
data.sell.gas.high_tipobjectAlternative high-tip fee lane. Enabling this lane is unsupported on Robinhood and Arc.
data.sell.gas.high_tip.enabledbooleanEnable the alternative high-tip fee lane where the execution route supports it. BSC defaults to enabled at 0.05 gwei with a 0.0005 BNB landing fee. For ordinary buys and sells, explicit gas.priority_fee without high_tip.enabled disables this lane on create. PATCH omission keeps the current value. On Solana this is the manual mode's dual lane; auto fee mode is buy_fee_auto / sell_fee_auto.
data.sell.gas.high_tip.priority_feestringPriority fee for the high-tip lane; same unit as gas.priority_fee. In gas, sell.gas and follow_sell.gas, the lane takes the ordinary priority_fee from the same request when its own priority_fee is omitted.
data.sell.gas.high_tip.landing_feestringLanding tip for the high-tip lane in native currency. BSC defaults to 0.0005 BNB at 0.05 gwei; when the lane is on, BSC private routes pay it to the block builder on fill. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In Solana manual mode, use the higher of the normal and high-tip values to read these tiers.
data.sell.gas.anti_mevbooleanSend the transaction through a private anti-MEV route. Omit to use the chain default (on for bsc, off for robinhood/solana/arc). On Solana, Anti-MEV fills are slower than normal mode. Below 0.000001 SOL the executor rejects the order with LANDING_FEE_TOO_LOW. From that minimum up to (but below) 0.0001 SOL, only a very few Anti-MEV routes take it. Past your slippage the transaction is dropped and shows as not filled, still with a small on-chain fee. Raise the tip, widen slippage or turn off Anti-MEV.
data.exitobject✓Automatic exit rules currently stored on this config.
data.exit.take_profitarray<object>✓Up to 20 take-profit levels. Each sells sell_pct of the position when price is up gain_pct. An expired entry stops applying and does not sell.
data.exit.take_profit[].amount_basisenum ("initial" | "remaining")Use the bought amount (default) or the amount remaining at trigger time.
data.exit.take_profit[].gain_pctstring✓Price rise that triggers this take-profit. "1" = 1%.
data.exit.take_profit[].sell_pctstring✓Share of the position to sell when gain_pct is reached. "1" = 1%. If what would be left after the sell is worth less than the task minimum sell amount (default $1) or less than that sell's own priority fee and tip, whichever is higher, the remainder is sold too.
data.exit.take_profit[].expires_in_secinteger✓How long this entry stays armed, in seconds. Default 259200 (3 days). After that it stops applying and does not sell.
data.exit.segmented_take_profitobject✓Segmented take-profit. Segments run in order, their rises add up from the buy price, and each has its own lifetime and timeout sell. Lifetimes are milliseconds.
data.exit.segmented_take_profit.enabledboolean✓Whether segmented take-profit is active. Turning it off keeps the saved segments. At least one segment is required when this is true. Disable with enabled=false, never with null.
data.exit.segmented_take_profit.amount_basisenum ("initial" | "remaining")Use the bought amount (default) or the amount remaining at trigger time.
data.exit.segmented_take_profit.segmentsarray<object>✓Up to 20 segments, run in order: only the current segment waits, and the next one starts after its sell fills. The last segment repeats until the position is sold. They are reported even while enabled is false, so an edit returns them unchanged.
data.exit.segmented_take_profit.segments[].gain_pctstring✓Rise of this segment, added to the rises of the segments before it, as a percent of the buy price: segment n triggers at buy price × (1 + the gain_pct of segments 1 to n). "1" = 1%.
data.exit.segmented_take_profit.segments[].sell_pctstring✓Share of the group’s selected amount basis to sell when price reaches this segment's trigger price. Capped at what is left. "1" = 1%. If what would be left after the sell is worth less than the task minimum sell amount (default $1) or less than that sell's own priority fee and tip, whichever is higher, the remainder is sold too.
data.exit.segmented_take_profit.segments[].expires_in_msinteger✓Lifetime of this segment in milliseconds. Omit or set 0 for no timeout; PATCH replaces the segments array, so an omitted lifetime in a replacement segment resets to 0. The first segment's lifetime starts when the buy is sent; each later segment's starts when the previous segment ends. When a positive lifetime runs out before the trigger price is reached and timeout_sell is enabled, timeout_sell.sell_pct is sold. This is not take_profit: an expired take_profit entry simply stops applying.
data.exit.segmented_take_profit.segments[].timeout_sellobject✓Sell that fires when this segment expires before its trigger price.
data.exit.segmented_take_profit.segments[].timeout_sell.enabledboolean✓Sell when this segment's lifetime runs out before its trigger price is reached.
data.exit.segmented_take_profit.segments[].timeout_sell.sell_pctstring✓Share of the group’s selected amount basis to sell on timeout. Capped at what is left. "1" = 1%. Default "100".
data.exit.stop_lossobject | object✓Stop-loss. When it is off, the object is only {enabled:false}.
data.exit.trailingobject | object✓Trailing stop. When it is off, the object is only {enabled:false}.
data.exit.timed_sellobject | object✓Timed sell. When it is off, the object is only {enabled:false}.
data.exit.dev_sellobject✓Whether this config sells the same fraction the token developer sold. The full-exit threshold is not on this API; the stored default is the developer selling their entire balance.
data.exit.dev_sell.enabledbooleandefault: falseWhether this option is on. Turn an object option off with enabled=false, never with null.
data.exit.migration_sellobject✓On Robinhood, BSC and Solana Cell tasks, sell the configured share after a token migrates to an AMM, once per task, wallet and token. Applies only to positions bought on the bonding curve while enabled; uses the task sell settings. Arc accepts and stores this rule without execution: Arc launchpads (Argus, O1, Pools) issue directly on AMMs with no migration event.
data.exit.migration_sell.enabledbooleandefault: falseWhether this option is on. Turn an object option off with enabled=false, never with null.
data.exit.migration_sell.sell_pctstring✓Share of the remaining position to sell on migration, from 0.01 to 100 percent. "1" = 1%. Default "100". If what would be left after the sell is worth less than the task minimum sell amount (default $1) or less than that sell's own priority fee and tip, whichever is higher, the remainder is sold too.
data.exit.anti_wickbooleandefault: falseAnti-wick. Off (absent or false): on Solana, ordinary take profit, stop loss and the limit buys of the same strategy trigger as soon as a qualifying trade touches the trigger price and then sell or buy at market (trades that do not count: https://apm.fun/docs/copy-trading/strategy-settings#anti-wick), so the fill can differ from the trigger price. A limit buy is not triggered by single trades in the block it was placed in. On: they trigger only if the price still meets the condition at the end of the block (Solana slot), ignoring brief spikes and dips inside it. Segmented take profit, trailing and break-even stops and conditional exits always trigger on the end-of-block price, either way. No effect on BSC and Robinhood. Not an exit by itself: exits still need at least one exit.
data.leadersarray<object>✓Leaders this config copies. Ordinary wallet leaders can be replaced with PATCH while paused and synced. Each entry includes resolved_wallet, the address it follows.
data.leaders[].sourceenum ("wallet" | "fomo")✓wallet: copy an address. fomo: copy one FOMO handle. A fomo leader must be the only leader on the config.
data.leaders[].refstring✓minLength: 1, maxLength: 128For source wallet, a Solana base58 address or an EVM address on the selected chain. For source fomo, a handle (letters, digits, "_", ".", "-"; optional leading "@"). A wallet cannot follow itself, and the same wallet cannot be listed twice. EVM wallet leaders with publicly known private keys (the 20 default Hardhat/Anvil accounts) are rejected.
data.leaders[].resolved_walletstring✓Read-only. The address this leader entry resolves to.
data.buyobject✓How much to buy when a leader buys.
data.buy.modeenum ("fixed" | "ratio" | "copy" | "dynamic" | "tiers")✓fixed spends amount of the native token each buy (amount is required). ratio multiplies the leader amount by ratio ("1" = the same size). copy mirrors the leader native amount and rejects amount and ratio. dynamic buys max_per_trade minus the leader buy amount converted to native tokens. A zero result or a leader buy at or above the cap rejects with buy_dynamic_cap_reached. tiers sizes each buy using the first matching entry in tiers. Default ratio.
data.buy.amountstringNative-token amount per buy. Required when mode is fixed. Decimal string, up to 18 decimal places.
data.buy.ratiostringMultiplier of the leader amount when mode is ratio. "1" = the same size. Up to 4 decimal places, maximum "100".
data.buy.max_per_tradestringCap on one buy, in the native token. Required in dynamic mode. Decimal string.
data.buy.tiersarray<object>Required in tiers mode for forward copy buys. Supply 1 to 10 tiers in match order; the first matching tier wins and both USD bounds are inclusive. Each tier supplies its own sizing, fees and slippage. Selection uses the leader buy fill market cap. EVM Speed first uses the resident market cap before the leader’s buy if the fill has not landed. A buy with no match is rejected as buy_tier_no_match. If the market cap is unavailable, Speed first rejects as buy_tier_market_cap_unknown and Price protection reads once more before rejecting with the same code. PATCH replaces the entire array when supplied and clears it when switching to another mode.
data.buy.tiers[].market_capobjectLeader buy fill market cap window. A tier without either bound is a fallback and can only be last.
data.buy.tiers[].market_cap.min_usdstringInclusive lower bound in USD. Omit or send "0" for no lower bound.
data.buy.tiers[].market_cap.max_usdstringInclusive upper bound in USD. Omit or send "0" for no upper bound.
data.buy.tiers[].modeenum ("fixed" | "ratio" | "dynamic")✓fixed uses amount. ratio uses ratio and can cap it with max_per_trade. dynamic buys max_per_trade minus the leader buy amount converted to native tokens.
data.buy.tiers[].amountstringNative-token amount for this tier, required in fixed mode.
data.buy.tiers[].ratiostringLeader buy size multiplier for this tier, required in ratio mode. "1" = the same size.
data.buy.tiers[].max_per_tradestringNative-token cap, required for dynamic and optional for ratio.
data.buy.tiers[].gasobject✓Complete buy fees and slippage for this tier. Each tier supplies its own values. Anti-MEV and the high-tip switch are set on the task.
data.buy.tiers[].gas.slippage_pctstring✓Buy slippage for this fee lane. "1" = 1%.
data.buy.tiers[].gas.priority_feestring✓Priority fee as a decimal string in SOL on Solana or Gwei on EVM.
data.buy.tiers[].gas.landing_feestring✓Landing tip as a decimal string in the native token. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings.
data.buy.tiers[].gas.auto_gasbooleanAutomatic gas estimation on EVM. On Solana use buy_fee_auto.
data.buy.tiers[].gas.high_tipobjectThis tier’s high-tip slippage, priority fee and landing tip. Required on every tier when task gas.high_tip.enabled is true, and must be omitted otherwise.
data.buy.tiers[].gas.high_tip.slippage_pctstring✓Buy slippage for this fee lane. "1" = 1%.
data.buy.tiers[].gas.high_tip.priority_feestring✓Priority fee as a decimal string in SOL on Solana or Gwei on EVM.
data.buy.tiers[].gas.high_tip.landing_feestring✓Landing tip as a decimal string in the native token. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings.
data.buy.tiers[].buy_fee_autobooleanSolana only. Use automatic fee splitting for this tier when the task high-tip lane is off. Read tip tiers using the combined priority fee and tip budget.
data.buy.tiers[].buy_fee_tip_firstbooleanSolana only. Use tip-first splitting for this tier in automatic fee mode.
data.buy.tiers[].buy_fee_tip_first_minbooleanSolana only. Stored for compatibility and has no execution effect.
data.buy.tiers[].buy_landing_fee_bpsintegerSolana only. Budget for the two fees combined, in basis points of this buy’s SOL principal. A positive ratio requires auto fees with the task high-tip lane off. Omit or use 0 for fixed fees.
data.buy.tiers[].buy_landing_fee_minstringMinimum total automatic landing fee in SOL. Requires buy_landing_fee_bps.
data.buy.tiers[].buy_landing_fee_maxstringMaximum total automatic landing fee in SOL. Requires buy_landing_fee_bps. Omit or send "0" for no cap.
data.buy.tiers[].buy_slippage_solnumberSolana only. Amount of SOL bought ahead of this tier’s buy, measured from the pool after the leader fill. Minimum 0.1 SOL, at most 9 decimals. Replaces percentage slippage on both fee lanes.
data.buy.delay_msintegerWait this many milliseconds after a copy signal before buying, an integer from 0 to 86400000 (24 hours). 0 means no delay and is not echoed back; responses include delay_ms only when it is above 0. Omit to leave unset on create and unchanged on PATCH.
data.dedupeobject✓Skip repeat buys of a token.
data.dedupe.first_buy_onlybooleandefault: falseOnly copy a leader's first buy of a token within first_buy_window_minutes (360 minutes when omitted). A later buy outside the window can add to an existing position; set block_if_held to skip tokens this wallet already holds.
data.dedupe.first_buy_window_minutesintegermin: 0, max: 720First-buy lookback in whole minutes, 0–720. Omit for the executor default of 360 minutes. 0 ignores the leader's buy history but still blocks another copy while the first is in flight. Reverse tasks do not use this window.
data.dedupe.block_if_heldbooleandefault: falseSkip the buy when this wallet already holds the token.
data.group_followobject✓Whether all leader wallets are treated as one portfolio for stateful buy filters and for copy sells when follow_sell.scope is bundle.
data.group_follow.enabledbooleandefault: falseWhether this option is on. Turn an object option off with enabled=false, never with null.
data.reverse_buyobject✓Buy on Sell: buy when the leader sells; their buys are ignored, and their sells are not copied (follow_sell has no effect while this is on). Exit with take-profit, stop-loss or other sell settings.
data.reverse_buy.enabledboolean✓Whether this option is on. Turn an object option off with enabled=false, never with null.
data.reverse_buy.min_leader_sell_pctstringOnly for Buy on Sell (reverse_buy). Buy only when the leader sale reaches at least this share of the leader position before the sale. "1" = 1%, up to 2 decimal places, maximum "100". Omit or "0" for no limit. On solana the share is computed over the target token accounts involved in the transaction. A non-zero value is rejected while enabled is false; PATCH that turns reverse_buy off clears the stored value.
data.reverse_buy.min_leader_first_buystringInclusive minimum for the leader wallet’s first buy in the sold token’s current holding round. Decimal string in SOL, BNB or ETH. Omit or use "0" for no lower bound. A positive value requires reverse_buy.enabled. Unknown first-buy amounts skip entry.
data.reverse_buy.max_leader_first_buystringInclusive maximum for the leader wallet’s first buy in the sold token’s current holding round. Decimal string in SOL, BNB or ETH. Omit or use "0" for no upper bound. A positive value requires reverse_buy.enabled and must be at least the minimum.
data.filtersobjectForward copy-buy filters.
data.filters.prior_buyer_blacklistobjectWallets to check for earlier purchases and the lookback before each leader buy.
data.filters.prior_buyer_blacklist.sell_on_late_discoverybooleanWhether to sell this buy if a listed wallet is later confirmed to have bought before the leader.
data.filters.prior_buyer_blacklist.addressesarray<string>✓Wallets checked for purchases before the leader buy.
data.filters.prior_buyer_blacklist.window_secnumber✓Stored lookback before each leader buy, in seconds. For each listed wallet, the task looks back over the window you set or the last 5,000 distinct tokens it bought, whichever comes first.
data.buy_filterobject✓Conditions that skip a leader buy.
data.buy_filter.amountobjectdefault: {}Only copy leader buys whose native-token size falls inside this window.
data.buy_filter.amount.enabledbooleandefault: falseApply the leader buy-size window. When true, min or max is required.
data.buy_filter.amount.minstringSmallest leader buy to copy, in the native token. When reverse_buy.enabled is true, this is the minimum native-token amount the leader receives from this sell. Decimal string. Zero is allowed.
data.buy_filter.amount.maxstringLargest leader buy to copy, in the native token. When reverse_buy.enabled is true, this is the maximum native-token amount the leader receives from this sell. Decimal string. Zero is allowed.
data.buy_filter.market_capobjectdefault: {}Only copy buys of tokens inside this USD market-cap window.
data.buy_filter.market_cap.enabledbooleandefault: falseApply the market-cap window. When true, min_usd or max_usd is required.
data.buy_filter.market_cap.min_usdstringSmallest token market cap to copy, in USD. Decimal string, up to 2 decimal places.
data.buy_filter.market_cap.max_usdstringLargest token market cap to copy, in USD. Decimal string, up to 2 decimal places.
data.buy_filter.dexobjectdefault: {}Restrict copied buys to selected DEXes.
data.buy_filter.dex.enabledbooleandefault: falseOnly copy buys on the DEXes in allowed. An enabled filter with an empty list is rejected, because it would block every buy.
data.buy_filter.dex.allowedarray<string>maxItems: 32DEX allowlist. On Solana, Pump has normal/Mayhem/Cashback children: pumpfun-normal/pumpfun-mayhem/pumpfun-cashback. Select venues pumpfun/pumpfun-amm plus allowed modes; no modes means all. Both flags require both modes; direct PumpSwap pools are normal. Pre-change lists containing pumpfun-mayhem without pumpfun-normal or pumpfun-cashback now mean Mayhem only; existing tasks are migrated. Mode values without either Pump venue imply both Pump venues. Other Solana venues: raydium-amm, raydium-clmm, raydium-cpmm, raydium-launchpad, pancakeswap-clmm, orca-whirlpool, meteora-dbc, meteora-dlmm, meteora-damm, meteora-damm-v2; other covers missing or unknown venue identities. Solana matches the venue where the leader bought the token: selecting only Pump does not copy buys on Pump AMM after graduation. DEX filtering applies only to buys; already-held tokens can still be sold after graduation. Quote classes use quote_class_filter; stocks OR cashback requires two tasks. At most 32. Required when enabled is true. While enabled is false the list is not applied and responses show the chain's full current DEX list, so a PATCH that only sets enabled to true starts from that full list.
data.buy_filter.token_blacklistobjectdefault: {}Token blacklist.
data.buy_filter.token_blacklist.enabledbooleandefault: falseNever buy the tokens in addresses. addresses is required when this is true.
data.buy_filter.token_blacklist.addressesarray<string>maxItems: 500Token addresses to skip. At most 500.
data.buy_filter.per_token_buy_limitobjectdefault: {}Maximum buys of one token per leader, shared across leaders in Grouped Copy. Sell monitoring is unaffected.
data.buy_filter.per_token_buy_limit.enabledbooleandefault: falseApply limit. limit is required when this is true.
data.buy_filter.per_token_buy_limit.limitintegermin: 1, max: 100000Positive integer cap, at most 100000.
data.buy_filter.per_token_buy_limit.count_failedbooleandefault: falseCount each sent follow buy once even if it reverts, never lands or its broadcast fails. Signals filtered before sending never count. By default a failed buy frees its slot.
data.buy_filter.fail_guardobjectConsecutive broadcast buy failures, including slippage. Disabled by default; initial threshold is four failures in 3600 seconds.
data.buy_filter.fail_guard.enabledboolean✓Whether consecutive broadcast buy failures pause buying. Slippage failures count. Defaults to off.
data.buy_filter.fail_guard.countinteger✓min: 1, max: 100Consecutive failed broadcast buys required to pause buying (1 to 100).
data.buy_filter.fail_guard.within_secinteger✓min: 60, max: 86400Rolling window in seconds, from 60 to 86400 in whole minutes.
data.buy_filter.stop_after_followsobjectOn Solana, BSC and Robinhood, pause new buys after count distinct leader transactions produce positive buy fills in this run. Multiple wallets following one transaction count once. Reverse copies and later fills of leader-triggered strategy limits count. Manual buys, manual limits and snipes do not. The task stays enabled and sells continue. Checks occur at signal intake and before sending. In-flight orders can overshoot: even with count=1, two buys can fill. Re-enabling starts at zero; a same-run executor restart preserves the count.
data.buy_filter.stop_after_follows.enabledbooleandefault: falseWhether this option is on. Turn an object option off with enabled=false, never with null.
data.buy_filter.stop_after_follows.countintegermin: -9007199254740991, max: 9007199254740991Positive number of successfully followed leader transactions. Required when enabled. Disabling clears the threshold.
data.buy_filter.per_leader_token_limitobjectdefault: {}Maximum distinct tokens to buy per leader. When every leader on every wallet reaches the cap for every buy entry, pause buys (run_state: buy_paused, reason: leader_token_limit); sells and exits continue. Counts persist across reopening: raise the limit or turn off this filter, then reopen. Otherwise the task pauses again.
data.buy_filter.per_leader_token_limit.enabledbooleandefault: falseApply limit. limit is required when this is true.
data.buy_filter.per_leader_token_limit.limitintegermin: 1, max: 100000Positive integer cap, at most 100000.
data.buy_filter.quick_sell_banobjectdefault: {}Temporarily stop copying a leader who dumps right after a buy this task copied and filled.
data.buy_filter.quick_sell_ban.enabledbooleandefault: falseBan a leader who sells too soon after a buy this task copied and filled. threshold_sec and ban_sec are required when this is true.
data.buy_filter.quick_sell_ban.threshold_secintegermin: 1, max: 86400A leader who sells within this many seconds of a buy this task copied and filled is banned; skipped or unfilled copies do not count. At most 86400.
data.buy_filter.quick_sell_ban.ban_secintegermin: 1, max: 2592000How long the ban lasts, in seconds. At most 30 days.
data.buy_filter.token_ageobjectdefault: {}Only copy buys of tokens whose age (seconds since first pool or launch) falls inside this window. 0 on either side means no limit on that side; when both are set, max_sec must be greater than min_sec. Supported on bsc, robinhood, arc and solana. On solana the age counts from the token's launchpad creation only, and a token with no launch record counts as older than any limit (it passes min_sec and fails max_sec). A buy whose token birth cannot be found is skipped.
data.buy_filter.token_age.enabledbooleandefault: falseApply the token-age window. When true, min_sec or max_sec is required.
data.buy_filter.token_age.min_secintegermin: 0, max: 31536000Minimum token age to copy, in whole seconds since the token's first pool or launch. 0 is allowed. Maximum 31536000 (1 year).
data.buy_filter.token_age.max_secintegermin: 0, max: 31536000Maximum token age to copy, in whole seconds since the token's first pool or launch. 0 is allowed. Maximum 31536000 (1 year).
data.buy_filter.rug_leader_banobjectdefault: {}Stop copying a leader whose buys keep ending in pulled liquidity.
data.buy_filter.rug_leader_ban.enabledbooleandefault: falseStop following a leader once its buys have led this config into pools whose liquidity was later pulled (rug pulls) threshold times. Turning it off resets the counts. Supported on bsc, robinhood, arc and solana.
data.buy_filter.rug_leader_ban.thresholdintegermin: 1, max: 10Number of rug pulls that bans a leader, an integer from 1 to 10. When omitted the execution engine uses 1. PATCH keeps the stored value when omitted, including while enabled is false.
data.follow_sellobject✓How to sell when a leader sells. No effect while reverse_buy.enabled is true.
data.follow_sell.gasobjectGas for sells triggered by a followed wallet, including transfer_out. Copy sells use maximum slippage. Each supplied field overrides the same field in sell.gas, then top-level gas. Unspecified fields inherit, including high_tip.enabled. A supplied priority_fee also sets high_tip.priority_fee unless the same request gives its own; otherwise high_tip.priority_fee inherits. BSC, Solana and Robinhood reject an explicit auto_gas, including false. Robinhood uses automatic ordinary gas and rejects high_tip.enabled=true because its routes have no high-tip provider. Other exits and manual sells keep their ordinary sell gas. The same priority_fee rule applies on PATCH; other unsent fields keep their values. Send gas: null to inherit all sell settings again.
data.follow_sell.gas.priority_feestringPriority fee as a decimal string: SOL on Solana, Gwei on EVM chains. BSC defaults to the tip lane on at 0.05 gwei with a 0.0005 BNB landing fee. Solana defaults to 0.002 SOL for buys and 0.001 SOL for sells, each with a 0.001 SOL landing fee (totals of 0.003 and 0.002 SOL, as for new tasks in the web app), so a task created without gas returns its sell side under sell. In gas and sell.gas, creating a task with priority_fee and no effective high_tip.enabled turns the tip lane off. In gas, sell.gas and follow_sell.gas, priority_fee also sets high_tip.priority_fee unless the request gives its own, so it reaches every route.
data.follow_sell.gas.landing_feestringLanding tip in the native currency (SOL on Solana). Omit to retain the chain default. When the effective Solana fee mode is manual, the priority fee and this tip are used on every landing route without a per-route split; the tip is charged only when the trade succeeds, and some routes do not pass it to the block producer, so only the priority fee ranks there. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In auto mode, use the total fee budget to read these tiers.
data.follow_sell.gas.auto_gasbooleanAutomatic gas estimation. Arc defaults to true; set false to use priority_fee.
data.follow_sell.gas.high_tipobjectAlternative high-tip fee lane. Enabling this lane is unsupported on Robinhood and Arc.
data.follow_sell.gas.high_tip.enabledbooleanEnable the alternative high-tip fee lane where the execution route supports it. BSC defaults to enabled at 0.05 gwei with a 0.0005 BNB landing fee. For ordinary buys and sells, explicit gas.priority_fee without high_tip.enabled disables this lane on create. PATCH omission keeps the current value. On Solana this is the manual mode's dual lane; auto fee mode is buy_fee_auto / sell_fee_auto.
data.follow_sell.gas.high_tip.priority_feestringPriority fee for the high-tip lane; same unit as gas.priority_fee. In gas, sell.gas and follow_sell.gas, the lane takes the ordinary priority_fee from the same request when its own priority_fee is omitted.
data.follow_sell.gas.high_tip.landing_feestringLanding tip for the high-tip lane in native currency. BSC defaults to 0.0005 BNB at 0.05 gwei; when the lane is on, BSC private routes pay it to the block builder on fill. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings. In Solana manual mode, use the higher of the normal and high-tip values to read these tiers.
data.follow_sell.gas.anti_mevbooleanSend the transaction through a private anti-MEV route. Omit to use the chain default (on for bsc, off for robinhood/solana/arc). On Solana, Anti-MEV fills are slower than normal mode. Below 0.000001 SOL the executor rejects the order with LANDING_FEE_TOO_LOW. From that minimum up to (but below) 0.0001 SOL, only a very few Anti-MEV routes take it. Past your slippage the transaction is dropped and shows as not filled, still with a small on-chain fee. Raise the tip, widen slippage or turn off Anti-MEV.
data.follow_sell.enabledbooleandefault: trueCopy the leader's sells. Default true.
data.follow_sell.modeenum ("proportional" | "sell_all")default: "proportional"proportional matches the fraction sold by the leader under the selected scope. sell_all sells your whole corresponding position on the first eligible leader sale. Default proportional.
data.follow_sell.scopeenum ("bundle" | "buyer")default: "bundle"For grouped copy, bundle (default) follows any member using the combined position. buyer follows each leader only for the position bought after that leader and uses its own position for ratios. This also applies to transfer-out sells.
data.follow_sell.sell_allobjectdefault: {}Full exit once the leader sells a large enough share.
data.follow_sell.sell_all.enabledbooleandefault: falseSell the whole position once the leader sells at least pct of theirs. pct is required when this is true.
data.follow_sell.sell_all.pctstringLeader sell size, as a percent of their position, that triggers a full exit. "1" = 1%.
data.follow_sell.transfer_outobjectdefault: {}Sell when a followed leader transfers a token out instead of selling it.
data.follow_sell.transfer_out.enabledbooleandefault: falseAlso sell when a followed leader transfers a token out to another wallet (not a swap). Takes effect only while follow_sell.enabled is true and reverse_buy.enabled is false. Transfers to your own wallets or to a contract address (such as a lock, an escrow, a vault or a Safe multisig) do not trigger it. With bundle scope, transfers between leaders of a grouped config also do not trigger it. There is no leader fill price to reference, so the sell goes out at maximum slippage. The resulting orders are ordinary copy sell orders. Supported on bsc, robinhood, arc and solana. Default false.
data.follow_sell.transfer_out.modeenum ("proportional" | "position")default: "proportional"proportional sells the same fraction of your position as the fraction of its balance the leader transferred. position sells pct of your position on every transfer. Default proportional.
data.follow_sell.transfer_out.pctstringShare of your position to sell on every leader transfer, from 0.01 to 100. "1" = 1%. Required when enabled is true and mode is position; ignored in proportional mode.
data.price_strategyenum ("protected" | "speed_first")✓Deprecated; execution ignores it. Configs stored as strategy tasks always read back protected; configs not yet migrated return their stored value. advanced.leader_fill_buy_slippage picks the copy-buy price strategy; advanced.leader_fill_sell_slippage is deprecated too.
data.advancedobject✓Retry count and the copy-buy price strategy (leader_fill_sell_slippage is deprecated).
data.advanced.trx_retryinteger✓Deprecated: execution does not read it. Accepted with default 3 and maximum 10; configs stored as strategy tasks (every config created since the TaskSpec migration) do not keep it and read back 3.
data.advanced.leader_fill_buy_slippageboolean✓Price strategy for copy buys. false (default) is Speed first: sent at once, never waiting for the target's fill. Below 100% slippage, if the target's average fill price is available without waiting, the signed minimum received is the higher of the existing basis less slippage and the tokens your amount would buy at that average fill price less slippage. The target's price rise and your own impact then use up slippage. Even if the price already misses the bound, Speed first still sends: the order fails on-chain and you pay network fees. On EVM (BSC/Robinhood), this bound applies when the local estimate covers the target's whole trade or its fill result is already known; otherwise the existing basis remains: the full-amount estimate after the target's fill, else the quote at send time or pool state at execution. On Solana, the fill arrives with the chain event, so Speed first normally uses it; different quote tokens are converted at their latest USD prices. Missing fill or conversion prices leave Speed first using its own quote at send time, with no rejection for missing prices. true is Price protection, unchanged: it uses the target's average fill, may wait, and skips sending without that price or when its quote already misses the bound. On Solana, Price protection usually adds no wait; when the target's transaction cannot be fully read before it lands, or is expected to fail, it decides once that transaction lands. It counts the pool fees you also pay, and sends nothing without the required fill or conversion prices.
data.advanced.leader_fill_sell_slippageboolean✓Deprecated: accepted, but execution does not read it, and configs stored as strategy tasks read back false. Copy sells always go at maximum slippage (10000 bps, no minimum received), whatever this field and the sell slippage say; on BSC and Robinhood a copy sell that continues on the new market after its curve migrates is capped at 9999 bps.
data.quote_class_filterarray<enum ("native" | "stable" | "stock" | "prestock" | "other")>maxItems: 5Solana buy quote-token classes: native (SOL), stable (USDC/USDT/USD1), stock (xStocks/Backpack), prestock (PreStocks), other. Matches the quote of the pool that directly trades the token (the last hop of the leader buy); conversion hops before it, such as through USDC, do not count. Empty or absent means no filter. AND with DEX/mode filters; stocks OR cashback needs two tasks. Compiles to token.quote_class in a root all.
data.max_block_gapnumber | nullMaximum estimated block gap at the wallet-copy buy decision (Solana: slots). Zero is a same-block estimate. Omit for no limit; PATCH null clears the limit.
data.sell_fee_filter_enabledbooleanEnable the sell-back fee filter for copy and sniper buys on Solana, BSC and Robinhood. Absent or false disables it. At buy time, estimates known sell-back fees on the buy route (pool fee plus token sell tax); a known total above sell_fee_max_bps rejects the buy as sell_fee_too_high. Unknown parts pass. When true, sell_fee_max_bps must exist in the create body or stored config merged with PATCH; otherwise HTTP 400 validation_error. GET/list return stored values as-is, without effective defaults. Omitted create/PATCH fields are not written.
data.sell_fee_max_bpsnumberMaximum estimated sell-back fees in integer bps, 0–9999 (100 bps = 1%). Required when sell_fee_filter_enabled is true; 0 is the strictest cap, not off. Known fees above the cap reject the buy; equal fees and unknown parts pass. Excludes price impact, priority fee, tip and platform fees; does not filter actual sell orders. GET/list preserve the stored value, including absence. Omitted create/PATCH fields are not written.
data.buy_slippage_solnumber | nullSolana copy and sniper buys only. SOL amount, minimum 0.1, at most 9 decimal places. Replaces percentage buy slippage on both fee lanes; stored percentages are preserved. More than this amount of SOL bought ahead of us prevents the buy: for copy configs, counted from the pool after the leader fill; for sniper configs, from the pool right after the token creation transaction, including the dev first buy. No default: omission uses percentage mode. PATCH omission preserves the value; PATCH null clears it and restores percentage mode. Unsupported chains or unmigrated tasks return validation_error. Not available for sells or manual trades.
data.min_sell_usdstringMinimum automatic sell value in USD, a decimal string from 0.01 to 100000 inclusive. A smaller sell is enlarged up to the available position. A remainder worth less than the higher of this minimum and the sell cost is included. Omit for remainder cleanup only, using $1 and the sell cost. EVM flash sells before the buy receipt may fall below the minimum.
data.retain_bpsnumberShare of each new buy retained from automatic sells (including stop loss), in integer basis points (1–9999, 100 bps = 1%). Omit for no retention. Changing the share affects future buys. Manual sells can use the retained tokens. An EVM task flash sell sent before the buy receipt approximates the reserve.
data.usdc_tradingbooleanSolana only. true lets USDC pools use USDC first for buys and keeps sell proceeds in USDC; false uses SOL only. Existing USDC must be handled separately when disabled. New tasks default to false in the domain; omitted PATCH fields preserve the stored setting. GET/list return the stored value. Tasks created before the strategy-task migration cannot store it: writing it to such a task returns HTTP 400 validation_error. Writing on any other chain, including false, returns HTTP 400 unsupported_chain_feature.
data.buy_fee_tip_firstbooleanSolana only. Lower failure cost in buy auto mode: if a buy lands on-chain but fails (for example, slippage exceeded), at most about 0.001 SOL of priority fee is charged and the tip is not. This sacrifices some speed. Applies to copy and sniper buys with fixed or proportional total fees. Absent or false disables it. Writing true requires the merged config to have buy_fee_auto true and gas.high_tip.enabled not true; otherwise HTTP 400 validation_error. Manual mode and sells ignore it. GET/list return the stored value; a Solana task in buy auto mode without high tip returns false when unset. Omitted PATCH fields are not written. Writing on any other chain, including false, returns HTTP 400 unsupported_chain_feature.
data.buy_fee_tip_first_minbooleanSolana only. No longer affects execution; still accepted, stored and read back as before. Writing true still requires the merged config to have buy_fee_tip_first true; otherwise HTTP 400 validation_error with details for buy_fee_tip_first_min. GET/list return the stored value; Solana strategy tasks in buy auto mode with tip-first enabled return false when unset. Unrelated PATCH edits preserve an inactive min flag. Turning buy_fee_tip_first off also turns min off unless the PATCH explicitly supplies min. An explicit min field in the PATCH takes precedence and is validated as supplied. Null PATCH is rejected. Writing on any other chain, including false, returns HTTP 400 unsupported_chain_feature.
data.buy_fee_autobooleanSolana only. true = auto fee mode for buys: with gas.high_tip.enabled false the executor treats gas.priority_fee + gas.landing_fee as one budget and splits it per landing route, with no priority fee cap. Omitted or false uses manual fees as entered. Enabling high_tip also selects manual fees even when this flag is true. Read the tiers using the total budget. With ratio fees, use the total calculated for the buy amount. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings.
data.sell_fee_autobooleanSolana only. true = auto fee mode for sells: with gas.high_tip.enabled false the executor treats gas.priority_fee + gas.landing_fee as one budget and splits it per landing route, with no priority fee cap. Omitted or false uses manual fees as entered. Enabling high_tip also selects manual fees even when this flag is true. Read the tiers using the total budget. Stop-loss sells may be late when the budget is low. Solana tip guidance: below 0.0001 SOL, ordinary orders have no acceleration routes and failed orders still pay fees. Anti-MEV orders need at least 0.000001 SOL (LANDING_FEE_TOO_LOW below this), and only a very few protected routes take tips in this range. From 0.0001 to below 0.001 SOL, some routes are available. At 0.001 SOL or above, all routes for the selected mode are available. These tiers do not block saving settings.
data.buy_fee_filter_enabledbooleanEnable the task buy-fee filter. When absent from the task, defaults to enabled at 25% (2500 bps), or the stored limit if 0 < buy_fee_max_bps < 10000. Explicit false disables it; explicit true filters only with a valid limit. GET/list preserve the stored enabled flag (absent stays absent) and return the effective buy_fee_max_bps. An omitted enabled flag means filtering is on at the returned limit for known fees only; sending true opts into the user-set rule below. Omitted create/PATCH fields are not written. Applies to copy and snipe buys on all four Cell chains. The default caps known fees only; undetectable fees are not counted and pass in both Speed first and Price protection. With explicit true and a valid limit, copy buys in Price protection on EVM and Solana reject undetectable fees as buy_fee_unknown; on Solana a Meteora DLMM variable fee is judged at this buy's highest possible rate.
data.buy_fee_max_bpsnumberMaximum buy fees and taxes in integer bps (100 bps = 1%). When buy_fee_filter_enabled is absent from the task, uses a stored limit if 0 < buy_fee_max_bps < 10000, otherwise 2500 bps (25%). With explicit true, only 1–9999 enables filtering; 0 or an absent limit disables it. GET/list return the effective limit and preserve the stored buy_fee_filter_enabled flag (absent stays absent). An omitted flag means filtering is on at the returned limit for known fees only; sending true opts into the user-set rule below. Excludes price impact, priority fee, tip and platform fees. Known fees above this limit are rejected. When buy_fee_filter_enabled is absent, the default caps known fees only; undetectable fees are not counted and pass on every chain in both Speed first and Price protection. Only an explicitly enabled filter with a valid limit rejects undetectable fees for copy buys in Price protection on EVM and Solana as buy_fee_unknown (on Solana a Meteora DLMM variable fee is judged at this buy's highest possible rate); Speed first and sniper buys allow them.
data.buy_landing_fee_bpsnumberSolana auto mode only: buy total fee as nonnegative integer bps of the actual SOL principal (100 bps = 1%). Absent or 0 selects fixed total fees; no ratio cap. For copy and sniper buys, total = clamp(principal × bps / 10000, buy_landing_fee_min, buy_landing_fee_max), split into priority fee and tip per landing route like auto-mode total fees. The stored buy priority_fee and landing_fee are ignored; slippage still applies. Read only in auto fee mode (buy_fee_auto true, gas.high_tip.enabled false); manual mode ignores it, and setting a new positive value on a manual task returns 400. Sell and manual orders are unaffected. Callers are responsible for the chosen ratio; no confirmation step. Writing on EVM returns HTTP 400 unsupported_chain_feature, including 0.
data.buy_landing_fee_minstringSolana auto-mode ratio fee minimum total in SOL, decimal string up to 9 places, at least "0.0001" (the cheapest landing route's minimum tip; "0" is rejected). When the effective buy_landing_fee_bps > 0 and no minimum was stored or sent, create/PATCH writes "0.002". Total = clamp(principal × bps / 10000, min, max), split per landing route like auto-mode total fees; stored buy priority_fee/landing_fee are ignored. A positive minimum must not exceed a positive maximum. Ratio fees apply only in auto fee mode (buy_fee_auto true, gas.high_tip.enabled false). Copy and sniper buys only; sells and manual orders unaffected. Writing on EVM returns HTTP 400 unsupported_chain_feature, including "0".
data.buy_landing_fee_maxstringSolana auto-mode ratio fee maximum total in SOL, decimal string up to 9 places. Absent or "0" means no cap. Total = clamp(principal × buy_landing_fee_bps / 10000, buy_landing_fee_min, max), split per landing route like auto-mode total fees; stored buy priority_fee/landing_fee are ignored. A positive maximum must be at least a positive minimum. Ratio fees apply only in auto fee mode (buy_fee_auto true, gas.high_tip.enabled false). Copy and sniper buys only; sells and manual orders unaffected. Writing on EVM returns HTTP 400 unsupported_chain_feature, including "0". Omitted create/PATCH maximums are not written.
data.buy_scheduleobjectDaily buy window. Outside the window no new positions are opened (no follow buys, no snipe buys); sells, take-profit and stop-loss keep running. Omit it, or send enabled false, for no restriction. PATCH replaces the whole object, so send all four fields; null is rejected. Supported on bsc, robinhood, arc and solana.
data.buy_schedule.enabledboolean✓Apply the window. false keeps the times stored without restricting buys.
data.buy_schedule.timezonestring✓IANA time zone name the minutes are read in, for example Asia/Shanghai. The name is stored in its canonical form (asia/shanghai is stored as Asia/Shanghai, utc as UTC); offsets such as +08:00 and names longer than 64 characters are rejected.
data.buy_schedule.start_minutenumber✓Window start, in whole minutes after local midnight, 0 to 1439. The start minute is inside the window.
data.buy_schedule.end_minutenumber✓Window end, in whole minutes after local midnight, 0 to 1439. The end minute is outside the window. When it is smaller than start_minute the window crosses midnight (1260 to 120 is 21:00 to 02:00). It must differ from start_minute.
metaobject✓Request id, plus paging fields when this operation is a list.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

401 — unauthorized (missing/invalid/revoked/expired Bearer token)

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

403 — insufficient_scope / ip_not_allowed

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

404 — not_found

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

409 — task_read_only (archived config) / invalid_state

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

412 — version_conflict

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

428 — precondition_required (missing If-Match)

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

429 — rate_limited (Retry-After response header set)

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.

500 — internal_error

字段类型必填说明
errorobject✓Why the request failed.
error.codestring✓Stable machine-readable error code.
error.messagestring✓Human-readable explanation of the error.
error.totalnumberNumber of distinct blacklisted wallets the account would have on this chain after saving.
error.limitnumberMaximum distinct blacklisted wallets per account on this chain.
error.detailsarray<object>Only present when at least one field-level validation issue exists.
error.details[].fieldstring✓Request field this issue refers to, or a dotted path such as buy.amount.
error.details[].reasonstring✓Why that field was rejected.
error.details[].codestringStable machine-readable reason for a strategy spec issue, for example unsupported_leaf or pump_callers_required. Present only on strategy spec validation errors; reason may change.
metaobject✓Request id for this failure.
meta.request_idstring✓Id of this request. Also sent as the X-Request-Id response header.
请求示例
curl -X POST "https://api.apm.fun/v1/copy-trade/configs/cfg_8f2a1c9b/resume" \
  -H "Authorization: Bearer apm_live_<prefix>.<secret>" \
  -H "If-Match: "3""
响应示例 200
{
  "data": {
    "id": "cfg_8f2a1c9b",
    "status": "active",
    "version": 0,
    "run_state": {
      "state": "running",
      "reason": null
    },
    "read_only": true,
    "engine": {
      "applied_version": 0,
      "sync_state": "syncing",
      "buy_entry": "open",
      "warning_code": "string",
      "error_code": null,
      "updated_at": "string"
    },
    "created_via": "web",
    "created_at": "string",
    "updated_at": "string",
    "deleted_at": null,
    "labels": [
      "string"
    ],
    "kind": "copy_trade",
    "chain": "bsc",
    "wallet_id": "cfg_8f2a1c9b",
    "wallet_ids": [
      "0x8f2a1c9bde34567890abcdef1234567890abcdef"
    ],
    "name": "string",
    "slippage_pct": "12.50",
    "gas": {
      "priority_fee": "0.05",
      "landing_fee": "0.05",
      "auto_gas": true,
      "high_tip": {
        "enabled": true,
        "priority_fee": "0.05",
        "landing_fee": "0.05"
      },
      "anti_mev": true
    },
    "sell": {
      "slippage_pct": "12.50",
      "gas": {
        "priority_fee": "0.05",
        "landing_fee": "0.05",
        "auto_gas": true,
        "high_tip": {
          "enabled": true,
          "priority_fee": "0.05",
          "landing_fee": "0.05"
        },
        "anti_mev": true
      }
    },
    "exit": {
      "take_profit": [
        {
          "amount_basis": "initial",
          "gain_pct": "12.50",
          "sell_pct": "12.50",
          "expires_in_sec": 0
        }
      ],
      "segmented_take_profit": {
        "enabled": true,
        "amount_basis": "initial",
        "segments": [
          {
            "gain_pct": "12.50",
            "sell_pct": "12.50",
            "expires_in_ms": 0,
            "timeout_sell": {
              "enabled": null,
              "sell_pct": null
            }
          }
        ]
      },
      "stop_loss": {
        "enabled": false
      },
      "trailing": {
        "enabled": false
      },
      "timed_sell": {
        "enabled": false
      },
      "dev_sell": {
        "enabled": false
      },
      "migration_sell": {
        "enabled": false,
        "sell_pct": "12.50"
      },
      "anti_wick": false
    },
    "leaders": [
      {
        "source": "wallet",
        "ref": "string",
        "resolved_wallet": "0x8f2a1c9bde34567890abcdef1234567890abcdef"
      }
    ],
    "buy": {
      "mode": "fixed",
      "amount": "0.05",
      "ratio": "string",
      "max_per_trade": "string",
      "tiers": [
        {
          "market_cap": {
            "min_usd": "string",
            "max_usd": "string"
          },
          "mode": "fixed",
          "amount": "0.05",
          "ratio": "string",
          "max_per_trade": "string",
          "gas": {
            "slippage_pct": "12.50",
            "priority_fee": "0.05",
            "landing_fee": "0.05",
            "auto_gas": true,
            "high_tip": {
              "slippage_pct": null,
              "priority_fee": null,
              "landing_fee": null
            }
          },
          "buy_fee_auto": true,
          "buy_fee_tip_first": true,
          "buy_fee_tip_first_min": true,
          "buy_landing_fee_bps": 0,
          "buy_landing_fee_min": "0.05",
          "buy_landing_fee_max": "0.05",
          "buy_slippage_sol": 0
        }
      ],
      "delay_ms": 0
    },
    "dedupe": {
      "first_buy_only": false,
      "first_buy_window_minutes": 0,
      "block_if_held": false
    },
    "group_follow": {
      "enabled": false
    },
    "reverse_buy": {
      "enabled": true,
      "min_leader_sell_pct": "12.50",
      "min_leader_first_buy": "string",
      "max_leader_first_buy": "string"
    },
    "filters": {
      "prior_buyer_blacklist": {
        "sell_on_late_discovery": true,
        "addresses": [
          "string"
        ],
        "window_sec": 0
      }
    },
    "buy_filter": {
      "amount": {},
      "market_cap": {},
      "dex": {},
      "token_blacklist": {},
      "per_token_buy_limit": {},
      "fail_guard": {
        "enabled": true,
        "count": 0,
        "within_sec": 0
      },
      "stop_after_follows": {
        "enabled": false,
        "count": 0
      },
      "per_leader_token_limit": {},
      "quick_sell_ban": {},
      "token_age": {},
      "rug_leader_ban": {}
    },
    "follow_sell": {
      "gas": {
        "priority_fee": "0.05",
        "landing_fee": "0.05",
        "auto_gas": true,
        "high_tip": {
          "enabled": true,
          "priority_fee": "0.05",
          "landing_fee": "0.05"
        },
        "anti_mev": true
      },
      "enabled": true,
      "mode": "proportional",
      "scope": "bundle",
      "sell_all": {},
      "transfer_out": {}
    },
    "price_strategy": "protected",
    "advanced": {
      "trx_retry": 0,
      "leader_fill_buy_slippage": true,
      "leader_fill_sell_slippage": true
    },
    "quote_class_filter": [
      "native"
    ],
    "max_block_gap": null,
    "sell_fee_filter_enabled": true,
    "sell_fee_max_bps": 0,
    "buy_slippage_sol": null,
    "min_sell_usd": "string",
    "retain_bps": 0,
    "usdc_trading": true,
    "buy_fee_tip_first": true,
    "buy_fee_tip_first_min": true,
    "buy_fee_auto": true,
    "sell_fee_auto": true,
    "buy_fee_filter_enabled": true,
    "buy_fee_max_bps": 0,
    "buy_landing_fee_bps": 0,
    "buy_landing_fee_min": "0.05",
    "buy_landing_fee_max": "0.05",
    "buy_schedule": {
      "enabled": true,
      "timezone": "string",
      "start_minute": 0,
      "end_minute": 0
    }
  },
  "meta": {
    "request_id": "cfg_8f2a1c9b"
  }
}