{"info":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","description":"<html><head></head><body><p>APIs for managing accounts, positions, trades, and related data in the ForexAPI system.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"30631350","collectionId":"169243d2-faea-4854-98a6-e0889edcc1e8","publishedId":"2sAYkLoHZy","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"04D094"},"publishDate":"2025-03-27T18:41:01.000Z"},"item":[{"name":"Account Management","item":[{"name":"Create and Deploy MT account","event":[{"listen":"test","script":{"id":"5dda6e16-66ae-409a-aa07-761e08dc412d","exec":[""],"type":"text/javascript","packages":{}}}],"id":"16b522ae-48a1-4e47-8256-37784d415d97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.forexapi.net/v1/accounts?user=5034676878&password=Hk@r1iQs&platform=mt5&server=MetaQuotes-Demo","description":"<p>Returns Token that you need to use as <code>accountId</code> parameter for further requests</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Account number</p>\n","type":"text/plain"},"key":"user","value":"5034676878"},{"description":{"content":"<p>Required | Password</p>\n","type":"text/plain"},"key":"password","value":"Hk@r1iQs"},{"description":{"content":"<p>Required | Available values : mt4, mt5</p>\n","type":"text/plain"},"key":"platform","value":"mt5"},{"description":{"content":"<p>Required | Server name from MT terminal</p>\n","type":"text/plain"},"key":"server","value":"MetaQuotes-Demo"}],"variable":[]}},"response":[],"_postman_id":"16b522ae-48a1-4e47-8256-37784d415d97"},{"name":"Deploy your MT account","event":[{"listen":"test","script":{"id":"00886f6b-55bb-465f-9c46-f3951e7a4467","exec":[""],"type":"text/javascript","packages":{}}}],"id":"5d35894c-62d7-48cc-be75-2079c72927fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.forexapi.net/v1/deployments/845d4892-1402-431f-9f14-849a49cc1ee9","description":"<p>Deploy your MT account</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","deployments","845d4892-1402-431f-9f14-849a49cc1ee9"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d35894c-62d7-48cc-be75-2079c72927fc"},{"name":"Undeploy your account from MT5 terminal","id":"5d3654e5-e774-47e1-acc7-8d3e1108ee36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.forexapi.net/v1/deployments/845d4892-1402-431f-9f14-849a49cc1ee9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","deployments","845d4892-1402-431f-9f14-849a49cc1ee9"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"5d3654e5-e774-47e1-acc7-8d3e1108ee36"},{"name":"Check connection state","id":"0143ee9b-6b2b-4336-a87b-4326ac549d76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/deployments/845d4892-1402-431f-9f14-849a49cc1ee9/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","deployments","845d4892-1402-431f-9f14-849a49cc1ee9","status"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"0143ee9b-6b2b-4336-a87b-4326ac549d76"}],"id":"adee9bcd-51a9-41af-bbd0-8ef01f715dcf","description":"<p>Manage Accounts</p>\n","event":[{"listen":"prerequest","script":{"id":"1d30afbf-5f0c-4849-ae37-9f91b2ab2be8","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"7ad1e2b8-073a-442e-9eef-27fcd25018ce","type":"text/javascript","packages":{},"exec":["const resp = pm.response.json();","if (resp?.data?.id) {","    pm.collectionVariables.set(\"accountId\", resp?.data?.id);","    pm.collectionVariables.set(\"id\", resp?.data?.id);","}",""]}}],"_postman_id":"adee9bcd-51a9-41af-bbd0-8ef01f715dcf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}}},{"name":"MT Account Management","item":[{"name":"List of accounts","id":"68aa2e11-2eb1-4062-a43c-5a744b554c8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts?page=1&limit=20&user=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Current page</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>Items per page (Max 20)</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>List of account user that need to return, return all by default. You can add more value by adding more \"user\" query params on next lines</p>\n","type":"text/plain"},"key":"user","value":""}],"variable":[]}},"response":[],"_postman_id":"68aa2e11-2eb1-4062-a43c-5a744b554c8c"},{"name":"Get account details","id":"bc952340-8193-49b9-8786-bca3775bc2e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts",""],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"bc952340-8193-49b9-8786-bca3775bc2e8"},{"name":"Update MT account (No deployment required)","id":"208f8df0-44d7-47ce-8bb6-e3fd49de88a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.forexapi.net/v1/accounts/?password=&server=","description":"<p>Update account information</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts",""],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Password</p>\n","type":"text/plain"},"key":"password","value":""},{"description":{"content":"<p>Server name from MT terminal</p>\n","type":"text/plain"},"key":"server","value":""}],"variable":[]}},"response":[],"_postman_id":"208f8df0-44d7-47ce-8bb6-e3fd49de88a4"},{"name":"Delete account","id":"40677147-4c78-43b9-9a67-d56c147f8414","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.forexapi.net/v1/accounts/","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts",""],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"40677147-4c78-43b9-9a67-d56c147f8414"},{"name":"List of Orders & Positions","id":"182c6605-1747-4e08-ba80-79ef29e57689","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//orders-positions?sort=OpenTime&ascending=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","orders-positions"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"}],"variable":[]}},"response":[],"_postman_id":"182c6605-1747-4e08-ba80-79ef29e57689"},{"name":"List of Positions","id":"8ee5fbaa-697a-460c-9bcd-8bcd719be4cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//positions?sort=OpenTime&ascending=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","positions"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"}],"variable":[]}},"response":[],"_postman_id":"8ee5fbaa-697a-460c-9bcd-8bcd719be4cf"},{"name":"Get single position by ticket","id":"ee87c703-7961-4232-bc42-711d7334ef40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//position?ticket=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","position"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Ticket number</p>\n","type":"text/plain"},"key":"ticket","value":""}],"variable":[]}},"response":[],"_postman_id":"ee87c703-7961-4232-bc42-711d7334ef40"},{"name":"Position history by position ticket","id":"2cd867b2-6391-4b55-84b2-71a4cea548b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//position-history?positionTicket=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","position-history"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | List of position ticket that need to return, you can add more positionTicket by adding same params on next lines</p>\n","type":"text/plain"},"key":"positionTicket","value":""}],"variable":[]}},"response":[],"_postman_id":"2cd867b2-6391-4b55-84b2-71a4cea548b8"},{"name":"List of Orders","id":"c2943d0c-beaa-40ff-97e9-237396aab642","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//orders?sort=OpenTime&ascending=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","orders"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"}],"variable":[]}},"response":[],"_postman_id":"c2943d0c-beaa-40ff-97e9-237396aab642"},{"name":"Opened order by ticket","id":"fc350326-768a-4309-a762-59c6ed7bc07c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//order?ticket=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","order"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Ticket number</p>\n","type":"text/plain"},"key":"ticket","value":""}],"variable":[]}},"response":[],"_postman_id":"fc350326-768a-4309-a762-59c6ed7bc07c"},{"name":"Order history","id":"5eab9289-d0ec-42b2-bf9b-b5911f11b8cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//order-history?from=2025-01-01T00:00:00&to=2025-01-02T00:00:00&sort=OpenTime&ascending=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","order-history"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"to","value":"2025-01-02T00:00:00"},{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"}],"variable":[]}},"response":[],"_postman_id":"5eab9289-d0ec-42b2-bf9b-b5911f11b8cb"},{"name":"Order history pagination","id":"3021b4ab-bf62-46f9-b7b4-fa0ad1dd0757","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//order-history-pagination?from=2025-01-01T00:00:00&to=2025-01-02T00:00:00&limit=20&page=1&requestAgain=false&sort=OpenTime&ascending=true&ignoreDepositWithdraw=false&tickets=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","order-history-pagination"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"to","value":"2025-01-02T00:00:00"},{"description":{"content":"<p>Required | Orders per page (max 20)</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>Required | Page number</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>If need to force refresh orders from mt5 server | Default value : false</p>\n","type":"text/plain"},"key":"requestAgain","value":"false"},{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"},{"description":{"content":"<p>Do not return deposit and withdraw operations | Default value : false</p>\n","type":"text/plain"},"key":"ignoreDepositWithdraw","value":"false"},{"description":{"content":"<p>List of tickets, returns all tickets by default. You can add more \"tickets\" params on next lines</p>\n","type":"text/plain"},"key":"tickets","value":""}],"variable":[]}},"response":[],"_postman_id":"3021b4ab-bf62-46f9-b7b4-fa0ad1dd0757"},{"name":"Deal history","id":"e26bb4b9-5d8f-4c02-bda6-f9fe86ecbe11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//deal-history?from=2025-01-01T00:00:00&to=2025-01-02T00:00:00&sort=OpenTime&ascending=true","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","deal-history"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"to","value":"2025-01-02T00:00:00"},{"description":{"content":"<p>Sort by open time or close time | Available values : OpenTime, CloseTime | Default value : OpenTime</p>\n","type":"text/plain"},"key":"sort","value":"OpenTime"},{"description":{"content":"<p>Ascending sort | Default value : true</p>\n","type":"text/plain"},"key":"ascending","value":"true"}],"variable":[]}},"response":[],"_postman_id":"e26bb4b9-5d8f-4c02-bda6-f9fe86ecbe11"},{"name":"Deal history by position ticket","id":"5ff30316-0fc5-4a01-b70f-5c6113a4c6c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//deal-history/positions/{{positionTicket}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","deal-history","positions","{{positionTicket}}"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"5ff30316-0fc5-4a01-b70f-5c6113a4c6c5"},{"name":"List of avaliable symbols","id":"b3f5b253-7241-4086-9c95-db3a01a7914e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//symbols","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","symbols"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3f5b253-7241-4086-9c95-db3a01a7914e"},{"name":"Full infromation about symbol and his group","id":"d355167a-c852-4a2a-9fe1-53d5c6dcb085","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//symbol-params?symbol=EURUSD","description":"<p><a href=\"#model-AccountType\">Go to</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","symbol-params"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required symbol | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"}],"variable":[]}},"response":[],"_postman_id":"d355167a-c852-4a2a-9fe1-53d5c6dcb085"},{"name":"Latest quote for the specified symbol","id":"b037d95c-9ac4-4828-aa3e-f6e19214c38b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//quote?symbol=EURUSD&msNotOlder=0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","quote"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Symbol |  Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>If last quote arrived less than msOlderMs milliseconds ago function returns last quote, overwise - wait for new quote. If zero - always returns last quote.\nDefault value : 0</p>\n","type":"text/plain"},"key":"msNotOlder","value":"0"}],"variable":[]}},"response":[],"_postman_id":"b037d95c-9ac4-4828-aa3e-f6e19214c38b"},{"name":"Latest quote for the specified symbol","id":"13c2cfeb-92fd-43c7-9be1-63035731fe8c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//quotes?symbols=EURUSD&msNotOlder=0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","quotes"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>You can filter more symbol by adding more \"symbols\" param on next lines</p>\n","type":"text/plain"},"key":"symbols","value":"EURUSD"},{"description":{"content":"<p>If last quote arrived less than msOlderMs milliseconds ago function returns last quote, overwise - wait for new quote. If zero - always returns last quote.\nDefault value : 0</p>\n","type":"text/plain"},"key":"msNotOlder","value":"0"}],"variable":[]}},"response":[],"_postman_id":"13c2cfeb-92fd-43c7-9be1-63035731fe8c"}],"id":"73825ece-b3b7-464d-8516-2ad5ee9eed70","description":"<p>Account Functions</p>\n","_postman_id":"73825ece-b3b7-464d-8516-2ad5ee9eed70","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}}},{"name":"Trading","item":[{"name":"Send market or pending order","id":"58cd282d-0c33-436e-83ea-54841c216cab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.forexapi.net/v1/accounts//orders?symbol=EURUSD&operation=Buy&volume=0.1&price=0&slippage=0&stoploss=0&takeprofit=0&comment=0&expertID=0&expiration=&placedTypeMT4=Client&placedTypeMT5=Manually","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","orders"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required | Buy, Sell, BuyLimit, SellLimit, BuyStop, SellStop, Balance, Credit</p>\n<p>Available values : Buy, Sell, BuyLimit, SellLimit, BuyStop, SellStop, Balance, Credit</p>\n<p>Default value : Buy</p>\n","type":"text/plain"},"key":"operation","value":"Buy"},{"description":{"content":"<p>Required | Default value : 0.1</p>\n","type":"text/plain"},"key":"volume","value":"0.1"},{"description":{"content":"<p>Optional, but required in case of Instant Execution | Default value : 0</p>\n","type":"text/plain"},"key":"price","value":"0"},{"key":"slippage","value":"0"},{"key":"stoploss","value":"0"},{"key":"takeprofit","value":"0"},{"key":"comment","value":"0"},{"description":{"content":"<p>Custom user field. You can specify any value up to your needs. In MT4 this parameter called 'magic number.'</p>\n<p>Default value : 0</p>\n","type":"text/plain"},"key":"expertID","value":"0"},{"description":{"content":"<p>Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"expiration","value":""},{"description":{"content":"<p>Who placed the order, apply for MT4 only</p>\n<p>Available values : Client, Expert, Dealer, Signal, Gateway, Mobile, Web, Api, Default</p>\n<p>Default value : Client</p>\n","type":"text/plain"},"key":"placedTypeMT4","value":"Client"},{"description":{"content":"<p>Who placed the order, apply for MT5 only</p>\n<p>Available values : Manually, ByExpert, ByDealer, OnSL, OnTP, OnStopOut, OnRollover, OnVmargin, Gateway, Signal, Settlement, Transfer, Sync, ExternalService, Migration, Mobile, Web, OnSplit, Default</p>\n<p>Default value : Manually</p>\n","type":"text/plain"},"key":"placedTypeMT5","value":"Manually"}],"variable":[]}},"response":[],"_postman_id":"58cd282d-0c33-436e-83ea-54841c216cab"},{"name":"Modify market or pending order","id":"19c230be-0cbb-4fc5-b592-198365aecb1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.forexapi.net/v1/accounts//orders?ticket=&stoploss=0&takeprofit=0&price=0&expiration=","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","orders"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Order ticket</p>\n","type":"text/plain"},"key":"ticket","value":""},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"stoploss","value":"0"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"takeprofit","value":"0"},{"key":"price","value":"0"},{"description":{"content":"<p>Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"expiration","value":""}],"variable":[]}},"response":[],"_postman_id":"19c230be-0cbb-4fc5-b592-198365aecb1e"},{"name":"Close market or pending order","id":"536b84f4-4e9c-4545-bbfa-6ddf4b5437db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.forexapi.net/v1/accounts//orders?ticket=&lots=0&price=0&slippage=0","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","orders"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Order ticket</p>\n","type":"text/plain"},"key":"ticket","value":""},{"key":"lots","value":"0"},{"description":{"content":"<p>Optional, but required in case of Instant Execution</p>\n","type":"text/plain"},"key":"price","value":"0"},{"key":"slippage","value":"0"}],"variable":[]}},"response":[],"_postman_id":"536b84f4-4e9c-4545-bbfa-6ddf4b5437db"}],"id":"f7a3843d-be60-4765-991c-ec091f7e016b","description":"<p>Trading Functions</p>\n","_postman_id":"f7a3843d-be60-4765-991c-ec091f7e016b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}}},{"name":"Quote History (MT5 only)","item":[{"name":"Price history for range","id":"7e556c89-454b-4cfe-a8fa-f2ed862aba29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//price-history?symbol=EURUSD&from=2025-01-01T00:00:00&to=2025-01-02T00:00:00&timeFrame=240","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","price-history"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"to","value":"2025-01-02T00:00:00"},{"description":{"content":"<p>Required | Default value : 240</p>\n","type":"text/plain"},"key":"timeFrame","value":"240"}],"variable":[]}},"response":[],"_postman_id":"7e556c89-454b-4cfe-a8fa-f2ed862aba29"},{"name":"Price history for 30 days","id":"42904166-08d6-46b7-b888-d4ef708bbb11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//price-history/month?symbol=EURUSD&year=2025&month=3&day=1&timeFrame=240","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","price-history","month"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"year","value":"2025"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"month","value":"3"},{"description":{"content":"<p>Required</p>\n","type":"text/plain"},"key":"day","value":"1"},{"description":{"content":"<p>Required | Default value : 240</p>\n","type":"text/plain"},"key":"timeFrame","value":"240"}],"variable":[]}},"response":[],"_postman_id":"42904166-08d6-46b7-b888-d4ef708bbb11"},{"name":"Price history for today","id":"2a171741-01e8-43a1-9e33-b768a06795da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//price-history/today?symbol=EURUSD&timeFrame=240","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","price-history","today"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required | Default value : 240</p>\n","type":"text/plain"},"key":"timeFrame","value":"240"}],"variable":[]}},"response":[],"_postman_id":"2a171741-01e8-43a1-9e33-b768a06795da"},{"name":"Price history for range","id":"49da67f7-b511-4965-ad99-b864706f2d4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts/{id}/price-history/high-low?symbol=EURUSD&from=2025-01-01T00:00:00&to=2025-01-02T00:00:00&timeFrame=60","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","{id}","price-history","high-low"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"to","value":"2025-01-02T00:00:00"},{"description":{"content":"<p>Required | Default value : 60</p>\n","type":"text/plain"},"key":"timeFrame","value":"60"}],"variable":[]}},"response":[],"_postman_id":"49da67f7-b511-4965-ad99-b864706f2d4f"},{"name":"Request quote history from specified date for several bars back to the past","id":"e087f23f-2ca3-4d1c-9577-185304f45f68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/accounts//price-history/extended?symbol=EURUSD&from=2025-01-01T00:00:00&numBars=10&timeFrame=240","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","accounts","","price-history","extended"],"host":["https://api.forexapi.net"],"query":[{"description":{"content":"<p>Required | Default value : EURUSD</p>\n","type":"text/plain"},"key":"symbol","value":"EURUSD"},{"description":{"content":"<p>Required | Format: yyyy-MM-ddTHH:mm:ss</p>\n","type":"text/plain"},"key":"from","value":"2025-01-01T00:00:00"},{"description":{"content":"<p>Required | Default value : 10</p>\n","type":"text/plain"},"key":"numBars","value":"10"},{"description":{"content":"<p>Required | Default value : 240</p>\n","type":"text/plain"},"key":"timeFrame","value":"240"}],"variable":[]}},"response":[],"_postman_id":"e087f23f-2ca3-4d1c-9577-185304f45f68"}],"id":"cea15709-8607-421d-b8db-893d5cc83f55","description":"<p>OHLC history</p>\n","_postman_id":"cea15709-8607-421d-b8db-893d5cc83f55","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}}},{"name":"Service","item":[{"name":"Broker search by company name","id":"73c98179-1803-4c11-90b9-3ee0e8150632","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.forexapi.net/v1/companies/by-name/{{name}}","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}},"urlObject":{"path":["v1","companies","by-name","{{name}}"],"host":["https://api.forexapi.net"],"query":[],"variable":[]}},"response":[],"_postman_id":"73c98179-1803-4c11-90b9-3ee0e8150632"}],"id":"0298fe4e-3332-42e7-b245-5c59d37bd36a","description":"<p>Service functions which not related to account</p>\n","_postman_id":"0298fe4e-3332-42e7-b245-5c59d37bd36a","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"169243d2-faea-4854-98a6-e0889edcc1e8","id":"169243d2-faea-4854-98a6-e0889edcc1e8","name":"ForexAPI APIs","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"43191380-6db1-4088-a56d-08b502e469ed","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"6f51d18c-f742-409f-ae78-3f594cbf8318","type":"text/javascript","packages":{},"exec":[""]}}],"variable":[{"key":"base_url","value":"https://api.forexapi.net","type":"string"},{"key":"access_token","value":"","type":"string"},{"key":"accountId","value":"845d4892-1402-431f-9f14-849a49cc1ee9","type":"string"},{"key":"id","value":""}]}