For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Support Center
OverviewAPIResources
OverviewAPIResources
  • REST API Endpoints
    • GETGet Timestamp
    • GETO IDC User Info
      • POSTAccess Token Request
      • GETChallenge
      • POSTCountry Is Banned
      • POSTGet Product
      • GETJ WKS
      • GETMe
      • POSTO Auth Token
      • GETProducts
      • GETRenew Access Token
      • POSTSearch
      • GETWell Known Openid Configuration
Support Center
LogoLogo
REST API EndpointsAuthentication

Country Is Banned

POST
https://demo-d.tradovateapi.com/v1/countries/countryisbanned
POST
/v1/countries/countryisbanned
1const url = 'https://demo-d.tradovateapi.com/v1/countries/countryisbanned';
2const options = {
3 method: 'POST',
4 headers: {'Content-Type': 'application/json'},
5 body: '{"countryCode":"string"}'
6};
7
8try {
9 const response = await fetch(url, options);
10 const data = await response.json();
11 console.log(data);
12} catch (error) {
13 console.error(error);
14}
200Successful
1{
2 "errorText": "string",
3 "isBanned": true
4}
Was this page helpful?
Previous

Get Product

Next
Built with

Request

This endpoint expects an object.
countryCodestringRequired<=64 characters

Response

CountryIsBannedResponse
errorTextstring<=8192 characters

Non-empty if the request failed

isBannedboolean