For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/gateway/get-asset-restrictions.md.

List country restrictions

GET
/assets/restrictions

Returns the countries each set of assets can't be traded from. Each rule selects assets by one GET /assets filter. An asset is unavailable from a country if any rule that matches it lists that country. Assets that match no rule, such as DeFi spot crypto, have no restrictions.

Response Body

The restriction rules.

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.truemarkets.co/v1/gateway/assets/restrictions'
Example Response
{  "data": [    {      "venue": "cefi",      "countries": [        {          "code": "AF",          "name": "Afghanistan"        }      ]    },    {      "product_type": "perp",      "countries": [        {          "code": "AF",          "name": "Afghanistan"        },        {          "code": "CA",          "name": "Canada"        },        {          "code": "US",          "name": "United States"        }      ]    },    {      "asset_class": "stock",      "countries": [        {          "code": "AF",          "name": "Afghanistan"        },        {          "code": "US",          "name": "United States"        }      ]    }  ]}