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
  • Rate limits
  • Request
  • Request Parameters
  • Response
  • Response fields
  1. developer bros
  2. API
  3. Gateway
  4. Queries

Symbols

PreviousSubaccount InfoNextSigning

Last updated 2 months ago

Rate limits

  • 1200 requests/min or 20 requests/sec per IP address. (weight = 2)

See more details in .

Request

Connect

WEBSOCKET [GATEWAY_WEBSOCKET_ENDPOINT]

Message

{
  "type": "symbols",
  "product_ids": [1, 2, 3, 4],
  "product_type": "spot"
}

GET [GATEWAY_REST_ENDPOINT]/query?type=symbols&product_type=spot

POST [GATEWAY_REST_ENDPOINT]/query

Message

{
  "type": "symbols",
  "product_ids": [1, 2, 3, 4],
  "product_type": "spot"
}

Request Parameters

Parameter
Type
Required
Description

product_ids

number[]

No

An array of product ids. Only available for POST and WS requests.

product_type

string

No

Type of products to return, must be: “spot"

"perp”.

Response

Note: All products have are quoted against HONEY, except for product 0.

{
  "status": "success",
  "data": {
    "symbols": {
      "WETH": {
        "type": "spot",
        "product_id": 3,
        "symbol": "WETH",
        "price_increment_x18": "100000000000000000",
        "size_increment": "10000000000000000",
        "min_size": "100000000000000000",
        "min_depth_x18": "5000000000000000000000",
        "max_spread_rate_x18": "2000000000000000",
        "maker_fee_rate_x18": "0",
        "taker_fee_rate_x18": "300000000000000",
        "long_weight_initial_x18": "900000000000000000",
        "long_weight_maintenance_x18": "950000000000000000"
      },
      "WBTC": {
        "type": "spot",
        "product_id": 1,
        "symbol": "WBTC",
        "price_increment_x18": "1000000000000000000",
        "size_increment": "1000000000000000",
        "min_size": "10000000000000000",
        "min_depth_x18": "5000000000000000000000",
        "max_spread_rate_x18": "2000000000000000",
        "maker_fee_rate_x18": "0",
        "taker_fee_rate_x18": "300000000000000",
        "long_weight_initial_x18": "900000000000000000",
        "long_weight_maintenance_x18": "950000000000000000"
      }
    }
  },
  "request_type": "query_symbols"
}

Response fields

Symbols

All numerical values are returned as strings and scaled by 1e18.

Field name
Description

type

Product type, “spot” or “perp”

product_id

Product id

symbol

Product symbol

price_increment_x18

Price increment, a.k.a tick size

size_increment

Size increment, in base units

min_size

Minimum order size, in base units

min_depth_x18

Minimum depth to qualify for the bro.trade Maker Program

max_spread_rate_x18

Maximum spread rate to qualify for the bro.trade Maker Program, given as decimal rate

long_weight_initial_x18

Long initial margin weight, given as decimal

long_weight_maintenance_x18

Long maintenance margin weight, given as decimal

API Rate limits