Skip to main content
GET
/
v1
/
history
Get Trade History
curl --request GET \
  --url https://api.lasersell.io/v1/history \
  --header 'x-api-key: <api-key>'
{
  "trades": [
    {
      "id": 42,
      "session_id": 1001,
      "position_id": 3,
      "wallet_pubkey": "9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM",
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "entry_quote_units": 500000000,
      "tokens": 1000000,
      "opened_at": "2026-03-07T12:00:00Z",
      "exit_quote_units": 650000000,
      "profit_quote_units": 150000000,
      "exit_reason": "target_profit",
      "market_kind": "PumpFun",
      "strategy_target_profit_pct": 30,
      "strategy_stop_loss_pct": 50,
      "strategy_trailing_stop_pct": 20,
      "closed_at": "2026-03-07T12:30:00Z"
    }
  ],
  "total": 42
}

Authorizations

x-api-key
string
header
required

Your LaserSell API key. Obtain one from the LaserSell dashboard.

Query Parameters

limit
integer
default:50

Maximum number of trades to return (capped at 200).

Required range: x <= 200
Example:

20

offset
integer
default:0

Number of trades to skip for pagination.

Example:

0

mint
string

Filter results to a specific token mint address (base58).

Example:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

wallet
string

Filter results to a specific wallet public key (base58).

Example:

"9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM"

Response

Trade history page.

trades
object[]
required

Array of trade records, ordered by most recent first.

total
integer | null

Estimated total number of matching trades for pagination.

Example:

42