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

Get asset availability for the caller's country

Organization tokenNo token

GET
/assets/availability

Returns the product types and asset classes the caller may trade, based on the country the request originates from. Both lists are allowlists, so a product type that is absent is not available. The response varies per caller, so it is not edge-cached, and the bearer token is optional but should be sent when the caller has one.

These lists describe the venues we run. DeFi spot crypto is held on the caller's own keys and stays tradeable regardless of country, so empty lists do not mean nothing can be traded — a country that is fully restricted, or one that cannot be resolved at all, returns empty lists while DeFi spot crypto orders are still accepted.

Authorization

bearerAuth
headerAuthorizationBearer <JWT>

An access token from POST /v1/auth/api-key/token. An organization token lasts one hour and has no refresh token; a personal token can be refreshed.

Response Body

Availability retrieved successfully

application/json
  1. response

Asset families the caller's country is allowed to trade

country*string

ISO 3166-1 alpha-2 country the request resolved to, or XX when it could not be resolved.

Match^[A-Z]{2}$
allowed_product_types*array<>

Product types the country may trade. Empty means none.

allowed_asset_classes*array<>

Asset classes the country may trade. Empty means none.

Example Request
curl -X GET 'https://api.truemarkets.co/v1/gateway/assets/availability'
Example Response
{  "country": "US",  "allowed_product_types": [    "spot",    "perp"  ],  "allowed_asset_classes": [    "crypto"  ]}