🌐Index data

The /index path returns data for the DAOHQ Index and DAOHQ Index Token.

Token data

Returns live Token price data

GET https://api.daohq.co/data/index/token-data

Returns the current value (in ETH) of the TLV locked in the Index Token contract, the total Index Tokens in circulation (totalSupply), and the valueUsd (in USD) of the Index (price in USD per Token).

To get the Index Token's market cap (in ETH), divide the value by the totalSupply.

{
  "value": "0.157868860393663325",
  "totalSupply": "2.083759",
  "valueUsd": 119.53808107189478,
  "createdAt": "2023-01-17T00:15:44.025Z"
}

Index composition

Returns breakdown of DAOHQ Index's current composition

GET

[
  {
    "token": "623fc3dd17f99988906aa2e4",
    "quantity": 13.7636632563586,
    "name": "BitDAO",
    "symbol": "BIT",
    "dao": "BitDao",
    "chain": "Ethereum",
    "category": [
      "Protocol",
      "DeFi"
    ]
  },
  {
    "token": "623e30dd29f0a800b9b76b4d",
    "quantity": 12.811866537334788,
    "name": "Decentraland",
    "symbol": "MANA",
    "dao": "Decentraland",
    "chain": "Ethereum",
    "category": [
      "Protocol"
    ]
  },
  ...
]

Historic data

Returns time series data of DAOHQ Index value

GET

The DAOHQ Index is updated every 5 minutes. This request returns data for the given period in days, at 5 minute intervals.

The DAOHQ Index launched on 29 Nov, 2022.

Query Parameters

[
  {
    "_id": "639e53a752677948744bbc3e",
    "valueUsd": 89.6942946129061,
    "composition": "6389e5a0c8a749de3c0aa2fe",
    "createdAt": "2022-12-17T23:41:27.244Z"
  },
  {
    "_id": "639e54df52677948744bbf37",
    "valueUsd": 89.72424328587232,
    "composition": "6389e5a0c8a749de3c0aa2fe",
    "createdAt": "2022-12-17T23:46:39.607Z"
  },
  ...
]

Last updated