Actions51
- Accounts Actions
- Products Actions
- Orders Actions
- Portfolio Actions
- List Portfolios
- Create Portfolio
- Move Portfolio Funds
- Get Portfolio Breakdown
- Delete Portfolio
- Edit Portfolio
- Get Futures Balance Summary
- Get Intraday Margin Setting
- Set Intraday Margin Setting
- Get Current Margin Window
- List Futures Positions
- Get Futures Position
- Schedule Futures Sweep
- List Futures Sweeps
- Cancel Pending Futures Sweep
- Allocate Portfolio
- Get Perpetuals Portfolio Summary
- List Perpetuals Positions
- Get Perpetuals Position
- Get Portfolios Balances
- Opt Inor Outof Multi Asset Collateral
- Fees Actions
- Converts Actions
- Public Actions
- Payment Methods Actions
- Data Actions
Products → Get Best Bid Ask
AI-generatedSummary
Retrieve the best bid and ask prices for specified cryptocurrency products.
Inputs
- product_ids (required) — Comma-separated list of product IDs for which to get the best bid and ask prices.
- requestOptions — Additional options for the request, including batching, SSL certificate validation, proxy settings, and timeout.
Output shape
a list of bid/ask prices for the specified products
Returns an array of objects, each containing best bid and ask prices for the requested product IDs. Pagination may be applicable if many products are specified.
Examples
Example 1: Get the best bid and ask prices for Bitcoin and Ethereum
Set 'product_ids' to 'BTC-USD,ETH-USD' to retrieve bid and ask prices for both cryptocurrencies.