Skip to content

Base URLs

REST

Environment Base URL
Production https://api.pcrypto.com

All REST paths in this documentation are relative to the base URL (for example /openapi/v1/time).

WebSocket

WebSocket uses a separate hostname from REST.

Environment Base URL
Production wss://ws.pcrypto.com

Documented public paths (relative to WSS host):

Path Use
/openapi/quote/ws/v1/<streamName> Single public stream (already bound; no SUBSCRIBE needed)
/openapi/quote/stream?streams=<a>/<b>/... Combined public streams ({ "stream", "data" } envelope)
/openapi/ws or /openapi/ws/spot Private listenKey session — send an authentication message after connect