Dexlab Docs
DexlabCreate TokenPool/SwapMomeTelegram
  • 🤘Introducing
  • PRODUCTS
    • 🔬Token Factory
      • 1️⃣Quick Token Creation Guide
      • 2️⃣Change Token Information (Update Metadata)
      • 3️⃣Manage Token (Burn, Mint, Revoke Freeze, Revoke Mint)
      • 4️⃣Token Hub – Manage & Explore
      • 💹Create OpenBook Market ID
      • ⁉️Token decimal guide
      • ⁉️Factory Fee
      • ⁉️How to check market ID?
      • ⁉️FAQ
      • Terms of service
    • 🤽‍♂️DEX(Swap/LP Pool)
      • 🔄Token Swap
      • 🔱Create Your Own Liquidity Pool – Easy & Fast!
      • ⚙️Provide & Manage Liquidity
    • 👼Mome Launchpad
    • 🔧SuperTools for XPLA
      • CW20 Token Creation
        • 1️⃣Instantiate (Minting)
        • 2️⃣Query Contract
        • 3️⃣Execute (Burn, Send, Logo Updated, etc)
        • ⚠️How to Get My CW20 Token Contract Address
      • CW721 Token Creation (NFT)
        • 1️⃣Instantiate (Minting)
        • 2️⃣Query Contract
        • 3️⃣Execute (Send, Transfer, Burn, etc)
        • ⚠️How to Check My CW721 on XPLA Explorer
    • 🔋SuperDEX for XPLA
      • BI/CI
      • Keplr Wallet Creation
    • 📋Terms of Service
    • 📖Platform Disclaimer
    • 📖SDK & API License Agreement
  • developer hub
    • 🏗️Token & Swap APIs
      • API Key Issuance Guide
      • Swap API
      • Token Creator API
    • Dexlab Factory Bot
  • ADDITIONAL RESOURCES
    • Twitter
    • Discord
    • Telegram
    • Medium
Powered by GitBook

© Copyright 2025 DEXLAB | All Rights Reserved

On this page
  • Get All market last trade
  • Get market 24hour trades
  • Get market 24hour last trade
  1. API DOCUMENTATION
  2. [Deprecated] REST API

[Deprecated] Trade Info API

Dex trade history API

Get All market last trade

GET https://open-api.dexlab.space/v1/trades

last closing price of the dex exchanges

{
    "success": true,
    "data": [
        {
            "id": 228025,
            "price": "25.2990000000",
            "size": "200.0000000000",
            "market": "LINK/USDC",
            "side": "buy",
            "time": "2021-02-03T05:46:50.649Z",
            "orderId": "466721071808925348356986",
            "feeCost": "5.0598000000",
            "marketAddress": "7JCG9TsCx3AErSV3pvhxiW4AbkKRcJ6ZAveRmJwrgQ16",
            "createdAt": "2021-02-03T05:48:32.714Z"
        },
        {
            "id": 228104,
            "price": "1583.8500000000",
            "size": "5.0000000000",
            "market": "ETH/USDC",
            "side": "buy",
            "time": "2021-02-03T06:25:49.291Z",
            "orderId": "2921890474299298120430813",
            "feeCost": "11.0869500000",
            "marketAddress": "H5uzEytiByuXt964KampmuNCurNDwkVVypkym75J2DQW",
            "createdAt": "2021-02-03T06:26:47.278Z"
        }
    ]
}

Get market 24hour trades

GET https://open-api.dexlab.space/v1/trades/:address/24h

24-hour transaction history inquiry of a specific market Update history: 2021-08-06: Change api path /all -> /24h ( I change the path because it is misleading. Existing /all is also preserved. )

Path Parameters

Name
Type
Description

address

string

{
    "success": true,
    "data": [
        {
            "id": 228018,
            "price": "25.1630000000",
            "size": "304.0700000000",
            "market": "LINK/USDC",
            "side": "buy",
            "time": "2021-02-03T05:44:50.688Z",
            "orderId": "464212314614900849337471",
            "feeCost": "16.8328900000",
            "marketAddress": "7JCG9TsCx3AErSV3pvhxiW4AbkKRcJ6ZAveRmJwrgQ16",
            "createdAt": "2021-02-03T05:46:43.832Z"
        },
        {
            "id": 228019,
            "price": "25.1630000000",
            "size": "124.8100000000",
            "market": "LINK/USDC",
            "side": "buy",
            "time": "2021-02-03T05:45:00.921Z",
            "orderId": "464193867870827139785844",
            "feeCost": "6.9093070000",
            "marketAddress": "7JCG9TsCx3AErSV3pvhxiW4AbkKRcJ6ZAveRmJwrgQ16",
            "createdAt": "2021-02-03T05:46:44.018Z"
        }
    ]
}

Get market 24hour last trade

GET https://open-api.dexlab.space/v1/trades/:address/last

Query last transaction information of a specific market

Path Parameters

Name
Type
Description

address

string

{
    "success": true,
    "data": [
        {
            "id": 228025,
            "price": "25.2990000000",
            "size": "200.0000000000",
            "market": "LINK/USDC",
            "side": "buy",
            "time": "2021-02-03T05:46:50.649Z",
            "orderId": "466721071808925348356986",
            "feeCost": "5.0598000000",
            "marketAddress": "7JCG9TsCx3AErSV3pvhxiW4AbkKRcJ6ZAveRmJwrgQ16",
            "createdAt": "2021-02-03T05:48:32.714Z"
        }
    ]
}

Last updated 2 months ago

🔌