Get intraday GWA or MWAs
This API provides support to get GWA or MWAs. A Type parameter is used to filter the type of index being returned.
Index Type | Description |
MWA | The Market Weighted Averages |
GWA | The Global Weighted Averages |
Each index type will have an index id which identifies the constituent type used to build the index -
Index Type | Index ID | Output |
MWA | Market Id | The Market Weighted Average for that market |
GWA | Asset Id | The Global Weighted Average for that coin / asset |
Clients are supposed to use this ID to call the other rest API's to get more information about the constituents used while building the index.
Responses
Request Samples:
Production API Server: https://api.bravenewcoin.com/{basePath}/index-ticker
curl https://api.bravenewcoin.com/v3/index-ticker?indexType=GWA -H 'Authorization: Bearer test_SiHrnL5NKsea0G2W4LHd' -G
Response samples
Content Type
application/json
{- "content": [- {"indexId": "string","indexType": "MWA","price": "string","timestamp": "2020-01-07T21:20:30Z","id": "string","volume": "string"}],"nextId": "string"}