CRISP partnersEndpoint reference

Get order requirements

GET /v1/order-requirements

Read advisory market rules and a quote. Refresh in the background; this read is not a reservation or execution guarantee and is not a required step before order submission.

Markets and trading guide · All endpoints · SDK: getOrderRequirements

Authentication

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 →

Request fields

Required means the field must be present. Nullable means an explicit JSON null is allowed; it does not mean optional.

Path parameters

None.

Query parameters

FieldType / presenceDescription and constraints
tokenIdstring
Required
Non-null

Outcome token identifier. Keep as a string to avoid integer precision loss.

Validation pattern^(0|[1-9]\d{0,100})$
sidestring
Required
Non-null
Allowed: "BUY", "SELL"
typestring
Optional
Non-null
Allowed: "market", "limit"
amountstring
Optional
Non-null

Exact decimal string. Never use floating point for ledger arithmetic.

Validation pattern^\d+(?:\.\d+)?$
amountsstring
Optional
Non-null
—
pricestring
Optional
Non-null

Exact decimal string. Never use floating point for ledger arithmetic.

Validation pattern^\d+(?:\.\d+)?$
sizestring
Optional
Non-null

Exact decimal string. Never use floating point for ledger arithmetic.

Validation pattern^\d+(?:\.\d+)?$

Header parameters

No operation-specific headers. The HMAC headers above still apply.

JSON body

No request body.

Request example

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.

GET /v1/order-requirements?tokenId=12345678901234567890&side=BUY
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>

Response fields

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

FieldType / presenceDescription and constraints
requirementsobject
Required
Non-null
Expand the structure below.
requirements: expand fields
FieldType / presenceDescription and constraints
tokenIdstring
Required
Non-null

Outcome token identifier. Keep as a string to avoid integer precision loss.

Validation pattern^(0|[1-9]\d{0,100})$
sidestring
Required
Non-null
Allowed: "BUY", "SELL"
typestring
Required
Non-null
Allowed: "market", "limit"
minOrderSizenumber
Required
Non-null
—
tickSizenumber
Required
Non-null
—
minimumBuyAmountnumber | null
Required
Nullable
Expand the structure below.
minimumBuyAmount: expand fields

number

allInBuyAmountnumber | null
Required
Nullable
Expand the structure below.
allInBuyAmount: expand fields

number

payoutIfWonnumber | null
Required
Nullable
Expand the structure below.
payoutIfWon: expand fields

number

averagePricenumber | null
Required
Nullable
Expand the structure below.
averagePrice: expand fields

number

marketBuyQuotesarray<object>
Required
Non-null
Expand the structure below.
marketBuyQuotes: expand item fields
FieldType / presenceDescription and constraints
allInAmountnumber
Required
Non-null
—
payoutIfWonnumber
Required
Non-null
—
averagePricenumber
Required
Non-null
—

Additional fields are not allowed in this object.

asOfstring
Required
Non-null
Format: date-time

Additional fields are not allowed in this object.

Additional fields are not allowed in this object.

Full HTTP envelope
FieldType / presenceDescription and constraints
dataobject
Required
Non-null
Expand the structure below.
data: expand fields
FieldType / presenceDescription and constraints
requirementsobject
Required
Non-null
Expand the structure below.
requirements: expand fields
FieldType / presenceDescription and constraints
tokenIdstring
Required
Non-null

Outcome token identifier. Keep as a string to avoid integer precision loss.

Validation pattern^(0|[1-9]\d{0,100})$
sidestring
Required
Non-null
Allowed: "BUY", "SELL"
typestring
Required
Non-null
Allowed: "market", "limit"
minOrderSizenumber
Required
Non-null
—
tickSizenumber
Required
Non-null
—
minimumBuyAmountnumber | null
Required
Nullable
Expand the structure below.
minimumBuyAmount: expand fields

number

allInBuyAmountnumber | null
Required
Nullable
Expand the structure below.
allInBuyAmount: expand fields

number

payoutIfWonnumber | null
Required
Nullable
Expand the structure below.
payoutIfWon: expand fields

number

averagePricenumber | null
Required
Nullable
Expand the structure below.
averagePrice: expand fields

number

marketBuyQuotesarray<object>
Required
Non-null
Expand the structure below.
marketBuyQuotes: expand item fields
FieldType / presenceDescription and constraints
allInAmountnumber
Required
Non-null
—
payoutIfWonnumber
Required
Non-null
—
averagePricenumber
Required
Non-null
—

Additional fields are not allowed in this object.

asOfstring
Required
Non-null
Format: date-time

Additional fields are not allowed in this object.

Additional fields are not allowed in this object.

requestIdstring
Required
Non-null

Request correlation ID for debugging and support.

Additional fields are not allowed in this object.

Response example

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": {
    "requirements": {
      "tokenId": "12345678901234567890",
      "side": "BUY",
      "type": "market",
      "minOrderSize": 1,
      "tickSize": 1,
      "minimumBuyAmount": null,
      "allInBuyAmount": null,
      "payoutIfWon": null,
      "averagePrice": null,
      "marketBuyQuotes": [],
      "asOf": "2026-09-01T00:00:00Z"
    }
  },
  "requestId": "example-request-id"
}

Errors and recovery

StatusMeaning
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
FieldType / presenceDescription and constraints
errorobject
Required
Non-null
Expand the structure below.
error: expand fields
FieldType / presenceDescription and constraints
codestring
Required
Non-null
—
messagestring
Required
Non-null
—
requestIdstring
Required
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.

Raw contract

OpenAPI download · Advanced schema and legacy anchor

CRISP Partner Documentation