The Markets endpoints expose all public, read-only data about Pacifica’s perpetual futures markets. No authentication is required for any of these endpoints — they are safe to call from any client without signing.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pacifica-fi/docs-migrate/llms.txt
Use this file to discover all available pages before exploring further.
GET /api/v1/info — Get Market Info
Returns exchange information and market specifications for every available perpetual trading pair. Request This endpoint takes no query parameters.Trading pair symbol.
Tick size. All prices must be a multiple of this value.
Minimum tick. API-submitted prices cannot be below this value.
Maximum tick. API-submitted prices cannot be above this value.
Lot size. All order sizes (token-denominated) must be a multiple of this value.
Maximum leverage allowed on this symbol when opening positions.
Whether the market only allows isolated margin positions.
Minimum order size in USD.
Maximum order size in USD.
Funding rate paid in the most recent funding epoch (hourly).
Estimated funding rate to be paid in the next funding epoch.
Timestamp (ms) when the market was listed on Pacifica. Markets are returned oldest first.
GET /api/v1/info/prices — Get Prices
Returns live price data for all symbols, including mark price, oracle price, funding rates, open interest, and 24-hour volume. Request This endpoint takes no query parameters.Funding rate paid in the most recent funding epoch (hourly).
Mark price, used for unrealized PnL and liquidation calculations.
Mid price: average of the best bid and best ask.
Estimated funding rate to be paid in the next epoch.
Current open interest for this symbol in USD.
Oracle price, sourced externally and used for funding rate calculations.
Trading pair symbol.
Response timestamp in milliseconds.
USD trading volume over the past 24 hours.
Oracle price 24 hours ago in USD.
GET /api/v1/kline — Get Candle Data
Returns historical OHLCV candles for a specific market and time interval. RequestTrading pair symbol, e.g.
BTC.Candlestick interval. Valid values:
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d.Start time in milliseconds, e.g.
1716200000000.End time in milliseconds. Defaults to the current time if omitted.
Candle open (start) timestamp in milliseconds.
Candle close (end) timestamp in milliseconds.
Symbol.
Candlestick interval.
Open price.
Close price.
High price.
Low price.
Volume.
Number of trades during the candle period.
GET /api/v1/kline/mark — Get Mark Price Candle Data
Returns historical mark price candles for a specific market and time interval. RequestTrading pair symbol, e.g.
BTC.Candlestick interval. Valid values:
1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d.Start time in milliseconds.
End time in milliseconds. Defaults to the current time if omitted.
Candle open timestamp in milliseconds.
Candle close timestamp in milliseconds.
Symbol.
Candlestick interval.
Open mark price.
Close mark price.
High mark price.
Low mark price.
Volume (always
"0" for mark price candles).Number of trades during the candle period.
GET /api/v1/book — Get Orderbook
Returns the current orderbook (bids and asks up to 10 levels each) for a specified trading symbol. RequestTrading pair symbol, e.g.
BTC.Aggregation level for price grouping. Defaults to
1.Symbol.
Two-dimensional array. Index
0 contains bid levels; index 1 contains ask levels. Each side contains up to 10 price levels.Response timestamp in milliseconds.
GET /api/v1/trades — Get Recent Trades
Returns the most recent trades executed on a specific market. RequestTrading pair symbol, e.g.
BTC."fulfill_taker" if the aggressor was the taker; "fulfill_maker" if the aggressor was the maker.Price in USD at which the trade occurred.
Trade amount in the asset’s base unit.
One of
"open_long", "open_short", "close_long", "close_short".Reason for the trade:
"normal" (user-initiated), "market_liquidation", "backstop_liquidation", or "settlement" (ADL or other settlement).Timestamp in milliseconds when the trade occurred.
Exchange-wide nonce for reliable event ordering; sequential and not subject to clock drift.
GET /api/v1/funding_rate/history — Get Historical Funding
Returns paginated historical funding rate records for a particular symbol. RequestMarket symbol, e.g.
BTC.Number of records to return. Default
100, maximum 4000.Cursor for pagination. Omit to start from the most recent record.
Oracle price used in the funding rate calculation.
Bid impact price at the time of calculation.
Ask impact price at the time of calculation.
Settled funding rate for this epoch.
Predicted funding rate for the next settlement epoch.
Timestamp in milliseconds.
Cursor value for the next page of results.
true when additional pages exist.GET /api/v1/info/fees — Get Fee Levels
Returns all fee tier levels and their corresponding maker and taker fee rates. Request This endpoint takes no query parameters.Fee tier level (0 is the base tier).
Maker fee rate for this tier.
Taker fee rate for this tier.
GET /api/v1/loan_pool — Get Loan Pool
Returns the current state of the USDC loan pool, including utilization, borrow rates, and lend rates. Request This endpoint takes no query parameters.Total amount currently borrowed from the pool in USD.
Total amount available to borrow in USD.
Pool utilization ratio (borrowed ÷ total).
Current annualized borrow rate.
Current compounded annual borrow rate.
Current annualized lending rate.
Current compounded annual lending rate.
Maximum utilization cap for the pool.
Minimum balance threshold to participate in auto-lending.
Timestamp (ms) of the last interest accrual.
null if interest has never been accrued.Timestamp (ms) of the last interest payout.
null if no payout has occurred.Timestamp (ms) of the last data update.