Get trader context (JSON)
Changed onReturns a single structured context object for one trader: the full trader profile (same shape as GET /api/v1/trader/{address}) plus a position_summary (sync coverage and realized/unrealized P&L rollups, with an as_of open-position freshness clock), the data_as_of freshness timestamp (the open-position data's latest /positions snapshot, else last completed sync; the snapshot advances only open positions, so resolved counts and win rate still date to the last full sync; native realized P&L follows its accounting snapshot), and a freshness_note describing the point-in-time snapshot semantics. The path accepts an Ethereum wallet address (0x...), a known trader username, or a trd_-prefixed trader ID emitted by this API. position_summary is omitted when the trader is not in the local database or native net economics is unavailable; realized fields remain numeric when present; unknown lookups return 200 with sync_status 'unknown' on the nested trader (no 404). Append .md to the path for the Markdown rendering.
Request
- Base URLhttps://api.0xinsider.com
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://0xinsider.com/oauth/authorizeToken URLhttps://api.0xinsider.com/oauth/tokenScopesread
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Ethereum wallet address (0x...), known trader username, or trd_-prefixed trader ID emitted by this API.
Headers
Opt into strict query-name validation. The default is compatible: unknown names are ignored and reported in X-Query-Ignored. With strict, an unknown name returns 400 bad_request with error.reason unknown_query_parameter before the handler runs, including when its percent escape is incomplete.
Conditional GET validator from a previous ETag. Matching values return 304 Not Modified with an empty body.
Response
Trader context
Changes
- warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - warning
added the new
freshness_ceiling_unsatisfiedenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the required property
//to the response with the status
- warning
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info