LogoLogo
Join DiscordFollow on XBridge FundsLong $BERA
  • Doc Bros v1
    • Overview
    • Key Features
      • Speed & Liquidity is Key
      • Bropetual Markets
      • A Hub for Berachain DeFi
    • Proof-of-Liquidity
      • Reward Vault
    • Power of Points
    • Partners & Integrations
    • Campaigns
      • bro.trade Em Up
  • bullish bros
    • SuperBros NFT
  • Technicals
    • What is Proof-of-Liquidity?
    • One-Click Trading
    • Funding Rates
  • Liquidations & Insurance Fund
  • Vertex Edge Sequencer
  • Fees
  • PnL Settlements
  • Withdrawals
  • Pricing (Oracles)
  • links & resources
    • bro.trade Links
      • Website
      • Trade Bropetuals
      • Discord
      • X (Twitter)
      • Medium
      • Swap on OogaBooga
    • Berachain Links
      • Berachain.com
      • Official Bridge
      • BeraHub
      • Berascan
      • Bera Discord
      • Berachain X (Twitter)
      • Berachain Docs
    • FAQ
  • developer bros
    • API
      • Gateway
        • Executes
          • Place Order
          • Cancel Order
          • Cancel and Place
          • Cancel Product Order
          • Withdraw Colleteral
          • Transfer Quote
          • Liquidate Subaccount
          • Mint LP
          • Burn LP
          • Link Signer
        • Queries
          • All Products
          • Contracts
          • Fee Rates
          • Health Groups
          • Insurance
          • Linked Signer
          • Market Liquidity
          • Market Prices
          • Max Lp Mintable
          • Max Order Size
          • Max Withdrawable
          • Min Deposit Rates
          • Nonces
          • Order
          • Orders
          • Status
          • Subaccount Info
          • Symbols
        • Signing
          • Examples
          • Q A
      • Subscriptions
        • Authentication
        • Streams
        • Events
        • Rate Limits
      • Archive (indexer)
        • Candlesticks
        • Events
        • Funding Rate
        • Interest Funding Payments
        • Linked Signer Rate Limit
        • Liquidation Feed
        • Maker Statistics
        • Market Snapshots
        • Matches
        • Merkle Proofs
        • Oracle Price
        • Orders
        • Perp Prices
        • Product Snapshots
        • Rewards
        • Signatures
        • Subaccounts
        • Summary
        • HONEY Price
      • Trigger
        • Executes
          • Place Order
          • Cancel Orders
          • Cancel Product Orders
        • Queries
          • List Trigger Orders
      • V2
        • Apr
        • Assets
        • Contracts
        • Orderbook
        • Pairs
        • Tickers
        • Trades
      • Rate limits
      • Errors
      • Symbols
      • Depositing
      • Withdrawing (on-chain)
      • Integrate via Smart Contracts
      • Definitions / Formulas
    • On-Chain Contracts
Powered by GitBook
On this page
  • Berachain — Mainnet
  • Berachain — Testnet
  • bro.trade's API is divided into the following categories:
  1. developer bros

API

bro.trade on Berachain websocket and REST API.

PreviousFAQNextGateway

Last updated 1 month ago

The only difference between connecting to the BroTrade on Berachain API and the existing 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

Access the full Vertex API documentation applicable to bro.trade .

You can find a list of the live BroTrade on Berachain API endpoints below.


Berachain — Mainnet

  • Gateway Websocket: wss://gateway.bera-prod.bro.trade/ws

  • Gateway REST: https://gateway.bera-prod.bro.trade/v1

  • Gateway V2: https://gateway.bera-prod.bro.trade/v2

  • Subscriptions: wss://gateway.bera-prod.bro.trade/subscribe

  • Archive (Indexer): https://archive.bera-prod.bro.trade/v1

  • Archive (Indexer) V2: https://archive.bera-prod.bro.trade/v2

  • Trigger: https://trigger.bera-prod.bro.trade/v1

Berachain — Testnet

  • Gateway Websocket: wss://gateway.berachain-test.bro.trade/ws

  • Gateway REST: https://gateway.berachain-test.bro.trade/v1

  • Subscriptions: wss://gateway.berachain-test.bro.trade/subscribe

  • Archive (Indexer): https://archive.berachain-test.bro.trade/v1

  • Trigger: https://trigger.berachain-test.bro.trade/v1

bro.trade's API is divided into the following categories:

  1. A websocket/REST API (gateway) that supports writes (executes) and polling (queries).

  2. A subscriptions API that allows to subscribe to live data feeds.

  3. An indexer API (archive) that allows you to query historical data.

  4. A trigger API that allows to execute orders only under specified price conditions.

NOTE: To contact the bro.trade team with any questions or inquiries about Private Gateway connections, such as increased limits, please join our Discord and open a ticket:

Vertex API
here
bro.trade Discord
Gateway
Subscriptions
Archive (indexer)
Trigger