List your trades
https://app.skylit.ai/api/nexus/v1/tradesYour own options and stock trades, newest first. account=agent lists your bot's agent wallet instead of yours.
Finished trades: status=closed lists the trades you closed. An option that ran out has a status of its own, expired, and status=closed leaves it out. status=expired lists only those, and status=settled lists both: the same trades your Journal's calendar and stats count. Every row keeps its own status, so in a settled list you can tell which ones expired. Add exitDay=YYYY-MM-DD for the trades that finished on one New York trading day, the same day your calendar puts them on (an exit at 10:30 PM ET is that day's, not the next). exitDay works with account and port. Open trades haven't finished, so status=open with exitDay lists nothing. expired, settled and exitDay are for options and stocks: with assetClass=futures or test=true they answer 400 bad_request.
# Everything that finished on Nov 17 (closed and expired), your bot's account
curl -s "https://app.skylit.ai/api/nexus/v1/trades?account=agent&status=settled&exitDay=2026-11-17&limit=200" \
-H "Authorization: Bearer $SKYLIT_API_KEY"
# Only the options that expired that day
curl -s "https://app.skylit.ai/api/nexus/v1/trades?account=agent&status=expired&exitDay=2026-11-17" \
-H "Authorization: Bearer $SKYLIT_API_KEY"
# Only the trades you closed yourself, one extra port
curl -s "https://app.skylit.ai/api/nexus/v1/trades?port=YOUR_PORT_ID&status=closed&exitDay=2026-11-17" \
-H "Authorization: Bearer $SKYLIT_API_KEY"
Futures: add assetClass=futures to list one futures account's trades. Leave account out for your practice account, or send agent, evaluation, funded or an account id. status=open lists the open positions with the same numbers as the account read. status=closed lists closed trades, flat to flat, with the same P/L your futures journal shows, newest first. Leave status out for both, open first. A futures row is a FuturesTrade, not a Trade. Without assetClass=futures the list is options and stocks, same as always.
With test=true it lists your test log instead (your 10 newest test orders, futures ones included) and never a real trade.
Authorization
Authorization: Bearer <your API key>Required. A missing header returns 401; an invalid, revoked or expired key returns 403.
Query parameters
assetClassstringfutureslists one futures account's positions and closed trades. Leave it out for options and stocks.futuresaccountstringOptions and stocks:
agentlists your bot's wallet; leave it out for yours. Futures:practice(or left out),agent,evaluation,fundedor an account id.portstringuuidOne of your ports (see Ports in the Nexus Trades guide), by id.
account, if you send it too, must agree:agent(or left out) for Bot and an extra port, left out for Main. Left out,accountalone decides.statusstringdefaultallWhich trades to list.
closedis the trades you closed and leaves out options that expired;expiredis only those;settledis both (what your calendar and stats count). Each row keeps its ownstatus. Futures takeopen,closedorall.openclosedexpiredsettledallexitDaystringdateOnly trades that finished on this New York trading day,
YYYY-MM-DD(midnight to midnight ET, daylight saving included). Same day as your calendar. Anything else answers400 bad_request. Options and stocks only.limitintegerdefault50min 1 · max 200Page size. Anything over 200 is read as 200.
offsetintegerdefault0min 0 · max 100000How many trades to skip.
teststringdefaultfalsetruelists your test log instead of your trades.truefalse
Responses
- 200
Your trades.
meta.totalcounts every match, not just this page. - 400
The request was refused before anything was traded. Codes:
bad_request,bad_contract,invalid_quantity,invalid_price,unsupported_asset_class,unsupported_order_type,only_market_orders,limit_price_required(a limit with nolimitPrice),invalid_limit_price(not in cents, or outside 0.01 to 99,999.99 for options or 999,999.99 for stocks),stop_price_required(a stop with nostopPrice),invalid_stop_price(not in cents, or outside 0.01 to 999,999.99),invalid_take_profit,test_orders_unavailable,test_modify_unavailable,bad_symbol(a quotes symbol that isn't OCC). - 401
No key, or a key that isn't valid. Codes:
missing_api_key,invalid_api_key. - 403
The key works but the account can't do this. Codes:
account_suspended,nexus_access_denied,futures_access_denied. - 404
Not on your account. Codes:
trade_not_found,account_not_found,order_not_found. - 429
Over a rate limit. Wait
Retry-Afterseconds, then retry. Codes:rate_limited, andstream_limit_reached(too many live streams open: 3 per key, 6 per account). - 503
Try again in a moment (honour
Retry-Afterwhen it's sent). Codes:stale_quote(the quote, or a stock's last trade, is more than 15 seconds old, so nothing filled),no_live_price,rules_pending,unavailable,auth_unavailable,access_check_unavailable,api_keys_unavailable,trades_api_disabled,stream_unavailable(the live stream isn't on, or the server is restarting: try again shortly, or poll the reads).
Response fields
dataobject[]idstringuuiduserIdstringuuidtickerstringstrikenumberexpirationstringdatedirectionstringcallputassetClassstringoptionsstocksaverageEntryPricenumbercurrentPricenumberThe latest mark.
totalQuantityintegerremainingQuantityintegerstatusstringactiveclosedexpiredentryDatestringdate-timeexitDatestringdate-timeexitsobject[]sourcestringapion a trade a key opened.portIdstringuuidThe extra port the trade is on. Left out on Main and Bot.
testbooleantrueon a test order.
metaobjecttotalintegerlimitintegeroffsetintegertestbooleanWith
test=true: this is your test log.maxRowsintegerWith
test=true: how many test orders the log keeps (10).
Last updated