Geoblocking
The Context API enforces geographic restrictions on mainnet only. Orders submitted from blocked countries will be rejected.The testnet has no geographic restrictions. See Testnet differences for details.
Blocked countries (mainnet)
The following countries are blocked from placing orders on mainnet. API requests originating from these locations will be rejected with a403 Forbidden response.
| Country | ISO code |
|---|---|
| United States of America | US |
| United Kingdom | GB |
| France | FR |
| Singapore | SG |
| Poland | PL |
| Thailand | TH |
| Belgium | BE |
| Taiwan | TW |
How it works
When you submit an order to the mainnet API, your request’s IP address is checked against a geographic database. If your IP resolves to a blocked country, the request is rejected before reaching the order matching engine. This applies to:- All
POST /ordersendpoints (single, bulk, cancel-replace) - Any endpoint that results in a new position being opened