Phemex Orders API

The Orders API from Phemex — 26 operation(s) for orders.

Operations 31

POST /orders Place order #
DELETE /orders Bulk cancel orders #
PUT /orders/create Place order via query string #
PUT /orders/replace Modify order #
DELETE /orders/cancel Cancel order #
DELETE /orders/all Cancel all orders #
GET /orders/activeList Get active orders #
GET /exchange/order/list Get order history #
GET /exchange/order Get order by ID #
GET /api-data/futures/orders Get futures order history #
GET /api-data/futures/orders/by-order-id Get futures orders by ID #
POST /g-orders Place hedged order #
DELETE /g-orders Bulk cancel hedged orders #
PUT /g-orders/create Place hedged order via query string #
PUT /g-orders/replace Modify hedged order #
DELETE /g-orders/cancel Cancel hedged order #
DELETE /g-orders/all Cancel all hedged orders #
GET /g-orders/activeList Get active hedged orders #
GET /exchange/order/v2/orderList Get closed orders #
GET /api-data/g-futures/orders Get hedged order history #
GET /api-data/g-futures/orders/by-order-id Get hedged orders by ID #
POST /spot/orders Place spot order #
PUT /spot/orders Modify spot order #
DELETE /spot/orders Cancel spot order #
GET /spot/orders List active orders #
PUT /spot/orders/create Place spot order via query string #
DELETE /spot/orders/all Cancel all spot orders #
GET /spot/orders/active Query specific active order #
GET /exchange/spot/order Query closed orders (deprecated) #
GET /api-data/spots/orders Get spot order history #
GET /api-data/spots/orders/by-order-id Get spot orders by ID #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/phemex-orders-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

phemex-orders-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Phemex Orders API
  version: 1.0.0
  contact:
    name: Phemex Support
    url: https://phemex.com/help-center
  description: 'Operations tagged Orders across 3 of this provider''s published API definitions: contract.yml, hedged-perpetual.yml, spot.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.phemex.com
  description: Production
- url: https://testnet-api.phemex.com
  description: Testnet
security:
- HmacAuth: []
tags:


# --- truncated at 32 KB (36 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/phemex/refs/heads/main/openapi/phemex-orders-api-openapi.yml