Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Qfex pnl API

The pnl API from Qfex — 1 operation(s) for pnl.

Qfex pnl API is one of 5 APIs that Qfex publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include pnl. The published artifact set on APIs.io includes an OpenAPI specification and authentication docs.

This API exposes 1 operation across 1 path, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, https://api.qfex.com.

1 operations 1 paths 4 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.qfex.com
Authentication
API Key, API Key, API Key, API Key
Resource Areas
1

Authentication & Security 4

Qfex pnl API declares 4 security schemes for authenticating requests. An API key is passed in the header as x-qfex-hmac-signature (HMACSignature). An API key is passed in the header as x-qfex-nonce (Nonce). An API key is passed in the header as x-qfex-public-key (PublicKey). An API key is passed in the header as x-qfex-timestamp (Timestamp).

  • HMACSignature — HMAC-SHA256 signature (hex-encoded).
  • Nonce — Unique request nonce (hex encoded, max 100 characters).
  • PublicKey — QFEX API Authentication requires these headers: - x-qfex-public-key: Your public API key - x-qfex-hmac-signature: HMAC signature of the request (hex encoded) -…
  • Timestamp — Unix timestamp (seconds since epoch).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

pnl 1
GET
/pnl
Hourly PnL (approx. first position per hour)
read-hourly-pnl 4 params → 200default

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are PnlHour (8 properties), ErrorModel (7 properties), ErrorDetail (3 properties), HourlyPnlResponseBody (3 properties). Each schema is shown below with its type and property counts.

HourlyPnlResponseBody
object
3 properties 2 required
ErrorDetail
object
3 properties
ErrorModel
object
7 properties
PnlHour
object
8 properties 8 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

qfex-pnl-api-openapi.yml Raw ↑

Other APIs Qfex publishes across the network.

QFEX Market Data WebSocket (MDS)
QFEX Trade WebSocket
Qfex market-data API
Qfex user API