To connect to the Marketplace by API you need to generate an API key for a trading account. For this purpose go to the specific trading account on the trading accounts page. On the page of the trading account in the tab "Settings and Keys" you can create the key and copy it. API requests with examples are available in the documentation for API, which you could receive by email.