Phemex · Example Payload

Place Spot Order

Example request and response for placing a spot BUY limit order for sBTCUSDT.

CryptocurrencyDerivativesSpot TradingPerpetual ContractsFuturesWebSocketMarket Data

Place Spot Order is an example object payload from Phemex, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionrequestresponsenotes

Example Payload

Raw ↑
{
  "title": "Place a Spot Buy Order for BTC/USDT",
  "description": "Example request and response for placing a spot BUY limit order for sBTCUSDT.",
  "request": {
    "method": "PUT",
    "url": "https://api.phemex.com/spot/orders/create",
    "headers": {
      "x-phemex-access-token": "<your-api-key>",
      "x-phemex-request-expiry": "1704067200",
      "x-phemex-request-signature": "<hmac-sha256-signature>"
    },
    "queryParameters": {
      "symbol": "sBTCUSDT",
      "side": "Buy",
      "qtyType": "ByBase",
      "baseQtyEv": 100000,
      "priceEp": 2999000000000,
      "ordType": "Limit",
      "timeInForce": "GoodTillCancel",
      "clOrdID": "spot-buy-001"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "code": 0,
      "msg": "",
      "data": {
        "orderID": "f1a2b3c4-d5e6-7f8a-9b0c-1d2e3f4a5b6c",
        "clOrdID": "spot-buy-001",
        "symbol": "sBTCUSDT",
        "side": "Buy",
        "ordType": "Limit",
        "ordStatus": "New",
        "priceEp": 2999000000000,
        "baseQtyEv": 100000,
        "timeInForce": "GoodTillCancel"
      }
    }
  },
  "notes": "baseQtyEv=100000 with valueScale=8 represents 0.001 BTC. priceEp=2999000000000 with priceScale=8 represents $29,990.00 USDT per BTC."
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • 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 example
curl "https://apis.io/api/v1/examples/place-spot-order"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

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

Get an API key

Free tier, no email required.

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