Backpack website screenshot

Backpack

Backpack is a Solana-first crypto company founded by Armani Ferrante and Tristan Yver — the same team behind Coral and the Anchor framework that powers a majority of Solana programs. It operates two flagship products: Backpack Wallet, an open-source self-custodial multichain wallet (Solana, Ethereum, Bitcoin) with an xNFT plugin runtime, available as a Chrome/Brave extension and iOS/Android app; and Backpack Exchange, a fully fledged centralized exchange offering spot, perpetual futures, dated futures, prediction markets, borrow/lend, RFQ, strategies, vaults, and securities, with a comprehensive ED25519-signed REST + WebSocket API documented at docs.backpack.exchange. Backpack Exchange acquired and processes FTX EU claims and is one of the more technically transparent venues to emerge post-FTX.

3 APIs 19 Features
CryptoExchangeWalletTradingPerpetualsSolanaWeb3DeFixNFTAnchorCoralCentralized ExchangeSelf-Custody

APIs

Backpack Exchange API

The Backpack Exchange API is the canonical programmatic surface for the Backpack Exchange centralized crypto venue — spot, perpetual futures, dated futures, prediction markets, ...

Backpack Exchange WebSocket Streams API

Real-time market and account event streams over WebSocket. Public streams cover ticker, depth, trades, klines, mark price, open interest, and liquidation events keyed by symbol....

Backpack Wallet

Backpack Wallet is a self-custodial multichain wallet for Solana, Ethereum, and Bitcoin, originally built around the xNFT (executable NFT) protocol that lets dApps run as plugin...

Collections

Arazzo Workflows

Backpack Balance-Checked Market Buy

Confirm available balance, read the ticker, then place a market buy and verify the fill.

ARAZZO

Backpack Balance-Checked Withdrawal

Confirm available balance, request a withdrawal, then reconcile it against withdrawal history.

ARAZZO

Backpack Cancel and Replace an Order

Look up a resting order, cancel it, and place a replacement at a new price.

ARAZZO

Backpack Get Deposit Address and Reconcile History

Fetch a blockchain deposit address, then read deposit history to reconcile incoming funds.

ARAZZO

Backpack Flatten Open Orders on a Market

List open orders on a market, cancel them all, and confirm none remain.

ARAZZO

Backpack Market and Trade Analytics

Discover markets, pull all tickers, and read recent trades for a chosen symbol.

ARAZZO

Backpack Place a Limit Order

Price a market from the ticker and order book, then place and confirm a limit order.

ARAZZO

Backpack Add a Take-Profit to a Position

Read an open futures position and the mark price, then place a reduce-only take-profit order.

ARAZZO

Pricing Plans

Backpack Plans Pricing

5 plans

PLANS

Rate Limits

Backpack Rate Limits

3 limits

RATE LIMITS

FinOps

Features

All-in-one crypto app — spot, perpetual futures, dated futures, prediction markets, borrow/lend, RFQ, strategies, vaults
Unified cross-margin — spot balances, perps margin, and lending balances live in one collateral pool
ED25519 signed-request authentication with per-operation instruction binding and X-Window replay protection
Public + authenticated WebSocket streams for market data, order updates, position updates, and RFQ
Sub-accounts with aggregated VIP tier / fee tier across the main account
Volume-based maker/taker fee tiers recalculated hourly, USDT/USDC pair at 0% fees
Borrow/lend with auto-lend and manual modes, APY history endpoints, and liquidation-price simulation
RFQ workflow with millisecond market-maker quotes and 2-minute acceptance windows
Strategies API (grid bots and other programmatic strategies) with full lifecycle endpoints
Configurable withdrawal delay policy (create/update/get) for account-level security
Dust conversion endpoint for sweeping small balances
Proof of Reserves publishing
Multichain self-custodial wallet (Solana, Ethereum, Bitcoin) with xNFT plugin runtime
Mobile apps (iOS, Android) and Chrome/Brave extension sharing exchange session
Stocks and securities trading surface (regional)
Prediction markets with tagged event discovery
Vault tokens with mint/redeem flow and pending redemption queue
Open source wallet under GPL-3.0 at github.com/coral-xyz/backpack
Founded by Armani Ferrante (creator of the Anchor framework) and Tristan Yver via Coral

Use Cases

