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

Trades

Request

GET [ARCHIVE_V2_ENDPOINT]/trades?ticker_id=BTC-PERP_HONEY&limit=10&max_trade_id=1000000

Request Parameters

Parameter
Type
Required
Description

ticker_id

string

Yes

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

limit

integer

No

Number of historical trades to retrieve. Defaults to 100. Max of 500.

max_trade_id

integer

No

Max trade id to include in the result. Use for pagination.

Response

[
  {
    "ticker_id": "BTC-PERP_HONEY",
    "trade_id": 999994,
    "price": 1.1366122408151016,
    "base_filled": 175,
    "quote_filled": -198.90714214264278,
    "timestamp": 1691068943,
    "trade_type": "buy"
  },
  {
    "ticker_id": "BTC-PERP_HONEY",
    "trade_id": 999978,
    "price": 1.136512210806099,
    "base_filled": 175,
    "quote_filled": -198.8896368910673,
    "timestamp": 1691068882,
    "trade_type": "buy"
  }
]

Response Fields

Field Name
Type
Nullable
Description

ticker_id

string

No

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

trade_id

integer

No

A unique ID associated with the trade for the currency pair transaction.

price

decimal

No

Trade price of base asset in target currency.

base_filled

decimal

No

Amount of base volume filled in trade.

quote_filled

decimal

No

Amount of quote/target volume filled in trade.

timestamp

integer

No

Unix timestamp in seconds for when the transaction occurred.

trade_type

string

No

Indicates the type of the transaction that was completed ("buy" or "sell").

PreviousTickersNextRate limits

Last updated 2 months ago