API

Vertex Websocket and REST API

Overview

Vertex’s API is divided into two categories:
  1. 1.
    A websocket/REST API that supports writes (executes) and polling (queries).
  2. 2.
    A websocket API that allows subscriptions to live data feeds.

Endpoints

  • Testnet endpoints:
    • Websocket: wss://test.vertexprotocol-backend.com
    • REST API: https://test.vertexprotocol-backend.com
  • Mainnet endpoints:
    • Websocket: wss://prod.vertexprotocol-backend.com
    • REST API: https://prod.vertexprotocol-backend.com
The writes and polling API can be found at WEBSOCKET /ws, and the subscription API can be found at WEBSOCKET /subscribe.