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 makret price
  • Get All market 24h change price
  • Get market price
  • Get market 24 hours ago price
  1. API DOCUMENTATION
  2. [Deprecated] REST API

[Deprecated] Price API

Real-time market price inquiry API (delay time: 30 seconds)

Prices API is deprecated.

Get All makret price

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

Display current prices for all markets

{
    "success": true,
    "data": [
        {
            "price": "0.1000000000",
            "market": "SWAG/USDT",
            "time": "2021-01-31T16:53:35.559Z",
            "marketAddress": "AF2oQQaLtcrTnQyVs3EPTdyw57TPaK6njKYDq2Qw7LqP"
        },
        {
            "price": "0.8619200000",
            "market": "FIDA/USDC",
            "time": "2021-02-05T14:07:04.000Z",
            "marketAddress": "FrDavxi4QawYnQY259PVfYUjUvuyPNfqSXbLBqMnbfWJ"
        },
        {
            "price": "6.8160000000",
            "market": "SOL/USDT",
            "time": "2021-02-05T14:07:33.000Z",
            "marketAddress": "7xLk17EQQ5KLDLDe44wCmupJKJjTGd8hs3eSVVhCx932"
        }
    ]
}

Get All market 24h change price

GET https://open-api.dexlab.space/v1/prices/recent

Inquiry of price change information compared to 24 hours

{
  "success": true,
  "data": [
    {
      "marketAddress": "F1rxD8Ns5w4WzVcTRdaJ96LG7YKaA5a25BBmM32yFP4b",
      "closePrice": "0.0381150000",
      "price": "0.0404940000",
      "changePrice": 0.002378999999999999,
      "percent": "6.242"
    },
    {
      "marketAddress": "FQbCNSVH3RgosCPB4CJRstkLh5hXkvuXzAjQzT11oMYo",
      "closePrice": "0.0381190000",
      "price": "0.0403110000",
      "changePrice": 0.0021919999999999995,
      "percent": "5.750"
    }
  ]
}

Get market price

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

Path Parameters

Name
Type
Description

address

string

{
    "success": true,
    "data": {
        "price": "38358.5000000000",
        "market": "BTC/USDT",
        "time": "2021-02-05T14:09:33.000Z",
        "marketAddress": "EXnGBBSamqzd3uxEdRLUiYzjJkTwQyorAaFXdfteuGXe"
    }
}

Get market 24 hours ago price

GET https://open-api.dexlab.space/v1/prices/:address/closing-price

Market price inquiry up to 24 hours ago

Path Parameters

Name
Type
Description

address

string

{
    "success": true,
    "data": {
        "price": "37921.8000000000",
        "market": "BTC/USDT",
        "time": "2021-02-05T13:05:34.000Z",
        "marketAddress": "EXnGBBSamqzd3uxEdRLUiYzjJkTwQyorAaFXdfteuGXe"
    }
}

Last updated 2 months ago

🔌