CRISP partners Endpoint reference Get trading analytics GET /v1/analytics/trading
Use this operation for get trading analytics. Follow the reporting and fee administration guide for the complete workflow.
Reporting and fee administration guide · All endpoints · SDK: getTradingAnalytics
Server-to-server HMAC. Your key selects the partner; your backend must authorize the end user.
CRISP enables access to the features agreed for your integration. Contact CRISP if an enabled feature returns an access error.
Idempotency-Key: Not required by this operation . Signing and authentication →
Required means the field must be present. Nullable means an explicit JSON null is allowed; it does not mean optional.
Query parameters Field Type / presence Description and constraints fromstringOptional
Non-null
Format: date
tostringOptional
Non-null
Format: date
Header parameters No operation-specific headers. The HMAC headers above still apply.
JSON body No request body.
Illustrative identifiers only: replace them with resources from your integration. Keep credentials on your backend. HTTP placeholders must be signed ; the SDK signs automatically. Financial intent keys must be persisted and unique per new action.
HTTP SDK
GET /v1/analytics/trading
Host : partner-api.crisp.trade
X-Crisp-Partner-Key : <server-key-id>
X-Crisp-Timestamp : <fresh-ISO-8601-UTC-timestamp>
X-Crisp-Nonce : <fresh-unique-nonce>
X-Crisp-Signature : <computed-base64-HMAC>
HTTP responses use the envelope below. SDK calls expose its payload as result.data, with HTTP status and request metadata on the SDK wrapper.
200 · Success Data payload Field Type / presence Description and constraints venuestringRequired
Non-null
— periodobjectRequired
Non-null
Expand the structure below. period: expand fields Field Type / presence Description and constraints fromstringRequired
Non-null
Format: date-time
tostringRequired
Non-null
Format: date-time
Additional fields are not allowed in this object.
sourcestringRequired
Non-null
— consistencystringRequired
Non-null
— ingestionobjectRequired
Non-null
Expand the structure below. ingestion: expand fields Field Type / presence Description and constraints lastCompletedAtstring | nullRequired
Nullable
Expand the structure below. lastCompletedAt: expand fields inProgressbooleanRequired
Non-null
— lastErrorstring | nullRequired
Nullable
Expand the structure below. lastError: expand fields
Additional fields are not allowed in this object.
accountsobjectRequired
Non-null
Expand the structure below. accounts: expand fields Field Type / presence Description and constraints readyintegerRequired
Non-null
minimum: 0
withMatchedTradesintegerRequired
Non-null
minimum: 0
displayedWithMatchedTradesintegerRequired
Non-null
minimum: 0
userMetricsTruncatedbooleanRequired
Non-null
—
Additional fields are not allowed in this object.
totalsobjectRequired
Non-null
Expand the structure below. totals: expand fields Field Type / presence Description and constraints tradingVolumeUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$polymarketTakerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$platformFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$platformFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerTreasuryFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerTreasuryFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesClaimedUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesOutstandingUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$
Additional fields are not allowed in this object.
usersarray<object>Required
Non-null
Expand the structure below. users: expand item fields Field Type / presence Description and constraints crispAccountIdstringRequired
Non-null
CRISP's account identifier; distinct from your external user ID.
Format: uuid
externalUserIdstringRequired
Non-null
Your stable user ID within the authenticated partner. Derive it from your authorized server session.
Validation pattern ^[A-Za-z0-9._:@-]{1,200}$tradeCountintegerRequired
Non-null
minimum: 0
tradingVolumeUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$polymarketTakerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesClaimedUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesOutstandingUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$
Additional fields are not allowed in this object.
Additional fields are not allowed in this object.
Full HTTP envelope Field Type / presence Description and constraints dataobjectRequired
Non-null
Expand the structure below. data: expand fields Field Type / presence Description and constraints venuestringRequired
Non-null
— periodobjectRequired
Non-null
Expand the structure below. period: expand fields Field Type / presence Description and constraints fromstringRequired
Non-null
Format: date-time
tostringRequired
Non-null
Format: date-time
Additional fields are not allowed in this object.
sourcestringRequired
Non-null
— consistencystringRequired
Non-null
— ingestionobjectRequired
Non-null
Expand the structure below. ingestion: expand fields Field Type / presence Description and constraints lastCompletedAtstring | nullRequired
Nullable
Expand the structure below. lastCompletedAt: expand fields inProgressbooleanRequired
Non-null
— lastErrorstring | nullRequired
Nullable
Expand the structure below. lastError: expand fields
Additional fields are not allowed in this object.
accountsobjectRequired
Non-null
Expand the structure below. accounts: expand fields Field Type / presence Description and constraints readyintegerRequired
Non-null
minimum: 0
withMatchedTradesintegerRequired
Non-null
minimum: 0
displayedWithMatchedTradesintegerRequired
Non-null
minimum: 0
userMetricsTruncatedbooleanRequired
Non-null
—
Additional fields are not allowed in this object.
totalsobjectRequired
Non-null
Expand the structure below. totals: expand fields Field Type / presence Description and constraints tradingVolumeUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$polymarketTakerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$platformFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$platformFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerTreasuryFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerTreasuryFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesClaimedUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesOutstandingUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$
Additional fields are not allowed in this object.
usersarray<object>Required
Non-null
Expand the structure below. users: expand item fields Field Type / presence Description and constraints crispAccountIdstringRequired
Non-null
CRISP's account identifier; distinct from your external user ID.
Format: uuid
externalUserIdstringRequired
Non-null
Your stable user ID within the authenticated partner. Derive it from your authorized server session.
Validation pattern ^[A-Za-z0-9._:@-]{1,200}$tradeCountintegerRequired
Non-null
minimum: 0
tradingVolumeUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$polymarketTakerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesSettledUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesClaimedUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$partnerFeesOutstandingUsdcstringRequired
Non-null
Exact decimal string. Never use floating point for ledger arithmetic.
Validation pattern ^\d+(?:\.\d+)?$
Additional fields are not allowed in this object.
Additional fields are not allowed in this object.
requestIdstringRequired
Non-null
Request correlation ID for debugging and support.
Additional fields are not allowed in this object.
Schema illustration, not live account data. Null means unavailable or not applicable, never an invented zero. Empty arrays do not imply the endpoint always returns no results.
200 response JSON {
"data" : {
"venue" : "example" ,
"period" : {
"from" : "2026-09-01T00:00:00Z" ,
"to" : "2026-09-02T00:00:00Z"
},
"source" : "example" ,
"consistency" : "example" ,
"ingestion" : {
"lastCompletedAt" : null ,
"inProgress" : false ,
"lastError" : null
},
"accounts" : {
"ready" : 0 ,
"withMatchedTrades" : 0 ,
"displayedWithMatchedTrades" : 0 ,
"userMetricsTruncated" : false
},
"totals" : {
"tradingVolumeUsdc" : "0.40" ,
"polymarketTakerFeesUsdc" : "0.40" ,
"platformFeesUsdc" : "0.40" ,
"platformFeesSettledUsdc" : "0.40" ,
"partnerTreasuryFeesUsdc" : "0.40" ,
"partnerTreasuryFeesSettledUsdc" : "0.40" ,
"partnerFeesUsdc" : "0.40" ,
"partnerFeesSettledUsdc" : "0.40" ,
"partnerFeesClaimedUsdc" : "0.40" ,
"partnerFeesOutstandingUsdc" : "0.40"
},
"users" : []
},
"requestId" : "example-request-id"
}
Status Meaning 400Inspect error.code and retain the original financial intent. 401Inspect error.code and retain the original financial intent. 403Inspect error.code and retain the original financial intent. 404Not visible for this account. A recovery lookup miss is not proof that an in-flight submission failed. 409Inspect error.code and retain the original financial intent. 429Inspect error.code and retain the original financial intent. 500Inspect error.code and retain the original financial intent. 502Inspect error.code and retain the original financial intent. 503Inspect error.code and retain the original financial intent.
Inspect the error code and outcomeUnknown, not just the HTTP status. Preserve the original intent after financial uncertainty. Read-only retries should honor Retry-After. Recovery workflow →
Error response fields Field Type / presence Description and constraints errorobjectRequired
Non-null
Expand the structure below. error: expand fields Field Type / presence Description and constraints codestringRequired
Non-null
— messagestringRequired
Non-null
— requestIdstringRequired
Non-null
Request correlation ID for debugging and support.
Additional fields are not allowed in this object.
Additional fields are not allowed in this object.
OpenAPI download · Advanced schema and legacy anchor