API
BroTrade on Berachain websocket and REST API.
The only difference between connecting to the BroTrade on Berachain API and the existing Vertex API is changing the host headers for the live API endpoints on Vertex from prod
to berachain-prod
.
Vertex API Endpoint Host Header =
prod
BroTrade API Endpoint Host Header =
berachain-prod
Interacting with the BroTrade API will otherwise remain the same as the original Vertex API.
Access the full Vertex API documentation applicable to BroTrade here.
You can find a list of the live BroTrade on Berachain API endpoints below.
Berachain — Mainnet
Gateway Websocket: wss://gateway.berachain-prod.vertexprotocol.com/ws
Gateway REST: https://gateway.berachain-prod.vertexprotocol.com/v1
Subscriptions: wss://gateway.berachain-prod.vertexprotocol.com/subscribe
Archive (Indexer): https://archive.berachain-prod.vertexprotocol.com/v1
Trigger: https://trigger.berachain-prod.vertexprotocol.com/v1
Berachain — Testnet
Gateway Websocket: wss://gateway.berachain-test.vertexprotocol.com/ws
Gateway REST: https://gateway.berachain-test.vertexprotocol.com/v1
Subscriptions: wss://gateway.berachain-test.vertexprotocol.com/subscribe
Archive (Indexer): https://archive.berachain-test.vertexprotocol.com/v1
Trigger: https://trigger.berachain-test.vertexprotocol.com/v1
Last updated