Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.
GET
/
v1
/
restricted-countries
List restricted countries
curl --request GET \
--url https://developers.myfundedperpetuals.com/v1/restricted-countries
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"MyFundedPerps Documentation","description":"Product guides, settings reference, and developer API documentation for MyFundedPerps.","colors":{"primary":"#1FA66D","light":"#36CF8F","dark":"#178154"},"logo":{"light":"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-light.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=cebe735a42f06ca5d2e4b567f53ed8af","dark":"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-dark.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=ea7bd47667966a4236f2ac14e298a94e","href":"https://myfundedperpetuals.com"},"favicon":"https://mintcdn.com/my-funded-perps/rdzqjiFhppEo_sEz/icon.svg?fit=max\u0026auto=format\u0026n=rdzqjiFhppEo_sEz\u0026q=85\u0026s=363c05a1c553e09ac5d1de9004defc84","appearance":{"default":"system"},"navbar":{"links":[{"href":"https://myfundedperpetuals.com/trade","label":"Trading Platform"}],"primary":{"type":"button","label":"Create API Key","href":"https://myfundedperpetuals.com/settings?section=api-keys"}},"footer":{"socials":{"website":"https://myfundedperpetuals.com"}},"search":{"prompt":"Search rules, guides, and API..."},"seo":{"organization":{"name":"MyFundedPerps","url":"https://myfundedperpetuals.com","sameAs":["https://x.com/MyFundedPerps","https://www.instagram.com/myfundedperps_/","https://github.com/MyFundedPerps"]},"indexing":"navigable"},"integrations":{"telemetry":{"enabled":true}},"contextual":{"options":["copy","view","chatgpt","claude","cursor","vscode"],"display":"header"},"markdown":{"schema":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"my-funded-perps","hasAudioNarration":false,"actualSubdomain":"my-funded-perps","customDomains":["docs.myfundedperpetuals.com"],"gitSource":{"type":"github","owner":"myfundedperps","repo":"myfundedperps","deployBranch":"main","contentDirectory":"apps/docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6adfdd9311e9661cd0501ff5","collectionId":"f7459b2e-2383-4e9e-80e0-13d2bb4a5201","liveDeploymentHistoryId":"6adfdd9311e9661cd0501ff5","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6adfe69c665d32da9861a60e","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"Developers Guide","count":50},{"language":"default","tag":"Buyers Guide","count":40},{"language":"default","tag":"REST Reference","count":37},{"language":"default","tag":"Guides","count":19},{"language":"default","tag":"Developer API (Beta)","count":13},{"language":"default","tag":"Settings","count":13},{"language":"default","tag":"Accounts","count":9},{"language":"default","tag":"Strategy Orders","count":8},{"language":"default","tag":"Challenge Lifecycle","count":7},{"language":"default","tag":"Orders","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/general/list-restricted-countries","slug":"/api-reference/general/list-restricted-countries","pageMetadata":{"title":"List restricted countries","description":"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/restricted-countries","href":"/api-reference/general/list-restricted-countries","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"List restricted countries","description":"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/restricted-countries","href":"/api-reference/general/list-restricted-countries","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"listRestrictedCountries","summary":"List restricted countries","description":"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.","tags":["General"],"security":[],"responses":{"200":"d2f79545-e39c-4255-8e4a-aec9a0cd3ef7","429":"a29ba09a-daaa-474e-bf0e-e0c1bf62cf5a"},"method":"get","type":"path","servers":["0bce700c-8f47-4d28-93c4-8c6a54f774e1","2fbded66-8dd6-4643-8b01-0e3f9d2ff197"],"path":"/v1/restricted-countries","baseUrlOptions":["https://developers.myfundedperpetuals.com","https://sandbox.myfundedperpetuals.com"],"title":"List restricted countries","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"responses":{"d2f79545-e39c-4255-8e4a-aec9a0cd3ef7":{"description":"Restricted countries.","content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code.","example":"KP","isRequired":true,"uniqueKey":"data.items.[INDEX].country","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"country":"KP"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"a29ba09a-daaa-474e-bf0e-e0c1bf62cf5a":{"description":"The per-IP request limit or an account-wide operation budget is exhausted.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer","minimum":1}},"X-Request-Id":{"description":"Stable identifier for support and log correlation.","schema":{"type":"string","format":"uuid"}}},"content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"},"request_id":{"type":"string","format":"uuid","isRequired":true,"uniqueKey":"error.request_id","typeLabel":"string\u003cuuid>"},"details":{"type":"array","description":"Present on request-validation failures, with one entry per invalid field so a request can be fixed in one pass.","items":{"type":"object","required":["field","issue"],"properties":{"field":{"type":"string","description":"Wire name of the offending request field, such as `size` or `operations[2].price`. The value `body` refers to the whole payload.","isRequired":true,"uniqueKey":"error.details.items.[INDEX].field","typeLabel":"string"},"issue":{"type":"string","isRequired":true,"uniqueKey":"error.details.items.[INDEX].issue","typeLabel":"string"}},"uniqueKey":"error.details.items.[INDEX]","typeLabel":"object"},"uniqueKey":"error.details","typeLabel":"object[]"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"\u003cstring>","message":"\u003cstring>","request_id":"3c90c3cc-0d44-4b50-8888-8dd25736052a","details":[{"field":"\u003cstring>","issue":"\u003cstring>"}]}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{},"servers":{"0bce700c-8f47-4d28-93c4-8c6a54f774e1":{"url":"https://developers.myfundedperpetuals.com","description":"Live"},"2fbded66-8dd6-4643-8b01-0e3f9d2ff197":{"url":"https://sandbox.myfundedperpetuals.com","description":"Sandbox (test keys and sandbox accounts only)"}}},"originalFileLocation":"openapi.yaml"},"subdomain":"my-funded-perps","siteName":"MyFundedPerps Documentation","title":"List restricted countries - MyFundedPerps Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-24T23:54:12.628Z","originalFileLocation":"api-reference/general/list-restricted-countries.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\">\u003cmeta data-mint-head name=\"application-name\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List restricted countries - MyFundedPerps Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://my-funded-perps.mintlify.app/_mintlify/api/og/v2?division=General\u0026amp;title=List+restricted+countries\u0026amp;description=Returns+the+ISO+3166-1+alpha-2+codes+of+every+country+whose+residents+cannot+register+or+purchase+challenges%2C+sorted+alphabetically.+No+API+key+is+required.+Res\u0026amp;theme=94835aa0e5a522f6511ee5ac\u0026amp;signature=e4f683d1bfc72600404eb079dac6e1ee7b26f87e9800cd08f94d8acc46271f3e\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List restricted countries - MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://my-funded-perps.mintlify.app/_mintlify/api/og/v2?division=General\u0026amp;title=List+restricted+countries\u0026amp;description=Returns+the+ISO+3166-1+alpha-2+codes+of+every+country+whose+residents+cannot+register+or+purchase+challenges%2C+sorted+alphabetically.+No+API+key+is+required.+Res\u0026amp;theme=94835aa0e5a522f6511ee5ac\u0026amp;signature=e4f683d1bfc72600404eb079dac6e1ee7b26f87e9800cd08f94d8acc46271f3e\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/my-funded-perps/REd-2uzEhUdc4sEx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"MyFundedPerps Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1FA66D\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/general/list-restricted-countries.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://myfundedperpetuals.com/#organization\",\"name\":\"MyFundedPerps\",\"url\":\"https://myfundedperpetuals.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/my-funded-perps/4fIdVX54Kxh8hflY/logo-light.svg?fit=max\u0026auto=format\u0026n=4fIdVX54Kxh8hflY\u0026q=85\u0026s=cebe735a42f06ca5d2e4b567f53ed8af\"},\"sameAs\":[\"https://x.com/MyFundedPerps\",\"https://www.instagram.com/myfundedperps_/\",\"https://github.com/MyFundedPerps\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.myfundedperpetuals.com#website\",\"name\":\"MyFundedPerps Documentation\",\"url\":\"https://docs.myfundedperpetuals.com\",\"publisher\":{\"@id\":\"https://myfundedperpetuals.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries#webpage\",\"url\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries\",\"name\":\"List restricted countries\",\"description\":\"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\",\"dateModified\":\"2026-10-24T23:54:12.628Z\",\"isPartOf\":{\"@id\":\"https://docs.myfundedperpetuals.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"REST Reference\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"General\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference/general/get-api-information\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"List restricted countries\",\"item\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries#apireference\",\"headline\":\"List restricted countries\",\"name\":\"List restricted countries\",\"description\":\"Returns the ISO 3166-1 alpha-2 codes of every country whose residents cannot register or purchase challenges, sorted alphabetically. No API key is required. Responses are cached at the edge for five minutes, so a restriction added or removed by the compliance team can take up to that long to appear.\",\"url\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries\",\"mainEntityOfPage\":{\"@id\":\"https://docs.myfundedperpetuals.com/api-reference/general/list-restricted-countries#webpage\"},\"dateModified\":\"2026-10-24T23:54:12.628Z\",\"publisher\":{\"@id\":\"https://myfundedperpetuals.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.myfundedperpetuals.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"MyFundedPerps Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"MyFundedPerps Documentation","nav":{"global":null,"tabs":[{"tab":"Buyers Guide","pages":[{"title":"Buyers Guide","href":""}]},{"tab":"Developers Guide","groups":[{"group":"Developer API (Beta)","pages":[{"title":"Quickstart","href":"/quickstart"},{"title":"API capabilities","href":"/api-capabilities"},{"title":"Command-Line Interface","href":"/cli"},{"title":"MCP Server","href":"/mcp-server"},{"title":"Trading with the API","href":"/trading-with-api"},{"title":"Account trading policy","href":"/trading-policy"},{"title":"Market data streaming","href":"/market-streaming"},{"title":"Account streaming","href":"/account-streaming"},{"title":"Authentication","href":"/authentication"},{"title":"Sandbox and test keys","href":"/sandbox"},{"title":"Idempotency","href":"/idempotency"},{"title":"Pagination","href":"/pagination"},{"title":"Errors and Rate Limits","href":"/errors-and-rate-limits"}]},{"group":"REST Reference","pages":[{"title":"API Reference","href":"/api-reference"},{"group":"Accounts","pages":[{"title":"List visible copy trading groups","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/copy-trading","href":"/api-reference/accounts/list-visible-copy-trading-groups"},{"title":"Save copy trading groups","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/copy-trading","href":"/api-reference/accounts/save-copy-trading-groups"},{"title":"Disable a copy trading group","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/copy-trading/{config_id}/disable","href":"/api-reference/accounts/disable-a-copy-trading-group"},{"title":"Acknowledge a completed copy stop","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/acknowledge-copy-stop","href":"/api-reference/accounts/acknowledge-a-completed-copy-stop"},{"title":"List challenge accounts","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts","href":"/api-reference/accounts/list-challenge-accounts"},{"title":"Get a challenge account","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts/{account_id}","href":"/api-reference/accounts/get-a-challenge-account"},{"title":"Get effective account trading policy","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/accounts/{account_id}/trading-policy","href":"/api-reference/accounts/get-effective-account-trading-policy"},{"title":"Cancel all working orders","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/cancel-all-orders","href":"/api-reference/accounts/cancel-all-working-orders"},{"title":"Close all open positions","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/accounts/{account_id}/close-all-positions","href":"/api-reference/accounts/close-all-open-positions"}]},{"group":"General","pages":[{"title":"Get API information","description":null,"deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1","href":"/api-reference/general/get-api-information"},{"title":"List restricted countries","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/restricted-countries","href":"/api-reference/general/list-restricted-countries"}]},{"group":"Authentication","pages":[{"title":"Exchange a CLI authorization code","description":"Redeems a one-time authorization code approved in the browser during `fperp login`, together with its PKCE code verifier, for a new expiring CLI session credential. The credential is returned exactly once and authenticates like an API key with trade access to every owned account. Available on the live host only. The `fperp` CLI calls this endpoint itself; it is documented for transparency rather than direct use.","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/token","href":"/api-reference/authentication/exchange-a-cli-authorization-code"},{"title":"Revoke the presented CLI session","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/auth/cli/revoke","href":"/api-reference/authentication/revoke-the-presented-cli-session"}]},{"group":"Markets","pages":[{"title":"List tradable markets","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets","href":"/api-reference/markets/list-tradable-markets"},{"title":"Get a tradable market","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets/{market_id}","href":"/api-reference/markets/get-a-tradable-market"},{"title":"Get an execution quote","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/markets/{market_id}/quote","href":"/api-reference/markets/get-an-execution-quote"}]},{"group":"Positions","pages":[{"title":"List open positions","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/positions","href":"/api-reference/positions/list-open-positions"},{"title":"Get a position","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/positions/{position_id}","href":"/api-reference/positions/get-a-position"},{"title":"Close part or all of a position","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/positions/{position_id}/close","href":"/api-reference/positions/close-part-or-all-of-a-position"},{"title":"Atomically update position TP/SL orders","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/positions/{position_id}/exit-orders","href":"/api-reference/positions/atomically-update-position-tpsl-orders"},{"title":"Set the position's extra isolated margin","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/positions/{position_id}/isolated-margin","href":"/api-reference/positions/set-the-positions-extra-isolated-margin"}]},{"group":"Orders","pages":[{"title":"List recent orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders","href":"/api-reference/orders/list-recent-orders"},{"title":"Place a standard or advanced order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/orders","href":"/api-reference/orders/place-a-standard-or-advanced-order"},{"title":"Get an order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/orders/{order_id}","href":"/api-reference/orders/get-an-order"},{"title":"Cancel a working order","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/orders/{order_id}","href":"/api-reference/orders/cancel-a-working-order"},{"title":"Modify a working order","deprecated":null,"version":null,"openapi":"/openapi.yaml patch /v1/orders/{order_id}","href":"/api-reference/orders/modify-a-working-order"},{"title":"Update TP/SL attached to a resting limit or stop entry","deprecated":null,"version":null,"openapi":"/openapi.yaml put /v1/orders/{order_id}/attached-exits","href":"/api-reference/orders/update-tpsl-attached-to-a-resting-limit-or-stop-entry"}]},{"group":"Fills","pages":[{"title":"List fills in settlement order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/fills","href":"/api-reference/fills/list-fills-in-settlement-order"}]},{"group":"Strategy Orders","pages":[{"title":"List active or historical TWAP and VWAP orders","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/twap-orders","href":"/api-reference/strategy-orders/list-active-or-historical-twap-and-vwap-orders"},{"title":"Create a TWAP or VWAP order","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/twap-orders","href":"/api-reference/strategy-orders/create-a-twap-or-vwap-order"},{"title":"Get a TWAP or VWAP order","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/twap-orders/{twap_order_id}","href":"/api-reference/strategy-orders/get-a-twap-or-vwap-order"},{"title":"Stop future TWAP or VWAP slices","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/twap-orders/{twap_order_id}","href":"/api-reference/strategy-orders/stop-future-twap-or-vwap-slices"},{"title":"List scaled-order parents","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/scaled-orders","href":"/api-reference/strategy-orders/list-scaled-order-parents"},{"title":"Create a scaled price ladder","deprecated":null,"version":null,"openapi":"/openapi.yaml post /v1/scaled-orders","href":"/api-reference/strategy-orders/create-a-scaled-price-ladder"},{"title":"Get a scaled order and its rungs","deprecated":null,"version":null,"openapi":"/openapi.yaml get /v1/scaled-orders/{scaled_order_id}","href":"/api-reference/strategy-orders/get-a-scaled-order-and-its-rungs"},{"title":"Cancel a scaled order and its working rungs","deprecated":null,"version":null,"openapi":"/openapi.yaml delete /v1/scaled-orders/{scaled_order_id}","href":"/api-reference/strategy-orders/cancel-a-scaled-order-and-its-working-rungs"}]}]}]}]},"title":"List restricted countries - MyFundedPerps Documentation","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-rfhihCWU.js","utils-BmH1XFxk.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-BcNsxPKB.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-BAES3tkd.js","snippetPresets-DCMQBKLP.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-D6l_bzE9.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BOktbnNh.js","shallow-BCs8SgM7.js","getApiPlaygroundDisplay-DEmW5bJB.js","CodeSnippet-CpZOpB9C.js","CodeSnippets-BOBDqibl.js","Page-D5fEM6aW.js","getPastedJson-DH2JBvmr.js","icon-BBJH-kKh.js","MethodPill-D2Sd5NLC.js","DuplicateIcon-CGgfL2qN.js","createIcon-BKudBBzi.js","DynamicMarkdown-85clUA0i.js","SectionHeading-D0JiMgDx.js","axios-vUo_bRtp.js","Markdown-Cfiy0xZO.js","clsx-rL8ZCCw4.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-aeztFa9U.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BywkCr5C.js"]}