PhoenixPerpetualsDocs API v1
Get an API key

Docs

Changelog⁠.

What changed in the API, the SDKs and the tools, newest first.

Follow it in a feed reader (Atom)

  1. Added

    SDKs 1.0.0 and pperp, open source on GitHub

    The seven SDKs (TypeScript, Python, Go, C#, Java, Rust and PHP) are published from github.com/phoenixperps/sdk, and the source of the pperp command line is at github.com/phoenixperps/pperp. The Quickstart installs each SDK, and each has its own page under SDKs.

  2. Added

    Open to every customer

    Every Phoenix Perpetuals customer can create API keys and sandbox accounts, from Developers in the dashboard.

  3. Changed

    pnl_today follows the trading day

    An account's pnl_today is its equity change since midnight New York, open positions included: the same day the daily loss limit counts.

  4. Added

    Market stats with open interest

    GET /v1/markets/stats answers each market's 24 h figures and its open interest, with no key needed. The market stream's stats frames carry the open interest too. In the SDKs: markets.stats().

Guides, endpoints, fields and error codes.