scoring = client.is_order_scoring(
    OrderScoringParams(
        orderId="0x..."
    )
)
print(scoring)

scoring = client.are_orders_scoring(
    OrdersScoringParams(
        orderIds=["0x..."]
    )
)
print(scoring)
This endpoint requires a L2 Header.

Returns a boolean value where it is indicated if an order is scoring or not.

HTTP REQUEST

GET /<clob-endpoint>/order-scoring?order_id={...}

Request Parameters

NameRequiredTypeDescription
orderIdyesstringid of order to get information about

Response Format

NameTypeDescription
nullOrdersScoringorder scoring data

An OrdersScoring object is of the form:

NameTypeDescription
scoringbooleanindicates if the order is scoring or not

Check if some orders are scoring

This endpoint requires a L2 Header.

Returns to a dictionary with boolean value where it is indicated if an order is scoring or not.

HTTP REQUEST

POST /<clob-endpoint>/orders-scoring

Request Parameters

NameRequiredTypeDescription
orderIdsyesstring[]ids of the orders to get information about

Response Format

NameTypeDescription
nullOrdersScoringorders scoring data

An OrdersScoring object is a dictionary that indicates the order by if it score.

scoring = client.is_order_scoring(
    OrderScoringParams(
        orderId="0x..."
    )
)
print(scoring)

scoring = client.are_orders_scoring(
    OrdersScoringParams(
        orderIds=["0x..."]
    )
)
print(scoring)