Skip to main content

Getting Started

This API, known as Market Proxy API provides access to the Power Trade exchange basic services including market data, order management, positions, and trade feed.

All functionality can be accessed through Web Sockets, REST API or both.

Both protocols can be used simultaneously and interchangeably.

Throughout this document, "client" and "user" refer to the systems using the API.

Environments

We provide 4 environments clients can connect to.

tip

If you are just getting started and want to get a feel of how the API works, we suggest you use the TEST environment.

WebSocket API

EnvironmentWeb Socket base URLPort
DEVELOPMENTwss://proxy.dev.ptlab.link443
TESTwss://proxy.test.ptlab.link443
STAGINGwss://proxy.staging.ptlab.link443
PRODUCTIONwss://proxy.ptlab.link443

REST API

EnvironmentHTTP REST base URLPort
DEVELOPMENThttps://proxy.dev.ptlab.link80
TESThttps://proxy.test.ptlab.link80
STAGINGhttps://proxy.staging.ptlab.link80
PRODUCTIONhttps://proxy.ptlab.link80

Power Trade Web Application

EnvironmentURL
DEVELOPMENThttps://powertrade-web-dev.web.app/
TESThttps://powertrade-web-test.web.app/
STAGINGhttps://powertrade-web-staging.web.app/
PRODUCTIONhttps://app.power.trade/