API Reference for DEX Cross-Chain Aggregator

·

Introduction

Explore the comprehensive API documentation for OKX's DEX cross-chain aggregator, designed to facilitate seamless cross-chain swaps and liquidity aggregation. This guide covers essential endpoints, query methods, and transaction workflows to integrate cross-chain functionality into your applications.


Wallet API Overview

Key Features:

👉 Learn more about Wallet API


DEX API Endpoints

Core Functionalities:

  1. Swap API:

    • Token-to-token exchanges within a single chain.
    • Rate calculations and slippage tolerance.
  2. Cross-Chain API:

    • Supports multi-chain asset transfers.
    • Route optimization for cost-efficient swaps.

Endpoint Reference:

EndpointDescription
Get Supported ChainsLists chains compatible with cross-chain swaps.
Get TokensFetches available tokens for trading.
Get Route InformationIdentifies optimal swap paths.
Cross-Chain SwapExecutes cross-chain transactions.

👉 Explore Cross-Chain API


Market Data & DeFi Integration

Marketplace API:

DeFi API Highlights:


FAQ Section

Q1: How do I start using the DEX API?

A: Review the Quick Start Guide for initial setup steps.

Q2: What chains are supported for cross-chain swaps?

A: Use the Get Supported Chains endpoint for an updated list.

Q3: How do I track swap status?

A: Call Get Transaction Status with the transaction hash.

Q4: Are there rate limits?

A: Yes, refer to the API documentation for tier-specific limits.


Additional Resources

This documentation is regularly updated. For the latest changes, check the Changelog.


### Key SEO Elements:
- **Primary Keywords**: DEX API, cross-chain swap, OKX aggregator, blockchain API.
- **Secondary Keywords**: Wallet integration, swap route, transaction status.
- **Anchor Texts**: Contextual links with actionable CTAs.
- **Structure**: Hierarchical headings, tables for data clarity, and FAQ for user intent.