Pages: 26
URL: llms-txt#place-single-order
Source: https://docs.polymarket.com/developers/CLOB/orders/create-order
Detailed instructions for creating, placing, and managing orders using Polymarket's CLOB API.
URL: llms-txt#cancel-an-single-order
Contents:
This endpoint requires a L2 Header.
DELETE /<clob-endpoint>/order
| Name | Required | Type | Description |
|---|---|---|---|
| orderID | yes | string | ID of order to cancel |
| Name | Type | Description |
|---|---|---|
| canceled | string[] | list of canceled orders |
| not_canceled | {} | a order id -> reason map that explains why that order couldn't be canceled |
Examples:
Example 1 (unknown):
URL: llms-txt#onchain-order-info
Contents:
Source: https://docs.polymarket.com/developers/CLOB/orders/onchain-order-info
Given an OrderFilled event:
orderHash: a unique hash for the Order being filledmaker: the user generating the order and the source of funds for the ordertaker: the user filling the order OR the Exchange contract if the order fills multiple limit ordersmakerAssetId: id of the asset that is given out. If 0, indicates that the Order is a BUY, giving USDC in exchange for Outcome tokens. Else, indicates that the Order is a SELL, giving Outcome tokens in exchange for USDC.takerAssetId: id of the asset that is received. If 0, indicates that the Order is a SELL, receiving USDC in exchange for Outcome tokens. Else, indicates that the Order is a BUY, receiving Outcome tokens in exchange for USDC.makerAmountFilled: the amount of the asset that is given out.takerAmountFilled: the amount of the asset that is received.fee: the fees paid by the order makerURL: llms-txt#cancel-orders(s)
Source: https://docs.polymarket.com/developers/CLOB/orders/cancel-orders
Multiple endpoints to cancel a single order, multiple orders, all orders or all orders from a single market.
URL: llms-txt#page-1:-first-50-results-(offset=0)
curl "https://gamma-api.polymarket.com/events?order=id&ascending=false&closed=false&limit=50&offset=0" bash theme={null}
Examples:
Example 1 (unknown):
URL: llms-txt#place-multiple-orders-(batching)
Contents:
Source: https://docs.polymarket.com/developers/CLOB/orders/create-order-batch
Instructions for placing multiple orders(Batch)
This endpoint requires a L2 Header
Polymarket’s CLOB supports batch orders, allowing you to place up to 15 orders in a single request. Before using this feature, make sure you're comfortable placing a single order first. You can find the documentation for that here.
POST /<clob-endpoint>/orders
| Name | Required | Type | Description |
|---|---|---|---|
| PostOrder | yes | PostOrders[] | list of signed order objects (Signed Order + Order Type + Owner) |
A PostOrder object is the form:
| Name | Required | Type | Description |
|---|---|---|---|
| order | yes | order | See below table for details on crafting this object |
| orderType | yes | string | order type ("FOK", "GTC", "GTD", "FAK") |
| owner | yes | string | api key of order owner |
An order object is the form:
| Name | Required | Type | Description |
|---|---|---|---|
| salt | yes | integer | random salt used to create unique order |
| maker | yes | string | maker address (funder) |
| signer | yes | string | signing address |
| taker | yes | string | taker address (operator) |
| tokenId | yes | string | ERC1155 token ID of conditional token being traded |
| makerAmount | yes | string | maximum amount maker is willing to spend |
| takerAmount | yes | string | minimum amount taker will pay the maker in return |
| expiration | yes | string | unix expiration timestamp |
| nonce | yes | string | maker's exchange nonce of the order is associated |
| feeRateBps | yes | string | fee rate basis points as required by the operator |
| side | yes | string | buy or sell enum index |
| signatureType | yes | integer | signature type enum index |
| signature | yes | string | hex encoded signature |
| Name | Type | Description |
|---|---|---|
| success | boolean | boolean indicating if server-side err (success = false) -> server-side error |
| errorMsg | string | error message in case of unsuccessful placement (in case success = false, e.g. client-side error, the reason is in errorMsg) |
| orderId | string | id of order |
| orderHashes | string[] | hash of settlement transaction order was marketable and triggered a match |
If the errorMsg field of the response object from placement is not an empty string, the order was not able to be immediately placed. This might be because of a delay or because of a failure. If the success is not true, then there was an issue placing the order. The following errorMessages are possible:
| Error | Success | Message | Description |
|---|---|---|---|
| INVALID_ORDER_MIN_TICK_SIZE | yes | order is invalid. Price breaks minimum tick size rules | order price isn't accurate to correct tick sizing |
| INVALID_ORDER_MIN_SIZE | yes | order is invalid. Size lower than the minimum | order size must meet min size threshold requirement |
| INVALID_ORDER_DUPLICATED | yes | order is invalid. Duplicated. Same order has already been placed, can't be placed again | |
| INVALID_ORDER_NOT_ENOUGH_BALANCE | yes | not enough balance / allowance | funder address doesn't have sufficient balance or allowance for order |
| INVALID_ORDER_EXPIRATION | yes | invalid expiration | expiration field expresses a time before now |
| INVALID_ORDER_ERROR | yes | could not insert order | system error while inserting order |
| EXECUTION_ERROR | yes | could not run the execution | system error while attempting to execute trade |
| ORDER_DELAYED | no | order match delayed due to market conditions | order placement delayed |
| DELAYING_ORDER_ERROR | yes | error delaying the order | system error while delaying order |
| FOK_ORDER_NOT_FILLED_ERROR | yes | order couldn't be fully filled, FOK orders are fully filled/killed | FOK order not fully filled so can't be placed |
| MARKET_NOT_READY | no | the market is not yet ready to process new orders | system not accepting orders for market yet |
When placing an order, a status field is included. The status field provides additional information regarding the order's state as a result of the placement. Possible values include:
| Status | Description |
|---|---|
| matched | order placed and matched with an existing resting order |
| live | order placed and resting on the book |
| delayed | order marketable, but subject to matching delay |
| unmatched | order marketable, but failure delaying, placement successful |
Examples:
Example 1 (unknown):
Example 2 (unknown):
URL: llms-txt#null
Contents:
Source: https://docs.polymarket.com/developers/subgraph/overview
Polymarket has written and open sourced a subgraph that provides, via a GraphQL query interface, useful aggregate calculations and event indexing for things like volume, user position, market and liquidity data. The subgraph updates in real time to be able to be mixed, and match core data from the primary Polymarket interface, providing positional data, activity history and more. The subgraph can be hosted by anyone but is also hosted and made publicly available by a 3rd party provider, Goldsky.
The Polymarket subgraph is entirely open source and can be found on the Polymarket Github.
Note: The available models/schemas can be found in the
schema.graphqlfile.
The subgraphs are hosted on goldsky, each with an accompanying GraphQL playground:
Orders subgraph: https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/orderbook-subgraph/0.0.1/gn
Positions subgraph: https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/positions-subgraph/0.0.7/gn
Activity subgraph: https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/activity-subgraph/0.0.4/gn
Open Interest subgraph: https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/oi-subgraph/0.0.6/gn
PNL subgraph: https://api.goldsky.com/api/public/project_cl6mb8i9h0003e201j6li0diw/subgraphs/pnl-subgraph/0.0.14/gn
URL: llms-txt#get-order
Contents:
Source: https://docs.polymarket.com/developers/CLOB/orders/get-order
Get information about an existing order
This endpoint requires a L2 Header.
Get single order by id.
GET /<clob-endpoint>/data/order/<order_hash>
| Name | Required | Type | Description |
|---|---|---|---|
| id | no | string | id of order to get information about |
| Name | Type | Description |
|---|---|---|
| order | OpenOrder | order if it exists |
An OpenOrder object is of the form:
| Name | Type | Description |
|---|---|---|
| associate_trades | string[] | any Trade id the order has been partially included in |
| id | string | order id |
| status | string | order current status |
| market | string | market id (condition id) |
| original_size | string | original order size at placement |
| outcome | string | human readable outcome the order is for |
| maker_address | string | maker address (funder) |
| owner | string | api key |
| price | string | price |
| side | string | buy or sell |
| size_matched | string | size of order that has been matched/filled |
| asset_id | string | token id |
| expiration | string | unix timestamp when the order expired, 0 if it does not expire |
| type | string | order type (GTC, FOK, GTD) |
| created_at | string | unix timestamp when the order was created |
Examples:
Example 1 (unknown):
URL: llms-txt#page-2:-next-50-results-(offset=50)
curl "https://gamma-api.polymarket.com/events?order=id&ascending=false&closed=false&limit=50&offset=50" bash theme={null}
Examples:
Example 1 (unknown):
URL: llms-txt#cancel-all-orders
Contents:
This endpoint requires a L2 Header.
Cancel all open orders posted by a user.
DELETE /<clob-endpoint>/cancel-all
| Name | Type | Description |
|---|---|---|
| canceled | string[] | list of canceled orders |
| not_canceled | {} | a order id -> reason map that explains why that order couldn't be canceled |
Examples:
Example 1 (unknown):
URL: llms-txt#polymarket-changelog
Source: https://docs.polymarket.com/changelog/changelog
Welcome to the Polymarket Changelog. Here you will find any important changes to Polymarket, including but not limited to CLOB, API, UI and Mobile Applications.
limit: 500offset: 1,000
get-book and get-books CLOB endpoints to include key market metadata that previously required separate queries.
min_order_size
neg_risk
tick_size
side field to the MakerOrder portion of the trade object. This field will indicate whether the maker order is a buy or sell, helping to clarify trade events where the maker side was previously ambiguous. For more details, refer to the MakerOrder object on the Get Trades page.
initial_dump
default: true
We’re excited to introduce a new order type soon to be available to all users: Fill and Kill (FAK). FAK orders behave similarly to the well-known Fill or Kil(FOK) orders, but with a key difference:
All API users will enjoy increased rate limits for the CLOB endpoints.
URL: llms-txt#splitting-usdc
Source: https://docs.polymarket.com/developers/CTF/split
At any time, after a condition has been prepared on the CTF contract (via prepareCondition), it is possible to "split" collateral into a full (position) set. In other words, one unit USDC can be split into 1 YES unit and 1 NO unit. If splitting from the collateral, the CTF contract will attempt to transfer amount collateral from the message sender to itself. If successful, amount stake will be minted in the split target positions. If any of the transfers, mints, or burns fail, the transaction will revert. The transaction will also revert if the given partition is trivial, invalid, or refers to more slots than the condition is prepared with. This operation happens via the splitPosition() function on the CTF contract with the following parameters:
collateralToken: IERC20 - The address of the positions' backing collateral token.parentCollectionId: bytes32 - The ID of the outcome collections common to the position being split and the split target positions. Null in Polymarket case.conditionId: bytes32 - The ID of the condition to split on.partition: uint[] - An array of disjoint index sets representing a nontrivial partition of the outcome slots of the given condition. E.G. A|B and C but not A|B and B|C (is not disjoint). Each element's a number which, together with the condition, represents the outcome collection. E.G. 0b110 is A|B, 0b010 is B, etc. In the Polymarket case 1|2.amount - The amount of collateral or stake to split. Also the number of full sets to receive.URL: llms-txt#merging-tokens
Source: https://docs.polymarket.com/developers/CTF/merge
In addition to splitting collateral for a full set, the inverse can also happen; a full set can be "merged" for collateral. This operation can again happen at any time after a condition has been prepared on the CTF contract. One unit of each position in a full set is burned in return for 1 collateral unit. This operation happens via the mergePositions() function on the CTF contract with the following parameters:
collateralToken: IERC20 - The address of the positions' backing collateral token.parentCollectionId: bytes32 - The ID of the outcome collections common to the position being merged and the merge target positions. Null in Polymarket case.conditionId: bytes32 - The ID of the condition to merge on.partition: uint[] - An array of disjoint index sets representing a nontrivial partition of the outcome slots of the given condition. E.G. A|B and C but not A|B and B|C (is not disjoint). Each element's a number which, together with the condition, represents the outcome collection. E.G. 0b110 is A|B, 0b010 is B, etc. In the Polymarket case 1|2.amount - The number of full sets to merge. Also the amount of collateral to receive.URL: llms-txt#your-first-order
Source: https://docs.polymarket.com/quickstart/orders/first-order
Placing your first order using one of our two Clients is relatively straightforward.
For Python: pip install py-clob-client.
For Typescript: npm install polymarket/clob-client & npm install ethers.
After installing one of those you will be able to run the below code. Take the time to fill in the constants at the top and ensure you're using the proper signature type based on your login method. Many additional examples for the Typescript and Python clients are available here(TS) and here(Python) .
negrisk=Falseinvalid signature error, likely due to one of the following.not enough balance / allowance.Examples:
Example 1 (unknown):
URL: llms-txt#paginating-through-markets-with-tag-filtering
curl "https://gamma-api.polymarket.com/markets?tag_id=100381&closed=false&limit=25&offset=0" bash theme={null}
Examples:
Example 1 (unknown):
URL: llms-txt#reedeeming-tokens
Source: https://docs.polymarket.com/developers/CTF/redeem
Once a condition has had it's payouts reported (ie by the UMACTFAdapter calling reportPayouts on the CTF contract), users with shares in the winning outcome can redeem them for the underlying collateral. Specifically, users can call the redeemPositions function on the CTF contract which will burn all valuable conditional tokens in return for collateral according to the reported payout vector. This function has the following parameters:
collateralToken: IERC20 - The address of the positions' backing collateral token.parentCollectionId: bytes32 - The ID of the outcome collections common to the position being redeemed. Null in Polymarket case.indexSets: uint[] - The ID of the condition to redeem.indexSets: uint[] - An array of disjoint index sets representing a nontrivial partition of the outcome slots of the given condition. E.G. A|B and C but not A|B and B|C (is not disjoint). Each element's a number which, together with the condition, represents the outcome collection. E.G. 0b110 is A|B, 0b010 is B, etc. In the Polymarket case 1|2.URL: llms-txt#get-trades
Contents:
Source: https://docs.polymarket.com/developers/CLOB/trades/trades
This endpoint requires a L2 Header.
Get trades for the authenticated user based on the provided filters.
GET /<clob-endpoint>/data/trades
| Name | Required | Type | Description |
|---|---|---|---|
| id | no | string | id of trade to fetch |
| taker | no | string | address to get trades for where it is included as a taker |
| maker | no | string | address to get trades for where it is included as a maker |
| market | no | string | market for which to get the trades (condition ID) |
| before | no | string | unix timestamp representing the cutoff up to which trades that happened before then can be included |
| after | no | string | unix timestamp representing the cutoff for which trades that happened after can be included |
| Name | Type | Description |
|---|---|---|
| null | Trade[] | list of trades filtered by query parameters |
A Trade object is of the form:
| Name | Type | Description |
|---|---|---|
| id | string | trade id |
| taker_order_id | string | hash of taker order (market order) that catalyzed the trade |
| market | string | market id (condition id) |
| asset_id | string | asset id (token id) of taker order (market order) |
| side | string | buy or sell |
| size | string | size |
| fee_rate_bps | string | the fees paid for the taker order expressed in basic points |
| price | string | limit price of taker order |
| status | string | trade status (see above) |
| match_time | string | time at which the trade was matched |
| last_update | string | timestamp of last status update |
| outcome | string | human readable outcome of the trade |
| maker_address | string | funder address of the taker of the trade |
| owner | string | api key of taker of the trade |
| transaction_hash | string | hash of the transaction where the trade was executed |
| bucket_index | integer | index of bucket for trade in case trade is executed in multiple transactions |
| maker_orders | MakerOrder[] | list of the maker trades the taker trade was filled against |
| type | string | side of the trade: TAKER or MAKER |
A MakerOrder object is of the form:
| Name | Type | Description |
|---|---|---|
| order_id | string | id of maker order |
| maker_address | string | maker address of the order |
| owner | string | api key of the owner of the order |
| matched_amount | string | size of maker order consumed with this trade |
| fee_rate_bps | string | the fees paid for the taker order expressed in basic points |
| price | string | price of maker order |
| asset_id | string | token/asset id |
| outcome | string | human readable outcome of the maker order |
| side | string | the side of the maker order. Can be buy or sell |
Examples:
Example 1 (unknown):
URL: llms-txt#market-channel
Contents:
Source: https://docs.polymarket.com/developers/CLOB/websocket/market-channel
Public channel for updates related to market updates (level 2 price data).
<wss-channel> market
| Name | Type | Description |
|---|---|---|
| event_type | string | "book" |
| asset_id | string | asset ID (token ID) |
| market | string | condition ID of market |
| timestamp | string | unix timestamp the current book generation in milliseconds (1/1,000 second) |
| hash | string | hash summary of the orderbook content |
| buys | OrderSummary[] | list of type (size, price) aggregate book levels for buys |
| sells | OrderSummary[] | list of type (size, price) aggregate book levels for sells |
Where a OrderSummary object is of the form:
| Name | Type | Description |
|---|---|---|
| price | string | size available at that price level |
| size | string | price of the orderbook level |
| Name | Type | Description |
|---|---|---|
| event_type | string | "price_change" |
| market | string | condition ID of market |
| price_changes | PriceChange[] | array of price change objects |
| timestamp | string | unix timestamp in milliseconds |
Where a PriceChange object is of the form:
| Name | Type | Description |
|---|---|---|
| asset_id | string | asset ID (token ID) |
| price | string | price level affected |
| size | string | new aggregate size for price level |
| side | string | "BUY" or "SELL" |
| hash | string | hash of the order |
| best_bid | string | current best bid price |
| best_ask | string | current best ask price |
| Name | Type | Description |
|---|---|---|
| event_type | string | "price_change" |
| asset_id | string | asset ID (token ID) |
| market | string | condition ID of market |
| old_tick_size | string | previous minimum tick size |
| new_tick_size | string | current minimum tick size |
| side | string | buy/sell |
| timestamp | string | time of event |
Examples:
Example 1 (unknown):
## price\_change Message
<div style={{backgroundColor: '#fff3cd', border: '1px solid #ffeaa7', borderRadius: '4px', padding: '12px', marginBottom: '16px'}}>
<strong>⚠️ Breaking Change Notice:</strong> The price\_change message schema will be updated on September 15, 2025 at 11 PM UTC. Please see the [migration guide](/developers/CLOB/websocket/market-channel-migration-guide) for details.
</div>
Emitted When:
* A new order is placed
* An order is cancelled
### Structure
| Name | Type | Description |
| -------------- | -------------- | ------------------------------ |
| event\_type | string | "price\_change" |
| market | string | condition ID of market |
| price\_changes | PriceChange\[] | array of price change objects |
| timestamp | string | unix timestamp in milliseconds |
Where a `PriceChange` object is of the form:
| Name | Type | Description |
| --------- | ------ | ---------------------------------- |
| asset\_id | string | asset ID (token ID) |
| price | string | price level affected |
| size | string | new aggregate size for price level |
| side | string | "BUY" or "SELL" |
| hash | string | hash of the order |
| best\_bid | string | current best bid price |
| best\_ask | string | current best ask price |
Example 2 (unknown):
## tick\_size\_change Message
Emitted When:
* The minimum tick size of the market changes. This happens when the book's price reaches the limits: price > 0.96 or price \< 0.04
### Structure
| Name | Type | Description |
| --------------- | ------ | -------------------------- |
| event\_type | string | "price\_change" |
| asset\_id | string | asset ID (token ID) |
| market | string | condition ID of market |
| old\_tick\_size | string | previous minimum tick size |
| new\_tick\_size | string | current minimum tick size |
| side | string | buy/sell |
| timestamp | string | time of event |
Example 3 (unknown):
## last\_trade\_price Message
Emitted When:
* When a maker and taker order is matched creating a trade event.
URL: llms-txt#cancel-orders-from-market
Contents:
This endpoint requires a L2 Header.
Cancel orders from market.
DELETE /<clob-endpoint>/cancel-market-orders
| Name | Required | Type | Description |
|---|---|---|---|
| market | no | string | condition id of the market |
| asset_id | no | string | id of the asset/token |
| Name | Type | Description |
|---|---|---|
| canceled | string[] | list of canceled orders |
| not_canceled | {} | a order id -> reason map that explains why that order couldn't be canceled |
Examples:
Example 1 (unknown):
URL: llms-txt#page-3:-next-50-results-(offset=100)
curl "https://gamma-api.polymarket.com/events?order=id&ascending=false&closed=false&limit=50&offset=100" bash theme={null}
Examples:
Example 1 (unknown):
URL: llms-txt#cancel-multiple-orders
Contents:
This endpoint requires a L2 Header.
DELETE /<clob-endpoint>/orders
| Name | Required | Type | Description |
|---|---|---|---|
| null | yes | string[] | IDs of the orders to cancel |
| Name | Type | Description |
|---|---|---|
| canceled | string[] | list of canceled orders |
| not_canceled | {} | a order id -> reason map that explains why that order couldn't be canceled |
Examples:
Example 1 (unknown):
URL: llms-txt#user-channel
Contents:
Source: https://docs.polymarket.com/developers/CLOB/websocket/user-channel
Authenticated channel for updates related to user activities (orders, trades), filtered for authenticated user by apikey.
| Name | Type | Description |
|---|---|---|
| asset_id | string | asset id (token ID) of order (market order) |
| event_type | string | "trade" |
| id | string | trade id |
| last_update | string | time of last update to trade |
| maker_orders | MakerOrder[] | array of maker order details |
| market | string | market identifier (condition ID) |
| matchtime | string | time trade was matched |
| outcome | string | outcome |
| owner | string | api key of event owner |
| price | string | price |
| side | string | BUY/SELL |
| size | string | size |
| status | string | trade status |
| taker_order_id | string | id of taker order |
| timestamp | string | time of event |
| trade_owner | string | api key of trade owner |
| type | string | "TRADE" |
Where a MakerOrder object is of the form:
| Name | Type | Description |
|---|---|---|
| asset_id | string | asset of the maker order |
| matched_amount | string | amount of maker order matched in trade |
| order_id | string | maker order ID |
| outcome | string | outcome |
| owner | string | owner of maker order |
| price | string | price of maker order |
| Name | Type | Description |
|---|---|---|
| asset_id | string | asset ID (token ID) of order |
| associate_trades | string[] | array of ids referencing trades that the order has been included in |
| event_type | string | "order" |
| id | string | order id |
| market | string | condition ID of market |
| order_owner | string | owner of order |
| original_size | string | original order size |
| outcome | string | outcome |
| owner | string | owner of orders |
| price | string | price of order |
| side | string | BUY/SELL |
| size_matched | string | size of order that has been matched |
| timestamp | string | time of event |
| type | string | PLACEMENT/UPDATE/CANCELLATION |
Examples:
Example 1 (unknown):
## Order Message
Emitted when:
* When an order is placed (PLACEMENT)
* When an order is updated (some of it is matched) (UPDATE)
* When an order is canceled (CANCELLATION)
### Structure
| Name | Type | Description |
| ----------------- | --------- | ------------------------------------------------------------------- |
| asset\_id | string | asset ID (token ID) of order |
| associate\_trades | string\[] | array of ids referencing trades that the order has been included in |
| event\_type | string | "order" |
| id | string | order id |
| market | string | condition ID of market |
| order\_owner | string | owner of order |
| original\_size | string | original order size |
| outcome | string | outcome |
| owner | string | owner of orders |
| price | string | price of order |
| side | string | BUY/SELL |
| size\_matched | string | size of order that has been matched |
| timestamp | string | time of event |
| type | string | PLACEMENT/UPDATE/CANCELLATION |
URL: llms-txt#detail
Market
Event
URL: llms-txt#get-active-orders
Contents:
Source: https://docs.polymarket.com/developers/CLOB/orders/get-active-order
This endpoint requires a L2 Header.
Get active order(s) for a specific market.
GET /<clob-endpoint>/data/orders
| Name | Required | Type | Description |
|---|---|---|---|
| id | no | string | id of order to get information about |
| market | no | string | condition id of market |
| asset_id | no | string | id of the asset/token |
| Name | Type | Description |
|---|---|---|
| null | OpenOrder[] | list of open orders filtered by the query parameters |
Examples:
Example 1 (unknown):
URL: llms-txt#check-if-some-orders-are-scoring
Contents:
This endpoint requires a L2 Header.
Returns to a dictionary with boolean value where it is indicated if an order is scoring or not.
POST /<clob-endpoint>/orders-scoring
| Name | Required | Type | Description |
|---|---|---|---|
| orderIds | yes | string[] | ids of the orders to get information about |
| Name | Type | Description |
|---|---|---|
| null | OrdersScoring | orders scoring data |
An OrdersScoring object is a dictionary that indicates the order by if it score.
Examples:
Example 1 (unknown):
URL: llms-txt#check-order-reward-scoring
Contents:
Source: https://docs.polymarket.com/developers/CLOB/orders/check-scoring
Check if an order is eligble or scoring for Rewards purposes
This endpoint requires a L2 Header.
Returns a boolean value where it is indicated if an order is scoring or not.
GET /<clob-endpoint>/order-scoring?order_id={...}
| Name | Required | Type | Description |
|---|---|---|---|
| orderId | yes | string | id of order to get information about |
| Name | Type | Description |
|---|---|---|
| null | OrdersScoring | order scoring data |
An OrdersScoring object is of the form:
| Name | Type | Description |
|---|---|---|
| scoring | boolean | indicates if the order is scoring or not |