API Fee#
OKX DEX API provides our integration partners with various API tiers and flexible methodology to add fees to each transaction, designed to support various stages of development and commercialization.
As our integration partner, you can access OKX DEX API with a few different tiers to meet your specific needs. With OKX DEX API, you can earn revenue by setting your own partner fee scheme to charge your users per swap.
In detail, integration partners can configure partner fee and fee-receiving address for each token swap. You can charge your users up to 3% per swap for most supported chains; while for Solana, you can charge up to 10% per swap.
All tiers of OKX DEX API are subject to the User agreement.
Trial API Tier#
OKX DEX API offers a Trial tier that includes access to selected OKX DEX API functions. To start using the trial plan, you need to create an account on the Developer Portal and verify your email and phone number.
This plan provides a default rate limit of 1 request per second (RPS) and can be increased to 5 RPS upon review and approval. The trial tier is valid for 60 days upon the API key creation.
During the trial period, OKX DEX API is accessible free of charge. For the trial tier, when OKX DEX API secures a better price than quoted infrequently, the additional value named positive slippage is kept as our infrastructure fee. The positive slippage is capped at 10% of the trade amount.
Start-up API Tier#
To continue using OKX DEX API after the 60-day trial period, you can upgrade your developer account to the Start-up tier by completing the KYC flow on the Developer Portal.
Upon KYC approval, you are immediately upgraded to the Start-up tier and have access to additional product features, much higher RPS, standard technical and growth support.
For start-up tier partners charging partner fee in token swaps, a standard revenue-sharing agreement is entered for OKX DEX API to retain 20% of your revenue as our infrastructure fee. In such cases, the positive slippage (if happened) is returned to your users by default; however, you can apply to have access to the feature to keep a portion of the positive slippage as your revenue.
If you do not configure partner fees in token swaps to make revenue, OKX DEX API will keep the positive slippage (if happened) as our infrastructure fee, capped at 10% of the trade value.
Enterprise API Tier#
For high-volume partners who need a much higher RPS, customized fee structure, dedicated technical and growth support, access to additional product features or customized features, you can upgrade to the Enterprise tier by contacting our BD team and signing a contract with us.
Furthermore, Enterprise partners have access to the feature to keep the positive slippage as your revenue or provide the positive slippage entirely to your users.
Need Help?#
If you need to increase your rate limit, upgrade to the Start-up tier or Enterprise tier, or have product-related queries, please join our discord, or contact our BD team directly at dexapi@okx.com
API Tiers Summary#
Trial Tier | Start-up Tier | Enterprise Tier | |
---|---|---|---|
DEX API fee | Positive slippage only | 20% rev-share, or positive slippage if no partner fee is configured | Customized fee structure |
Features & Benefits | • RPS 1-5 • Access to standard API endpoints • Valid for 60 days | • RPS 2-50 • Access to most advanced API endpoints • Access to positive slippage feature to retain as extra revenue (upon approval) • Receive standard tech and growth support | • Customised RPS • Access to all advanced API endpoints, including positive slippage feature to retain as extra revenue • Request customized feature development (upon approval) • Receive dedicated tech and growth support |
*RPS adjustment is correlated to trading volume
*Positive slippage refers to a situation where a trade is executed at a more favorable price than initially quoted, which is relatively rare. For selected API tiers, the additional value generated by positive slippage will be retained as an API fee, capped at no more than 10% of the total traded amount.
*Start-up customers with monthly trading volume exceeding $10M need to contact our BD to upgrade to Enterprise tier for customized support