Single Assets Real Time

The single assets real-time endpoint returns values on a specific single asset index that is calculated on a continuous basis.

The endpoint requires an API key and it requires that the symbol of the index is specified using the symbol parameter. If the limit parameter is not specified the latest value is returned. To ensure chronological ordering of the index values you should sort the values using the timestmp field. The endpoint only returns a maximum of 2000 records Example URL

Response Fields

GET https://www.vinterapi.com/api/v3/single_assets_real_time/

This is a sample response for asset btc-usd-p-r

Query Parameters

Headers

{
    "result": "success",
    "message": "Success",
    "data": [
        {
            "id": 559465835,
            "created_at": "2022-11-18T11:18:44.602Z",
            "symbol": "btc-usd-p-r",
            "value": 16748.72,
            "timestamp": 1668770324600
        }
    ],
    "params": {
        "symbol": "btc-usd-p-r"
    }
}

Note: It is important to note that the data available on the single_assets_real_time endpoint is trimmed on a daily basis at 00:50 UTC. This means that the endpoint provides real-time data for a period of 24 hours prior to the current time , and at 00:50 UTC each day, the data is trimmed and only the data from the preceding 24 hours is retained.

Please read the following for detailed information on parameters.

Last updated