CCXT
phemex

phemex implicit API

Every raw phemex endpoint exposed as a CCXT implicit method — names, HTTP verbs, paths and rate-limit costs.

Every endpoint in phemex's api definition is exposed as an implicit method — a thin, generated wrapper around the raw exchange endpoint. Use these for exchange-specific functionality the CCXT API does not cover.

These methods are available in every CCXT language — TypeScript, JavaScript, Python, PHP, C# and Go. Call them by the camelCase name shown in the tables below (e.g. publicGetCfgV2Products); the snake_case alias (public_get_cfg_v2_products) also works in JavaScript, Python and PHP, and Go uses the PascalCase form (PublicGetCfgV2Products). Switch tabs for the call in each language:

const phemex = new ccxt.phemex ();
const response = await phemex.publicGetCfgV2Products (params);

Path parameters wrapped in {} (e.g. {pair}) are substituted from params; everything else in params is sent as the query string or request body. Cost is the rate-limiter weight of each call.

📚 Official phemex API documentation: phemex-docs.github.io

115 implicit endpoints across 4 access groups.

public

Base URL: https://{hostname}/exchange/public

MethodHTTPEndpointCost
publicGetCfgV2ProductsGETcfg/v2/products5
publicGetCfgFundingRatesGETcfg/fundingRates5
publicGetProductsGETproducts5
publicGetNomicsTradesGETnomics/trades5
publicGetMdKlineGETmd/kline5
publicGetMdV2KlineListGETmd/v2/kline/list5
publicGetMdV2KlineGETmd/v2/kline5
publicGetMdV2KlineLastGETmd/v2/kline/last5
publicGetMdOrderbookGETmd/orderbook5
publicGetMdTradeGETmd/trade5
publicGetMdSpotTicker24hrGETmd/spot/ticker/24hr5
publicGetExchangePublicCfgChainSettingsGETexchange/public/cfg/chain-settings5

v1

Base URL: https://{hostname}/v1

MethodHTTPEndpointCost
v1GetMdFullbookGETmd/fullbook5
v1GetMdOrderbookGETmd/orderbook5
v1GetMdTradeGETmd/trade5
v1GetMdTicker24hrGETmd/ticker/24hr5
v1GetMdTicker24hrAllGETmd/ticker/24hr/all5
v1GetMdSpotTicker24hrGETmd/spot/ticker/24hr5
v1GetMdSpotTicker24hrAllGETmd/spot/ticker/24hr/all5
v1GetExchangePublicProductsGETexchange/public/products5
v1GetApiDataPublicDataFundingRateHistoryGETapi-data/public/data/funding-rate-history5

v2

Base URL: https://{hostname}

MethodHTTPEndpointCost
v2GetPublicProductsGETpublic/products5
v2GetPublicProductsPlusGETpublic/products-plus5
v2GetMdV2OrderbookGETmd/v2/orderbook5
v2GetMdV2TradeGETmd/v2/trade5
v2GetMdV2Ticker24hrGETmd/v2/ticker/24hr5
v2GetMdV2Ticker24hrAllGETmd/v2/ticker/24hr/all5
v2GetApiDataPublicDataFundingRateHistoryGETapi-data/public/data/funding-rate-history5

private

Base URL: https://{hostname}

