{"id":190,"date":"2023-09-03T17:09:00","date_gmt":"2023-09-03T09:09:00","guid":{"rendered":"https:\/\/help.gridy.ai\/?p=190"},"modified":"2025-06-24T17:11:41","modified_gmt":"2025-06-24T09:11:41","slug":"set-up-okx-exchange-api","status":"publish","type":"post","link":"https:\/\/help.gridy.ai\/?p=190","title":{"rendered":"Set up OKX Exchange API"},"content":{"rendered":"\n<p>1. Make sure you have active&nbsp;<a href=\"https:\/\/www.okx.com\/trade-swap\">OKX Futures trading account<\/a>. If you haven&#8217;t traded futures on OKX before, you need to click on &#8220;Futures Trade&#8221; and complete the process to upgrade your futures trading account.<\/p>\n\n\n\n<p>2. Go to the OKX API Management page&nbsp;<a href=\"https:\/\/www.okx.com\/account\/my-api\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.okx.com\/account\/my-api<\/a>, then click &#8216;Create APIs&#8217;.<\/p>\n\n\n\n<p>3. For &#8216;Purpose&#8217;, select &#8216;API Trading&#8217;. In the &#8216;IP address allowlist&#8217; field, enter Gridy&#8217;s list of IP addresses.<br>You can copy Gridy&#8217;s IP addresses from the <a href=\"https:\/\/www.gridy.ai\/bot\/exchangeDataSetting\">Gridy Set Exchange API<\/a> page.<\/p>\n\n\n\n<p>4. Add the &#8216;Trade&#8217; option to the &#8216;Permissions&#8217; field. In the &#8216;Passphrase&#8217; field, enter the password you want to use for the API.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/www.gridy.ai\/img\/info\/okxApiInfos_dark_en_US.png\" alt=\"\"\/><\/figure>\n\n\n\n<p>5. Make sure you have transfer enough funds to your&nbsp;<a href=\"https:\/\/www.okx.com\/balance\/assets\/unified\">OKX Trading Account<\/a>.<\/p>\n\n\n\n<p>6. Copy require information into <a href=\"https:\/\/www.gridy.ai\/bot\/exchangeDataSetting\">Gridy Set Exchange API<\/a> page.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"852\" height=\"774\" src=\"https:\/\/help.gridy.ai\/wp-content\/uploads\/2024\/06\/Screen-Shot-2025-02-05-at-5.15.33-PM.png\" alt=\"\" class=\"wp-image-371\" srcset=\"https:\/\/help.gridy.ai\/wp-content\/uploads\/2024\/06\/Screen-Shot-2025-02-05-at-5.15.33-PM.png 852w, https:\/\/help.gridy.ai\/wp-content\/uploads\/2024\/06\/Screen-Shot-2025-02-05-at-5.15.33-PM-300x273.png 300w, https:\/\/help.gridy.ai\/wp-content\/uploads\/2024\/06\/Screen-Shot-2025-02-05-at-5.15.33-PM-768x698.png 768w\" sizes=\"auto, (max-width: 852px) 100vw, 852px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>1. Make sure you have active&nbsp;OKX Futures trading a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-190","post","type-post","status-publish","format-standard","hentry","category-set-exchange-api"],"_links":{"self":[{"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/posts\/190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=190"}],"version-history":[{"count":5,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions"}],"predecessor-version":[{"id":372,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=\/wp\/v2\/posts\/190\/revisions\/372"}],"wp:attachment":[{"href":"https:\/\/help.gridy.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.gridy.ai\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}