Nusa Docs
English
English
  • About
    • Introduction
    • Tokenomics
    • Get Started
      • Install a Crypto Wallet
      • Get Native Token for Gas
      • Connect Your Wallet to Nusa
    • API References
      • GET /api/quote
      • GET /api/swaps_24h
      • GET /api/trade_volume_usd_7d
  • NUSA v1
    • Lending Market
      • How to Supply/Withdraw
      • How to Borrow/Repay
    • Trade
      • Swap Guide
      • Liquidity Provision Guide
    • Earn
      • Farms Guide
      • Airdrop Guide
      • IDRX Earn Guide
    • Governance Program
      • veToken and Reward Calculations
      • veToken Guide
      • Voting Guide
  • NUSA V2
    • Token Terminal
      • Token Info
      • Searching Token
      • Favorite Token
    • Swap
      • Same-Chain Swap
      • Cross-Chain Swap
    • Earn
      • Liquidity Provision
      • Staking IDRX
  • NUSA HQ
    • Team
    • Brand & Logos
    • Contact Us
Powered by GitBook
On this page
  • Response
  • Example
  1. About
  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_24hNextLending Market

Last updated 3 months ago