MethodHTTPEndpointCost
privateGetSpotOrdersActiveGETspot/orders/active1
privateGetSpotOrdersGETspot/orders1
privateGetSpotWalletsGETspot/wallets5
privateGetExchangeSpotOrderGETexchange/spot/order5
privateGetExchangeSpotOrderTradesGETexchange/spot/order/trades5
privateGetExchangeOrderV2OrderListGETexchange/order/v2/orderList5
privateGetExchangeOrderV2TradingListGETexchange/order/v2/tradingList5
privateGetAccountsAccountPositionsGETaccounts/accountPositions1
privateGetGAccountsAccountPositionsGETg-accounts/accountPositions1
privateGetGAccountsPositionsGETg-accounts/positions25
privateGetGAccountsRiskUnitGETg-accounts/risk-unit1
privateGetApiDataFuturesFundingFeesGETapi-data/futures/funding-fees5
privateGetApiDataGFuturesFundingFeesGETapi-data/g-futures/funding-fees5
privateGetApiDataFuturesOrdersGETapi-data/futures/orders5
privateGetApiDataGFuturesOrdersGETapi-data/g-futures/orders5
privateGetApiDataFuturesOrdersByOrderIdGETapi-data/futures/orders/by-order-id5
privateGetApiDataGFuturesOrdersByOrderIdGETapi-data/g-futures/orders/by-order-id5
privateGetApiDataFuturesTradesGETapi-data/futures/trades5
privateGetApiDataGFuturesTradesGETapi-data/g-futures/trades5
privateGetApiDataFuturesTradingFeesGETapi-data/futures/trading-fees5
privateGetApiDataGFuturesTradingFeesGETapi-data/g-futures/trading-fees5
privateGetApiDataFuturesV2TradeAccountDetailGETapi-data/futures/v2/tradeAccountDetail5
privateGetApiDataGFuturesClosedPositionGETapi-data/g-futures/closedPosition5
privateGetGOrdersActiveListGETg-orders/activeList1
privateGetOrdersActiveListGETorders/activeList1
privateGetExchangeOrderListGETexchange/order/list5
privateGetExchangeOrderGETexchange/order5
privateGetExchangeOrderTradeGETexchange/order/trade5
privateGetPhemexUserUsersChildrenGETphemex-user/users/children5
privateGetPhemexUserWalletsV2DepositAddressGETphemex-user/wallets/v2/depositAddress5
privateGetPhemexUserWalletsTradeAccountDetailGETphemex-user/wallets/tradeAccountDetail5
privateGetPhemexDepositWalletsApiDepositAddressGETphemex-deposit/wallets/api/depositAddress5
privateGetPhemexDepositWalletsApiDepositHistGETphemex-deposit/wallets/api/depositHist5
privateGetPhemexDepositWalletsApiChainCfgGETphemex-deposit/wallets/api/chainCfg5
privateGetPhemexWithdrawWalletsApiWithdrawHistGETphemex-withdraw/wallets/api/withdrawHist5
privateGetPhemexWithdrawWalletsApiAssetInfoGETphemex-withdraw/wallets/api/asset/info5
privateGetPhemexUserOrderClosedPositionListGETphemex-user/order/closedPositionList5
privateGetExchangeMarginsTransferGETexchange/margins/transfer5
privateGetExchangeWalletsConfirmWithdrawGETexchange/wallets/confirm/withdraw5
privateGetExchangeWalletsWithdrawListGETexchange/wallets/withdrawList5
privateGetExchangeWalletsDepositListGETexchange/wallets/depositList5
privateGetExchangeWalletsV2DepositAddressGETexchange/wallets/v2/depositAddress5
privateGetApiDataSpotsFundsGETapi-data/spots/funds5
privateGetApiDataSpotsOrdersGETapi-data/spots/orders5
privateGetApiDataSpotsOrdersByOrderIdGETapi-data/spots/orders/by-order-id5
privateGetApiDataSpotsPnlsGETapi-data/spots/pnls5
privateGetApiDataSpotsTradesGETapi-data/spots/trades5
privateGetApiDataSpotsTradesByOrderIdGETapi-data/spots/trades/by-order-id5
privateGetAssetsConvertGETassets/convert5
privateGetAssetsTransferGETassets/transfer5
privateGetAssetsSpotsSubAccountsTransferGETassets/spots/sub-accounts/transfer5
privateGetAssetsFuturesSubAccountsTransferGETassets/futures/sub-accounts/transfer5
privateGetAssetsQuoteGETassets/quote5
privatePostSpotOrdersPOSTspot/orders1
privatePostOrdersPOSTorders1
privatePostGOrdersPOSTg-orders1
privatePostPositionsAssignPOSTpositions/assign5
privatePostExchangeWalletsTransferOutPOSTexchange/wallets/transferOut5
privatePostExchangeWalletsTransferInPOSTexchange/wallets/transferIn5
privatePostExchangeMarginsPOSTexchange/margins5
privatePostExchangeWalletsCreateWithdrawPOSTexchange/wallets/createWithdraw5
privatePostExchangeWalletsCancelWithdrawPOSTexchange/wallets/cancelWithdraw5
privatePostExchangeWalletsCreateWithdrawAddressPOSTexchange/wallets/createWithdrawAddress5
privatePostAssetsTransferPOSTassets/transfer5
privatePostAssetsSpotsSubAccountsTransferPOSTassets/spots/sub-accounts/transfer5
privatePostAssetsFuturesSubAccountsTransferPOSTassets/futures/sub-accounts/transfer5
privatePostAssetsUniversalTransferPOSTassets/universal-transfer5
privatePostAssetsConvertPOSTassets/convert5
privatePostPhemexWithdrawWalletsApiCreateWithdrawPOSTphemex-withdraw/wallets/api/createWithdraw5
privatePostPhemexWithdrawWalletsApiCancelWithdrawPOSTphemex-withdraw/wallets/api/cancelWithdraw5
privatePutSpotOrdersCreatePUTspot/orders/create1
privatePutSpotOrdersPUTspot/orders1
privatePutOrdersReplacePUTorders/replace1
privatePutGOrdersReplacePUTg-orders/replace1
privatePutGOrdersCreatePUTg-orders/create1
privatePutPositionsLeveragePUTpositions/leverage5
privatePutGPositionsLeveragePUTg-positions/leverage5
privatePutGPositionsSwitchPosModeSyncPUTg-positions/switch-pos-mode-sync5
privatePutPositionsRiskLimitPUTpositions/riskLimit5
privateDeleteSpotOrdersDELETEspot/orders2
privateDeleteSpotOrdersAllDELETEspot/orders/all2
privateDeleteOrdersCancelDELETEorders/cancel1
privateDeleteOrdersDELETEorders1
privateDeleteOrdersAllDELETEorders/all3
privateDeleteGOrdersCancelDELETEg-orders/cancel1
privateDeleteGOrdersDELETEg-orders1
privateDeleteGOrdersAllDELETEg-orders/all3

On this page