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
  • Request
  • Response
  • Response Fields
  1. developer bros
  2. API
  3. V2

Contracts

Request

GET [ARCHIVE_V2_ENDPOINT]/contracts

Response

Note: the response is a map of ticker_id -> contract info object.

{
    "ETH-PERP_HONEY": {
        "ticker_id": "ETH-PERP_HONEY",
        "base_currency": "ETH-PERP",
        "quote_currency": "HONEY",
        "last_price": 1620.3,
        "base_volume": 1309.2,
        "quote_volume": 2117828.093867611,
        "product_type": "perpetual",
        "contract_price": 1620.372642114429,
        "contract_price_currency": "USD",
        "open_interest": 1635.2,
        "open_interest_usd": 2649633.3443855145,
        "index_price": 1623.293496279935,
        "mark_price": 1623.398589416731,
        "funding_rate": 0.000068613217104332,
        "next_funding_rate_timestamp": 1694379600,
        "price_change_percent_24h": -0.6348599635253989
    },
    "BTC-PERP_HONEY": {
        "ticker_id": "BTC-PERP_HONEY",
        "base_currency": "BTC-PERP",
        "quote_currency": "HONEY",
        "last_price": 25744.0,
        "base_volume": 794.154,
        "quote_volume": 20475749.367766097,
        "highest_bid": 25733.0,
        "lowest_ask": 25743.0,
        "product_type": "perpetual",
        "contract_price": 25830.738843799172,
        "contract_price_currency": "USD",
        "open_interest": 3059.325,
        "open_interest_usd": 79024625.11330591,
        "index_price": 25878.913320746455,
        "mark_price": 25783.996946729356,
        "funding_rate": -0.003664562348812546,
        "next_funding_rate_timestamp": 1694379600,
        "price_change_percent_24h": -0.6348599635253989
    }
}

Response Fields

Field Name
Type
Nullable
Description

ticker_id

string

No

Identifier of a ticker with delimiter to separate base/target.

base_currency

string

No

Symbol of the base asset.

quote_currency

string

No

Symbol of the target asset.

last_price

decimal

No

Last transacted price of base currency based on given quote currency.

base_volume

decimal

No

24-hours trading volume for the pair (unit in base).

quote_volume

decimal

No

24-hours trading volume for the pair (unit in quote/target).

product_type

string

No

Name of product type.

contract_price

string

No

Describes the price per contract.

contract_price_currency

string

No

Describes the currency which the contract is priced in.

open_interest

decimal

No

The current open interest for the perp contract.

open_interest_usd

decimal

No

The value in USD of the current open interest.

index_price

decimal

No

Last calculated index price for underlying of contract

funding_rate

decimal

No

Current 24hr funding rate. Can compute hourly funding rate dividing by 24.

next_funding_rate_timestamp

integer

No

Timestamp of the next funding rate change

price_change_percent_24h

decimal

No

24-hours % price change of market pair

PreviousAssetsNextOrderbook

Last updated 2 months ago