docs: daily sync Polymarket docs 2026-07-06 - refresh 35 updated files

This commit is contained in:
GLaDOS
2026-07-06 14:12:55 +02:00
parent 863349452c
commit b8495f560c
35 changed files with 296 additions and 222 deletions
+64 -52
View File
@@ -46,64 +46,76 @@ GET https://polymarket.com/api/geoblock
***
## Blocked Countries
## Restricted Jurisdictions
The following countries are restricted from placing orders on Polymarket. Countries marked as **close-only** can close existing positions but cannot open new ones. Countries marked as **frontend UI restricted** are blocked only on the Polymarket frontend; the API itself is not restricted:
Restrictions fall into three groups. **Block completely** means no new orders and no closing of existing positions. **Close-only** means users can close existing positions but cannot open new ones. Each group notes whether it applies on the frontend, the API, or both. Codes are ISO 3166-1 alpha-2 for countries and ISO 3166-2 for sub-national regions.
| Country Code | Country Name | Status |
| ------------ | ------------------------------------ | --------------------------------- |
| AU | Australia | Blocked |
| BE | Belgium | Blocked |
| BY | Belarus | Blocked |
| BI | Burundi | Blocked |
| BR | Brazil | Blocked |
| CF | Central African Republic | Blocked |
| CD | Congo (Kinshasa) | Blocked |
| CU | Cuba | Blocked |
| DE | Germany | Blocked |
| ET | Ethiopia | Blocked |
| FR | France | Blocked |
| GB | United Kingdom | Blocked |
| IR | Iran | Blocked |
| IQ | Iraq | Blocked |
| IT | Italy | Blocked |
| JP | Japan | Frontend UI restricted |
| KP | North Korea | Blocked |
| LB | Lebanon | Blocked |
| LY | Libya | Blocked |
| MM | Myanmar | Blocked |
| MT | Malta | Frontend restricted (sports only) |
| NI | Nicaragua | Blocked |
| NL | Netherlands | Blocked |
| PL | Poland | Close-only |
| RU | Russia | Blocked |
| SG | Singapore | Close-only |
| SK | Slovakia | Blocked |
| SO | Somalia | Blocked |
| SS | South Sudan | Blocked |
| SD | Sudan | Blocked |
| SY | Syria | Blocked |
| TH | Thailand | Close-only |
| TW | Taiwan | Close-only |
| UM | United States Minor Outlying Islands | Blocked |
| US | United States | Blocked |
| VE | Venezuela | Blocked |
| YE | Yemen | Blocked |
| ZW | Zimbabwe | Blocked |
### OFAC-Sanctioned Jurisdictions (Block Completely)
***
Blocked on both the frontend and the API. No new orders, and existing positions cannot be closed.
## Blocked Regions
| Jurisdiction | Code |
| ----------------- | ----- |
| Iran | IR |
| Syria | SY |
| Cuba | CU |
| North Korea | KP |
| Ukraine — Crimea | UA-43 |
| Ukraine — Donetsk | UA-14 |
| Ukraine — Luhansk | UA-09 |
In addition to fully blocked countries, the following specific regions within otherwise accessible countries are also restricted:
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend and API)
| Country | Region | Region Code |
| ------------ | ------- | ----------- |
| Canada (CA) | Ontario | ON |
| Canada (CA) | Quebec | QC |
| Ukraine (UA) | Crimea | 43 |
| Ukraine (UA) | Donetsk | 14 |
| Ukraine (UA) | Luhansk | 09 |
Users can close existing positions but cannot open new ones, on both the frontend and the API.
| Jurisdiction | Code |
| ------------------------------------ | ----- |
| Australia | AU |
| Belarus | BY |
| Belgium | BE |
| Burundi | BI |
| Brazil | BR |
| Canada — British Columbia | CA-BC |
| Canada — Ontario | CA-ON |
| Canada — Alberta | CA-AB |
| Canada — Quebec | CA-QC |
| Central African Republic | CF |
| Congo (Kinshasa) | CD |
| Ethiopia | ET |
| France | FR |
| Germany | DE |
| Iraq | IQ |
| Italy | IT |
| Lebanon | LB |
| Libya | LY |
| Myanmar | MM |
| Nicaragua | NI |
| North Korea | KP |
| Poland | PL |
| Russia | RU |
| Singapore | SG |
| Somalia | SO |
| Slovakia | SK |
| South Sudan | SS |
| Sudan | SD |
| Taiwan | TW |
| Thailand | TH |
| United Kingdom | GB |
| United States | US |
| United States Minor Outlying Islands | UM |
| Venezuela | VE |
| Yemen | YE |
| Zimbabwe | ZW |
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend)
Close-only on the Polymarket frontend; the API itself is not restricted.
| Jurisdiction | Code |
| ------------------- | ---- |
| Japan | JP |
| Netherlands | NL |
| Malta (Sports Only) | MT |
***
+4
View File
@@ -1102,6 +1102,10 @@ Secure clients expose the API credentials created for the authenticated session.
## Changelog
### `0.1.0b13`
* Require GTD limit order expirations to be at least 3 minutes in the future.
### `0.1.0b12`
* Support CLOB order tick sizes `0.005` and `0.0025`.
+4
View File
@@ -1103,6 +1103,10 @@ Secure clients expose the API credentials created for the authenticated session.
## Changelog
### `0.1.0-beta.12`
* Require GTD limit order expirations to be at least 3 minutes in the future.
### `0.1.0-beta.11`
* Support CLOB order tick sizes `0.005` and `0.0025`.
+64 -52
View File
@@ -46,64 +46,76 @@ GET https://polymarket.com/api/geoblock
***
## Blocked Countries
## Restricted Jurisdictions
The following countries are restricted from placing orders on Polymarket. Countries marked as **close-only** can close existing positions but cannot open new ones. Countries marked as **frontend UI restricted** are blocked only on the Polymarket frontend; the API itself is not restricted:
Restrictions fall into three groups. **Block completely** means no new orders and no closing of existing positions. **Close-only** means users can close existing positions but cannot open new ones. Each group notes whether it applies on the frontend, the API, or both. Codes are ISO 3166-1 alpha-2 for countries and ISO 3166-2 for sub-national regions.
| Country Code | Country Name | Status |
| ------------ | ------------------------------------ | --------------------------------- |
| AU | Australia | Blocked |
| BE | Belgium | Blocked |
| BY | Belarus | Blocked |
| BI | Burundi | Blocked |
| BR | Brazil | Blocked |
| CF | Central African Republic | Blocked |
| CD | Congo (Kinshasa) | Blocked |
| CU | Cuba | Blocked |
| DE | Germany | Blocked |
| ET | Ethiopia | Blocked |
| FR | France | Blocked |
| GB | United Kingdom | Blocked |
| IR | Iran | Blocked |
| IQ | Iraq | Blocked |
| IT | Italy | Blocked |
| JP | Japan | Frontend UI restricted |
| KP | North Korea | Blocked |
| LB | Lebanon | Blocked |
| LY | Libya | Blocked |
| MM | Myanmar | Blocked |
| MT | Malta | Frontend restricted (sports only) |
| NI | Nicaragua | Blocked |
| NL | Netherlands | Blocked |
| PL | Poland | Close-only |
| RU | Russia | Blocked |
| SG | Singapore | Close-only |
| SK | Slovakia | Blocked |
| SO | Somalia | Blocked |
| SS | South Sudan | Blocked |
| SD | Sudan | Blocked |
| SY | Syria | Blocked |
| TH | Thailand | Close-only |
| TW | Taiwan | Close-only |
| UM | United States Minor Outlying Islands | Blocked |
| US | United States | Blocked |
| VE | Venezuela | Blocked |
| YE | Yemen | Blocked |
| ZW | Zimbabwe | Blocked |
### OFAC-Sanctioned Jurisdictions (Block Completely)
***
Blocked on both the frontend and the API. No new orders, and existing positions cannot be closed.
## Blocked Regions
| Jurisdiction | Code |
| ----------------- | ----- |
| Iran | IR |
| Syria | SY |
| Cuba | CU |
| North Korea | KP |
| Ukraine — Crimea | UA-43 |
| Ukraine — Donetsk | UA-14 |
| Ukraine — Luhansk | UA-09 |
In addition to fully blocked countries, the following specific regions within otherwise accessible countries are also restricted:
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend and API)
| Country | Region | Region Code |
| ------------ | ------- | ----------- |
| Canada (CA) | Ontario | ON |
| Canada (CA) | Quebec | QC |
| Ukraine (UA) | Crimea | 43 |
| Ukraine (UA) | Donetsk | 14 |
| Ukraine (UA) | Luhansk | 09 |
Users can close existing positions but cannot open new ones, on both the frontend and the API.
| Jurisdiction | Code |
| ------------------------------------ | ----- |
| Australia | AU |
| Belarus | BY |
| Belgium | BE |
| Burundi | BI |
| Brazil | BR |
| Canada — British Columbia | CA-BC |
| Canada — Ontario | CA-ON |
| Canada — Alberta | CA-AB |
| Canada — Quebec | CA-QC |
| Central African Republic | CF |
| Congo (Kinshasa) | CD |
| Ethiopia | ET |
| France | FR |
| Germany | DE |
| Iraq | IQ |
| Italy | IT |
| Lebanon | LB |
| Libya | LY |
| Myanmar | MM |
| Nicaragua | NI |
| North Korea | KP |
| Poland | PL |
| Russia | RU |
| Singapore | SG |
| Somalia | SO |
| Slovakia | SK |
| South Sudan | SS |
| Sudan | SD |
| Taiwan | TW |
| Thailand | TH |
| United Kingdom | GB |
| United States | US |
| United States Minor Outlying Islands | UM |
| Venezuela | VE |
| Yemen | YE |
| Zimbabwe | ZW |
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend)
Close-only on the Polymarket frontend; the API itself is not restricted.
| Jurisdiction | Code |
| ------------------- | ---- |
| Japan | JP |
| Netherlands | NL |
| Malta (Sports Only) | MT |
***
File diff suppressed because one or more lines are too long
+9 -7
View File
@@ -636,9 +636,9 @@ RFQ system. Quoters should respond within the **400 ms** submission window.
* `notional`: the target value of the request in collateral currency. For
example, `"3"` means the user wants roughly 3 pUSD worth of the Combo, with the
resulting share size derived from the quote price.
resulting share size derived from the quote price. `notional` is always and only used by BUY requests.
* `shares`: the target number of Combo outcome tokens. For example, `"10"` means
the user wants 10 shares, or 10,000,000 base units.
the user wants 10 shares, or 10,000,000 base units. `shares` is always and only used by SELL requests.
In both cases, `value` is a normalized decimal string.
</Step>
@@ -716,9 +716,10 @@ RFQ system. Quoters should respond within the **400 ms** submission window.
* `RfqRequestedSizeUnit.NOTIONAL`: the target value of the request in collateral
currency. For example, `Decimal("3")` means the user wants roughly 3 pUSD worth
of the Combo, with the resulting share size derived from the quote price.
BUY RFQs will always use `NOTIONAL`.
* `RfqRequestedSizeUnit.SHARES`: the target number of Combo outcome tokens. For
example, `Decimal("10")` means the user wants 10 shares, or 10,000,000 base
units.
units. SELL RFQs will always use `SHARES`.
In both cases, `value` is a `Decimal`.
</Step>
@@ -765,7 +766,7 @@ RFQ system. Quoters should respond within the **400 ms** submission window.
"condition_id": "<condition_id>",
"yes_position_id": "<yes_position_id>",
"no_position_id": "<no_position_id>",
"direction": "SELL",
"direction": "BUY",
"side": "YES",
"requested_size": {
"unit": "notional",
@@ -795,9 +796,10 @@ RFQ system. Quoters should respond within the **400 ms** submission window.
```
</CodeGroup>
A `notional` request specifies a target pUSD amount; the fillable share size is
derived from the quote price. A `shares` request specifies the exact number of
Combo outcome tokens requested.
A `BUY` request always uses `notional` sizing, which specifies a target pUSD
amount and derives the fillable share size from the quote price. A `SELL`
request always uses `shares` sizing, which specifies the exact number of Combo
outcome tokens requested to sell.
</Step>
<Step title="Build the Order">
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+64 -52
View File
@@ -46,64 +46,76 @@ GET https://polymarket.com/api/geoblock
***
## Blocked Countries
## Restricted Jurisdictions
The following countries are restricted from placing orders on Polymarket. Countries marked as **close-only** can close existing positions but cannot open new ones. Countries marked as **frontend UI restricted** are blocked only on the Polymarket frontend; the API itself is not restricted:
Restrictions fall into three groups. **Block completely** means no new orders and no closing of existing positions. **Close-only** means users can close existing positions but cannot open new ones. Each group notes whether it applies on the frontend, the API, or both. Codes are ISO 3166-1 alpha-2 for countries and ISO 3166-2 for sub-national regions.
| Country Code | Country Name | Status |
| ------------ | ------------------------------------ | --------------------------------- |
| AU | Australia | Blocked |
| BE | Belgium | Blocked |
| BY | Belarus | Blocked |
| BI | Burundi | Blocked |
| BR | Brazil | Blocked |
| CF | Central African Republic | Blocked |
| CD | Congo (Kinshasa) | Blocked |
| CU | Cuba | Blocked |
| DE | Germany | Blocked |
| ET | Ethiopia | Blocked |
| FR | France | Blocked |
| GB | United Kingdom | Blocked |
| IR | Iran | Blocked |
| IQ | Iraq | Blocked |
| IT | Italy | Blocked |
| JP | Japan | Frontend UI restricted |
| KP | North Korea | Blocked |
| LB | Lebanon | Blocked |
| LY | Libya | Blocked |
| MM | Myanmar | Blocked |
| MT | Malta | Frontend restricted (sports only) |
| NI | Nicaragua | Blocked |
| NL | Netherlands | Blocked |
| PL | Poland | Close-only |
| RU | Russia | Blocked |
| SG | Singapore | Close-only |
| SK | Slovakia | Blocked |
| SO | Somalia | Blocked |
| SS | South Sudan | Blocked |
| SD | Sudan | Blocked |
| SY | Syria | Blocked |
| TH | Thailand | Close-only |
| TW | Taiwan | Close-only |
| UM | United States Minor Outlying Islands | Blocked |
| US | United States | Blocked |
| VE | Venezuela | Blocked |
| YE | Yemen | Blocked |
| ZW | Zimbabwe | Blocked |
### OFAC-Sanctioned Jurisdictions (Block Completely)
***
Blocked on both the frontend and the API. No new orders, and existing positions cannot be closed.
## Blocked Regions
| Jurisdiction | Code |
| ----------------- | ----- |
| Iran | IR |
| Syria | SY |
| Cuba | CU |
| North Korea | KP |
| Ukraine — Crimea | UA-43 |
| Ukraine — Donetsk | UA-14 |
| Ukraine — Luhansk | UA-09 |
In addition to fully blocked countries, the following specific regions within otherwise accessible countries are also restricted:
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend and API)
| Country | Region | Region Code |
| ------------ | ------- | ----------- |
| Canada (CA) | Ontario | ON |
| Canada (CA) | Quebec | QC |
| Ukraine (UA) | Crimea | 43 |
| Ukraine (UA) | Donetsk | 14 |
| Ukraine (UA) | Luhansk | 09 |
Users can close existing positions but cannot open new ones, on both the frontend and the API.
| Jurisdiction | Code |
| ------------------------------------ | ----- |
| Australia | AU |
| Belarus | BY |
| Belgium | BE |
| Burundi | BI |
| Brazil | BR |
| Canada — British Columbia | CA-BC |
| Canada — Ontario | CA-ON |
| Canada — Alberta | CA-AB |
| Canada — Quebec | CA-QC |
| Central African Republic | CF |
| Congo (Kinshasa) | CD |
| Ethiopia | ET |
| France | FR |
| Germany | DE |
| Iraq | IQ |
| Italy | IT |
| Lebanon | LB |
| Libya | LY |
| Myanmar | MM |
| Nicaragua | NI |
| North Korea | KP |
| Poland | PL |
| Russia | RU |
| Singapore | SG |
| Somalia | SO |
| Slovakia | SK |
| South Sudan | SS |
| Sudan | SD |
| Taiwan | TW |
| Thailand | TH |
| United Kingdom | GB |
| United States | US |
| United States Minor Outlying Islands | UM |
| Venezuela | VE |
| Yemen | YE |
| Zimbabwe | ZW |
### Regulatory-Restricted Jurisdictions (Close-Only on Frontend)
Close-only on the Polymarket frontend; the API itself is not restricted.
| Jurisdiction | Code |
| ------------------- | ---- |
| Japan | JP |
| Netherlands | NL |
| Malta (Sports Only) | MT |
***
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long