Programmatic spot and perps trading

Build trading bots and execution algorithms against the Backpack Exchange order book using ED25519 signed requests and the orderExecute instruction set.

Real-time market data ingestion

Subscribe to WebSocket streams (ticker, depth, trades, klines, mark price, open interest, liquidation) for low-latency market state in research pipelines and dashboards.

Market making and RFQ liquidity provisioning

Respond to RFQs with quotes via /api/v1/rfq/quote and stream account.rfqUpdate events to compete on size-aware fills.

Lending and borrowing automation

Use the Borrow Lend endpoints to automate APY hunting across markets, manage liquidation price thresholds, and reconcile interest history.

Portfolio reconciliation and TaxOps

Pull fill, order, funding, settlement, deposit, and withdrawal history from /wapi/v1/history/* to build internal P&L and tax reporting.

Multichain wallet integration

Embed or extend the open-source Backpack wallet for Solana / Ethereum / Bitcoin signing flows, or ship dApps as xNFTs inside the wallet runtime.

Integrations

Solana

Native settlement chain for the wallet and the home of the Anchor framework and xNFT protocol.

Ethereum

Supported in the multichain wallet for EVM signing and asset management.

Bitcoin

Supported in the multichain wallet for BTC custody and transfers.

TradingView

Charting integration exposed via the TradingView tag in the API for klines and ticker data.

Plaid

US fiat onramp identity verification used during KYC and bank-link flows.

Banxa

Third-party crypto onramp partner integrated into the deposit flow.

Easy Euro / Equals Money

EUR onramp partners surfaced as dedicated API tag groups in the exchange spec.

Sygna Bridge

Travel Rule compliance partner for cross-VASP withdrawal information sharing.

Coral / Anchor

Same founding team (Armani Ferrante) — Backpack ships on top of Anchor-based Solana programs.

Solutions

Backpack Exchange

Centralized crypto exchange with spot, perpetuals, lending, RFQ, strategies, and prediction markets — accessible via the REST + WebSocket API.

Backpack Wallet

Self-custody multichain wallet with xNFT runtime, available as Chrome/Brave extension and iOS/Android apps.

Backpack EU

Regulated European entity surfaced via European Private Beta and FTX EU Claims tags.

FTX Creditor Claims processing

Dedicated tag group for processing FTX creditor and FTX EU claims through the exchange.

Event Specifications

Backpack Exchange WebSocket Streams API

Real-time market data and account event streams for Backpack Exchange. Clients connect to a single WebSocket endpoint and manage many streams over that connection by sending `SU...

ASYNCAPI

Semantic Vocabularies

Backpack Context

8 classes · 25 properties

JSON-LD

API Governance Rules

Backpack API Rules

6 rules · 3 warnings 3 info

SPECTRAL

Example Payloads

Backpack Depth Example

2 fields

EXAMPLE

Resources

🔗
PostmanWorkspace
PostmanWorkspace
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🌐
Portal
Portal
🌐
Portal
Portal
🔗
Documentation
Documentation
📝
Signup
Signup
📝
Signup
Signup
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
👥
GitHubRepository
GitHubRepository
👥
GitHubRepository
GitHubRepository
👥
GitHubRepository
GitHubRepository
👥
GitHubRepository
GitHubRepository
🟢
StatusPage
StatusPage
📰
Blog
Blog
🔗
Twitter
Twitter
🔗
Forums
Forums
🔗
LinkedIn
LinkedIn
💬
Support
Support
💬
FAQ
FAQ
📜
TermsOfService
TermsOfService
📜
PrivacyPolicy
PrivacyPolicy
🔑
Authentication
Authentication
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps
📄
ChangeLog
ChangeLog
📝
Signup
Signup

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Backpack Exchange API
  version: '1.0'
items:
- info:
    name: Account
    type: folder
  items:
  - info:
      name: Get account.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/account
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
    docs: '**Instruction:** `accountQuery`'
  - info:
      name: Update account.
      type: http
    http:
      method: PATCH
      url: https://api.backpack.exchange/api/v1/account
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Update account settings.


      **Instruction:** `accountUpdate`'
  - info:
      name: Get max borrow quantity.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/account/limits/borrow
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: symbol
        value: ''
        type: query
        description: The asset to borrow.
    docs: 'Retrieves the maxmimum quantity an account can borrow

      for a given asset based on the accounts existing exposure

      and margin requirements


      **Instruction:** `maxBorrowQuantity`'
  - info:
      name: Get max order quantity.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/account/limits/order
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: symbol
        value: ''
        type: query
        description: The market symbol to trade.
      - name: side
        value: ''
        type: query
        description: The side of the order.
      - name: price
        value: ''
        type: query
        description: The limit price of the order. Not included for market orders.
      - name: reduceOnly
        value: ''
        type: query
        description: Whether the order is reduce only.
      - name: autoBorrow
        value: ''
        type: query
        description: Whether the order uses auto borrow.
      - name: autoBorrowRepay
        value: ''
        type: query
        description: Whether the order uses auto borrow repay.
      - name: autoLendRedeem
        value: ''
        type: query
        description: Whether the order uses auto lend redeem.
    docs: 'Retrieves the maxmimum quantity an account can trade

      for a given symbol based on the account''s balances, existing exposure

      and margin requirements.


      **Instruction:** `maxOrderQuantity`'
  - info:
      name: Get max withdrawal quantity.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/account/limits/withdrawal
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: symbol
        value: ''
        type: query
        description: The asset to withdraw.
      - name: autoBorrow
        value: ''
        type: query
        description: Whether the withdrawal is with auto borrow.
      - name: autoLendRedeem
        value: ''
        type: query
        description: Whether the withdrawal is with auto lend redeem.
    docs: 'Retrieves the maxmimum quantity an account can withdraw

      for a given asset based on the accounts existing exposure

      and margin requirements

      The response will include the maximum quantity that can be withdrawn

      and whether the withdrawal is with auto borrow or auto lend redeem

      enabled.


      **Instruction:** `maxWithdrawalQuantity`'
- info:
    name: Capital
    type: folder
  items:
  - info:
      name: Convert a dust balance.
      type: http
    http:
      method: POST
      url: https://api.backpack.exchange/api/v1/account/convertDust
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Converts a dust balance to USDC. The balance (including lend) must be

      less than the minimum quantity tradable on the spot order book.


      **Instruction:** `convertDust`'
  - info:
      name: Get balances.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/capital
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
    docs: 'Retrieves account balances and the state of the balances (locked or

      available).


      Locked assets are those that are currently in an open order.


      **Instruction:** `balanceQuery`'
  - info:
      name: Get collateral.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/capital/collateral
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: subaccountId
        value: ''
        type: query
    docs: 'Retrieves collateral information for an account.


      **Instruction:** `collateralQuery`'
  - info:
      name: Get deposits.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/capital/deposits
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: from
        value: ''
        type: query
        description: Filter to minimum time (milliseconds).
      - name: to
        value: ''
        type: query
        description: Filter to maximum time (milliseconds).
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
      - name: excludePlatform
        value: ''
        type: query
        description: Exclude platform deposits originating from the exchange.
    docs: 'Retrieves deposit history.


      **Instruction:** `depositQueryAll`'
  - info:
      name: Get deposit address.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/capital/deposit/address
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: blockchain
        value: ''
        type: query
        description: Blockchain symbol to get a deposit address for.
    docs: 'Retrieves the user specific deposit address if the user were to deposit

      on the specified blockchain.


      **Instruction:** `depositAddressQuery`'
  - info:
      name: Get withdrawals.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/capital/withdrawals
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: id
        value: ''
        type: query
        description: Filter by withdrawal ID.
      - name: clientId
        value: ''
        type: query
        description: Filter by client ID.
      - name: from
        value: ''
        type: query
        description: Filter to minimum time (milliseconds).
      - name: to
        value: ''
        type: query
        description: Filter to maximum time (milliseconds).
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
    docs: 'Retrieves withdrawal history.


      **Instruction:** `withdrawalQueryAll`'
  - info:
      name: Request withdrawal.
      type: http
    http:
      method: POST
      url: https://api.backpack.exchange/wapi/v1/capital/withdrawals
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      - name: X-SIGNATURE
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Requests a withdrawal from the exchange.


      The `twoFactorToken` field is required if the withdrawal address is not

      an address that is configured in the address book to not require

      2FA.


      To configure a 2FA exempt address, please [add an

      address](https://backpack.exchange/settings/address-book) to the address book

      and toggle the `Two Factor Authentication Required` option.


      **Instruction:** `withdraw`'
  - info:
      name: Get dust conversion history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/dust
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: id
        value: ''
        type: query
        description: Filter to a given dust conversion id.
      - name: symbol
        value: ''
        type: query
        description: Filter to the given symbol.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'Retrieves the dust conversion history for the user.


      **Instruction:** `dustHistoryQueryAll`'
  - info:
      name: Get settlement history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/settlement
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset for pagination. Default `0`.
      - name: source
        value: ''
        type: query
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'History of settlement operations for the account.


      **Instruction:** `settlementHistoryQueryAll`'
- info:
    name: Assets
    type: folder
  items:
  - info:
      name: Get assets.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/assets
      params:
      - name: country
        value: ''
        type: query
        description: 'Optional ISO 3166-1 alpha-2 country code. When provided, the token

          list is filtered to the assets available in that jurisdiction.'
    docs: Get assets.
  - info:
      name: Get collateral.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/collateral
    docs: Get collateral parameters for assets.
- info:
    name: Borrow Lend
    type: folder
  items:
  - info:
      name: Get borrow lend positions.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/borrowLend/positions
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
    docs: 'Retrieves all the open borrow lending positions for the account.


      **Instruction:** `borrowLendPositionQuery`'
  - info:
      name: Get estimated liquidation price.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/borrowLend/position/liquidationPrice
      params:
      - name: subaccountId
        value: ''
        type: query
        description: Optional subaccount.
      - name: borrow
        value: ''
        type: query
        description: Standard base64 encoded json of [`BorrowLendExecutePayload`]
    docs: 'Retrieves the estimated liquidation price for a potential borrow lend

      position.'
  - info:
      name: Execute borrow lend.
      type: http
    http:
      method: POST
      url: https://api.backpack.exchange/api/v1/borrowLend
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      body:
        type: json
        data: '{}'
    docs: '**Instruction:** `borrowLendExecute`'
  - info:
      name: Get borrow history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/borrowLend
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: type
        value: ''
        type: query
        description: Filter to history for either borrows or lends.
      - name: sources
        value: ''
        type: query
        description: 'Filter to return history for a particular source. Can be a single

          source, or multiple sources separated by commas.'
      - name: positionId
        value: ''
        type: query
        description: Filter to return history for a borrow lend position.
      - name: symbol
        value: ''
        type: query
        description: Filter to the given symbol.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset for pagination. Default `0`.
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'History of borrow and lend operations for the account.


      **Instruction:** `borrowHistoryQueryAll`'
  - info:
      name: Get interest history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/interest
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: asset
        value: ''
        type: query
        description: Asset to query. If not set, all assets are returned.
      - name: symbol
        value: ''
        type: query
        description: 'Market symbol to query. If not set, all markets are returned. If a

          futures symbol is supplied, then interest payments on unrealized pnl

          will be returned. Spot market symbols refer to interest payments on

          regular borrow lend positions.'
      - name: positionId
        value: ''
        type: query
        description: Filter to return history for a borrow lend position.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset for pagination. Default `0`.
      - name: source
        value: ''
        type: query
        description: 'Filter to return interest payments of a particular source. Borrow

          interest payments through two mechanisms: borrow lend

          positions; interest paid on unrealized pnl.'
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'History of the interest payments for borrows and lends for the account.


      **Instruction:** `interestHistoryQueryAll`'
  - info:
      name: Get borrow position history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/borrowLend/positions
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: symbol
        value: ''
        type: query
        description: Filter to the given symbol.
      - name: side
        value: ''
        type: query
        description: Return only borrows or only lends.
      - name: state
        value: ''
        type: query
        description: Return only open positions or closed positions.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset for pagination. Default `0`.
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'History of borrow and lend positions for the account.


      **Instruction:** `borrowPositionHistoryQueryAll`'
- info:
    name: Borrow Lend Markets
    type: folder
  items:
  - info:
      name: Get borrow lend markets.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/borrowLend/markets
    docs: Get borrow lend markets.
  - info:
      name: Get borrow lend market history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/borrowLend/markets/history
      params:
      - name: interval
        value: ''
        type: query
        description: Filter for an interval.
      - name: symbol
        value: ''
        type: query
        description: Market symbol to query. If not set, all markets are returned.
    docs: Get borrow lend market history.
  - info:
      name: Get APY rates for borrow/lend markets and staking.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/borrowLend/apy
      params:
      - name: tierId
        value: ''
        type: query
        description: Optional VIP tier ID. If omitted, returns the base (non-VIP) rate.
    docs: Get APY rates for borrow/lend markets and staking.
- info:
    name: Markets
    type: folder
  items:
  - info:
      name: Get markets.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/markets
      params:
      - name: marketType
        value: ''
        type: query
        description: Market type. Defaults to return spot and perp.
    docs: Retrieves all the markets that are supported by the exchange.
  - info:
      name: Get market.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/market
      params:
      - name: symbol
        value: ''
        type: query
    docs: Retrieves a market supported by the exchange.
  - info:
      name: Get depth.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/depth
      params:
      - name: symbol
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
        description: Limit on the number of price levels to return on each side. Defaults to `1000`.
    docs: Retrieves the order book depth for a given market symbol.
  - info:
      name: Get prediction events.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/prediction
      params:
      - name: symbol
        value: ''
        type: query
        description: The market symbol for the prediction market.
      - name: tagSlug
        value: ''
        type: query
        description: The tag slug of the prediction event.
      - name: eventSlug
        value: ''
        type: query
        description: The event slug that the prediction market is based on.
      - name: seriesSlug
        value: ''
        type: query
        description: The series slug that the prediction event belongs to.
      - name: resolved
        value: ''
        type: query
        description: Whether the prediction market is resolved.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
    docs: Retrieves all the events and associated markets that are supported by the exchange.
  - info:
      name: Get prediction tags.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/prediction/tags
    docs: Retrieves all prediction tags supported by the exchange.
  - info:
      name: Get market sessions.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/market-sessions
    docs: 'Retrieves the list of market sessions. To see which sessions a

      specific security trades in, and its quantity constraints per session, see `/api/v1/securities`.'
  - info:
      name: Get securities.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/securities
    docs: Retrieves tradable securities.
  - info:
      name: Get mark prices.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/markPrices
      params:
      - name: symbol
        value: ''
        type: query
      - name: marketType
        value: ''
        type: query
        description: Market type. Defaults to return perp.
    docs: 'Retrieves mark prices, index prices, and funding rates for futures

      products, or a specified symbol.'
  - info:
      name: Get open interest.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/openInterest
      params:
      - name: symbol
        value: ''
        type: query
    docs: 'Retrieves the current open interest for the given market.

      If no market is provided, then all markets are returned.'
  - info:
      name: Get funding interval rates.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/fundingRates
      params:
      - name: symbol
        value: ''
        type: query
        description: Market symbol to query
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `10000`.
      - name: offset
        value: ''
        type: query
        description: Offset for pagination. Default `0`.
    docs: Funding interval rate history for futures.
  - info:
      name: Get K-lines.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/klines
      params:
      - name: symbol
        value: ''
        type: query
        description: Market symbol, e.g. `SOL_USDC`.
      - name: interval
        value: ''
        type: query
      - name: startTime
        value: ''
        type: query
        description: UTC timestamp in seconds.
      - name: endTime
        value: ''
        type: query
        description: UTC timestamp in seconds. Defaults to now.
      - name: priceType
        value: ''
        type: query
        description: K-line price type. Defaults to `last`.
    docs: 'Returns candles for the given market and interval. Recent data is

      served from the in-memory store; requests reaching further back

      than the store''s retention window fall through to ClickHouse.'
  - info:
      name: Get ticker for a single market.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/ticker
      params:
      - name: symbol
        value: ''
        type: query
      - name: interval
        value: ''
        type: query
    docs: Get ticker for a single market.
  - info:
      name: Get tickers for every market.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/tickers
      params:
      - name: interval
        value: ''
        type: query
    docs: Get tickers for every market.
- info:
    name: Order
    type: folder
  items:
  - info:
      name: Get open order.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/order
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: clientId
        value: ''
        type: query
        description: Client ID of the order.
      - name: orderId
        value: ''
        type: query
        description: ID of the order.
      - name: symbol
        value: ''
        type: query
        description: Market symbol for the order.
    docs: 'Retrieves an open order from the order book. This only returns the order

      if it is resting on the order book (i.e. has not been completely filled,

      expired, or cancelled).


      One of `orderId` or `clientId` must be specified. If both are specified

      then the request will be rejected.


      **Instruction:** `orderQuery`'
  - info:
      name: Execute order.
      type: http
    http:
      method: POST
      url: https://api.backpack.exchange/api/v1/order
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      - name: X-BROKER-ID
        value: ''
      - name: X-BROKER-KEY
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Submits an order to the matching engine for execution.


      **Instruction:** `orderExecute`'
  - info:
      name: Cancel open order.
      type: http
    http:
      method: DELETE
      url: https://api.backpack.exchange/api/v1/order
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Cancels an open order from the order book.


      One of `orderId` or `clientId` must be specified. If both are specified

      then the request will be rejected.


      **Instruction:** `orderCancel`'
  - info:
      name: Get open orders.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/orders
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: marketType
        value: ''
        type: query
        description: The market for the orders (SPOT or PERP).
      - name: symbol
        value: ''
        type: query
        description: The symbol of the market for the orders.
    docs: 'Retrieves all open orders. If a symbol is provided, only open orders for

      that market will be returned, otherwise all open orders are

      returned.


      **Instruction:** `orderQueryAll`'
  - info:
      name: Execute orders.
      type: http
    http:
      method: POST
      url: https://api.backpack.exchange/api/v1/orders
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      - name: X-BROKER-ID
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Submits a set of orders to the matching engine for execution in a batch.


      **Batch commands instruction:** `orderExecute`'
  - info:
      name: Cancel open orders.
      type: http
    http:
      method: DELETE
      url: https://api.backpack.exchange/api/v1/orders
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      body:
        type: json
        data: '{}'
    docs: 'Cancels all open orders on the specified market.


      **Instruction:** `orderCancelAll`'
  - info:
      name: Get fill history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/fills
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: orderId
        value: ''
        type: query
        description: Filter to the given order.
      - name: strategyId
        value: ''
        type: query
        description: Filter to the given strategy.
      - name: from
        value: ''
        type: query
        description: Filter to minimum time (milliseconds).
      - name: to
        value: ''
        type: query
        description: Filter to maximum time (milliseconds).
      - name: symbol
        value: ''
        type: query
        description: Filter to the given symbol.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
      - name: fillType
        value: ''
        type: query
        description: Filter to return fills for different fill types
      - name: marketType
        value: ''
        type: query
        description: Market type.
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'Retrieves historical fills, with optional filtering for a specific order

      or symbol.


      **Instruction:** `fillHistoryQueryAll`'
  - info:
      name: Get order history.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/wapi/v1/history/orders
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: orderId
        value: ''
        type: query
        description: Filter to the given order.
      - name: strategyId
        value: ''
        type: query
        description: Filter to the given strategy.
      - name: symbol
        value: ''
        type: query
        description: Filter to the given symbol.
      - name: limit
        value: ''
        type: query
        description: Maximum number to return. Default `100`, maximum `1000`.
      - name: offset
        value: ''
        type: query
        description: Offset. Default `0`.
      - name: marketType
        value: ''
        type: query
        description: Market type.
      - name: sortDirection
        value: ''
        type: query
        description: Sort direction.
    docs: 'Retrieves the order history for the user. This includes orders that have

      been filled and are no longer on the book. It may include orders

      that are on the book, but the `/orders` endpoint contains more up to

      date data.


      **Instruction:** `orderHistoryQueryAll`'
- info:
    name: Position
    type: folder
  items:
  - info:
      name: Get open positions.
      type: http
    http:
      method: GET
      url: https://api.backpack.exchange/api/v1/position
      headers:
      - name: X-API-KEY
        value: ''
      - name: X-SIGNATURE
        value: ''
      - name: X-TIMESTAMP
        value: ''
      - name: X-WINDOW
        value: ''
      params:
      - name: symbol
        value: ''
        type: query
        description: Filter for a single position by symbol.
      - name: marketType
        value: ''
        type: query
        description: The market for the orders (SPOT or PERP).
    docs: 'Retrieves account position summary.


      **Instruction:** `positionQuery`'
  -

# --- truncated at 32 KB (53 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/backpack/refs/heads/main/apis.yml