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
Environment | Web Socket base URL | Port |
---|---|---|
DEVELOPMENT | wss://proxy.dev.ptlab.link | 443 |
TEST | wss://proxy.test.ptlab.link | 443 |
STAGING | wss://proxy.staging.ptlab.link | 443 |
PRODUCTION | wss://proxy.ptlab.link | 443 |
REST API
Environment | HTTP REST base URL | Port |
---|---|---|
DEVELOPMENT | https://proxy.dev.ptlab.link | 80 |
TEST | https://proxy.test.ptlab.link | 80 |
STAGING | https://proxy.staging.ptlab.link | 80 |
PRODUCTION | https://proxy.ptlab.link | 80 |
Power Trade Web Application
Environment | URL |
---|---|
DEVELOPMENT | https://powertrade-web-dev.web.app/ |
TEST | https://powertrade-web-test.web.app/ |
STAGING | https://powertrade-web-staging.web.app/ |
PRODUCTION | https://app.power.trade/ |