🇬🇧
Nusa Documentation
English
English
  • ✨About Nusa
    • Introduction
    • Nusa Background
    • NUSA Token
    • Nusa Team
    • Roadmap
    • Brand & Logos
    • Contact Partnership
    • Help Section
  • 💸Decentralized Finance Apps
    • Get Started with Nusa dApps
      • 1️⃣Create a Crypto Wallet
      • 2️⃣Get Your BEP20 Tokens
      • 3️⃣Connect Your Wallet to Nusa
    • Lending Market
      • Floating Rate
        • How to Supply/Withdraw
        • How to Borrow/Repay
      • Fixed Rate
        • How to Add/Withdraw Collateral (NUSA)
        • How to Borrow/Repay IDRX
    • Trade
      • Swap Guide
      • Liquidity Provision Guide
    • Earn
      • Farms Guide
      • Airdrop Guide
      • IDRX Earn Guide
    • Governance Program
      • veToken and Reward Calculations
      • veToken Guide
      • Voting Guide
    • Coming Soon
  • 🖼️NFT Marketplace
    • Get Started with Nusa NFT Marketplace
    • How to Use Nusa NFT Marketplace
      • Create & Sell NFT
      • Explore & Buy NFT
    • Glossary
  • 💻Developers
    • Nusa Bridge
    • Migration
    • API References
      • GET /api/quote
      • GET /api/swaps_24h
      • GET /api/trade_volume_usd_7d
  • 🛡️Security
    • BAPPEBTI License
    • Haechi Audit
Powered by GitBook
On this page
  • Response
  • Example
  1. Developers
  2. API References

GET /api/trade_volume_usd_7d

Returns trade volume information for the last 7 days.

Response

Trade volume information will be returned in an array, and if there's any error message, it will be returned in the error field. Trade volume fields are defined as follows:

Field
Description

date

The date. Format is YYYY-MM-DD.

address_count

Information of how many address have traded in the given date.

trade_volume_usd

Trade volume in USD.

Example

Request: GET

https://api.nusa.finance/api/trade_volume_usd_7d

Response

[
    {
        "date": "2023-02-05",
        "address_count": "13",
        "trade_volume_usd": "57477.112957506"
    },
    {
        "date": "2023-02-04",
        "address_count": "10",
        "trade_volume_usd": "58958.02767537"
    },
    {
        "date": "2023-02-03",
        "address_count": "14",
        "trade_volume_usd": "49069.674905458"
    },
    {
        "date": "2023-02-02",
        "address_count": "9",
        "trade_volume_usd": "51903.258661604"
    },
    {
        "date": "2023-02-01",
        "address_count": "5",
        "trade_volume_usd": "48067.66540181"
    },
    {
        "date": "2023-01-31",
        "address_count": "10",
        "trade_volume_usd": "46887.811257993"
    },
    {
        "date": "2023-01-30",
        "address_count": "10",
        "trade_volume_usd": "52669.408923801"
    }
]
PreviousGET /api/swaps_24hNextBAPPEBTI License

Last updated 1 year ago

💻