Create an API key
-
Sign in at qfex.com and select your profile in the bottom right corner.

-
Navigate to Developer Settings via the carousel.

-
Click Generate public and secret API Keys.

-
Ensure you have 2FA enabled.

-
Provide a descriptive name, choose the account access and permissions the key needs, and confirm.

-
Copy the generated key and store it securely—it will only be shown once.

Account access and permissions
Each API key is limited by both its account access and its permissions. A request must satisfy both settings. For account access, choose either:- A specific account: The key can be used only with the selected primary account or subaccount.
- All accounts: The key can be used with any account you own. Use this only when the integration genuinely needs access across accounts.
Create keys with only the permissions required for their intended use. For example, reporting software may need view permissions but should not need order execution or withdrawal access.
Use an API key with a third party
If you authorize a trusted third-party application to access QFEX with an API key:- Create a dedicated key for that application. Do not reuse your personal integration key.
- Limit it to the required account and enable only the permissions the application needs.
- Provide the public and secret key through a secure channel. The application never needs your QFEX password or MFA codes.
- The application must keep the secret key on a secure server and use it to sign authenticated requests. It must never expose the secret in browser code, mobile applications, logs, URLs, or source control.
- Revoke the key from Developer Settings when the integration is no longer needed or if either credential may have been exposed.