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

GET /v1/orders/{order_id}

Get one of my account orders

Uses the same account activity projection as the list. Missing, hidden migration rows, and orders owned by another user all return 404. Requires orders:read.

所需 Scope: orders:read

路径参数

字段类型必填说明
order_idstring✓Owner-visible account order ID.

响应

200 — OK

字段类型必填约束说明
dataobject✓Response payload.
data.buy_tierinteger | nullmin: 0Zero-based index of the selected buy tier, when recorded.
data.buy_tier_market_cap_usdstring | nullpattern: ^-?\d+(\.\d+)?$Market cap used to select the buy tier, as a USD decimal string, when recorded.
data.trailing_fireintegerOne-based trigger number across all tiers of this buy’s repeating trailing ladder, when recorded.
data.order_idstring✓Account order ID.
data.chainenum ("solana" | "bsc" | "base" | "robinhood" | "arc")✓Chain on which the order was recorded.
data.task_idstringRelated copy-trade or sniper task ID, when present.
data.strategy_task_idstringRelated strategy task ID (source "strategy"), when present.
data.order_typestring✓Display order type, such as copy, market, stop, or task_close (task-close liquidation).
data.stop_typestringStop-order subtype when this is a stop order.
data.walletstring✓Wallet address used by the order.
data.sideenum ("buy" | "sell" | "")✓Buy, sell, or empty for a rejected copy order with no executed direction.
data.statusstring✓Recorded order lifecycle status.
data.reasonCodestringStable machine-readable rejection or failure reason code.
data.errorMsgstringNormalized human-readable order error message.
data.error_codestringSource error code, when recorded.
data.price_strategystringExecution price strategy used for this order.
data.price_reference_sourcestringSource used for the execution reference price.
data.price_min_amount_outstringMinimum output amount used by the price strategy.
data.flash_sell_statusstringFlash-sell lifecycle status when applicable.
data.flash_sell_errorstringFlash-sell failure reason when applicable.
data.tokenobject✓Token involved in the order.
data.token.addressstring✓Token contract or mint address.
data.token.symbolstringToken ticker when known.
data.token.iconstringToken icon URL when known.
data.tx_hashstringResulting on-chain transaction hash, when available.
data.explorerUrlstringExplorer URL for the resulting transaction.
data.amountTokennumberRecorded token quantity in display units.
data.amountNativenumberSettlement side (spent on a buy, received on a sell) as a chain-native quantity in display units. For a non-native settlement currency such as USDC, the settlement amount is converted at the USD prices recorded on the order; omitted when a price is missing.
data.amountUsdnumberSettlement side in USD, priced with the USD price of the settlement currency recorded on the order.
data.filledPriceUsdnumberExecution price per token in USD.
data.filledMcnumberMarket capitalization at execution when recorded.
data.leader_tx_hashstringLeader transaction hash followed by this task order.
data.sourcestringOriginal order source, such as web, API, extension, or bot.
data.expirationnumberStop-order expiry time in Unix milliseconds.
data.trigger_price_usdnumberStop-order trigger price in USD.
data.triggeredbooleanWhether the stop-order trigger has fired.
data.createdAtstring✓Order creation time in ISO 8601 format.
data.updatedAtstring✓Last order update time in ISO 8601 format.
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.

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 GET "https://api.apm.fun/v1/orders/cfg_8f2a1c9b" \
  -H "Authorization: Bearer apm_live_<prefix>.<secret>"
响应示例 200
{
  "data": {
    "buy_tier": null,
    "buy_tier_market_cap_usd": null,
    "trailing_fire": 0,
    "order_id": "cfg_8f2a1c9b",
    "chain": "solana",
    "task_id": "cfg_8f2a1c9b",
    "strategy_task_id": "cfg_8f2a1c9b",
    "order_type": "string",
    "stop_type": "string",
    "wallet": "0x8f2a1c9bde34567890abcdef1234567890abcdef",
    "side": "buy",
    "status": "string",
    "reasonCode": "string",
    "errorMsg": "string",
    "error_code": "string",
    "price_strategy": "string",
    "price_reference_source": "string",
    "price_min_amount_out": "0.05",
    "flash_sell_status": "string",
    "flash_sell_error": "string",
    "token": {
      "address": "0x8f2a1c9bde34567890abcdef1234567890abcdef",
      "symbol": "string",
      "icon": "string"
    },
    "tx_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcd",
    "explorerUrl": "string",
    "amountToken": 0,
    "amountNative": 0,
    "amountUsd": 0,
    "filledPriceUsd": 0,
    "filledMc": 0,
    "leader_tx_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcd",
    "source": "string",
    "expiration": 0,
    "trigger_price_usd": 0,
    "triggered": true,
    "createdAt": "2026-01-15T09:30:00Z",
    "updatedAt": "2026-01-15T09:30:00Z"
  },
  "meta": {
    "request_id": "cfg_8f2a1c9b"
  }
}