Net Asset Value Hourly

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 timestamp field. The endpoint only returns a maximum of 2000 records Example URL

Response Fields

FieldTypeDescription

id

integer

The record's id in the source table. A id that equals 0 means that it is not an official value.

created_at

string

ISO formatted datetime representing the calculation time

symbol

string

The index symbol.

open

number

The first real-time value within that hour in U.S. dollar

low

number

The lowest real-time value within that hour in U.S. dollar

high

number

The highest real-time value within that hour in U.S. dollar

close

number

The last real-time value within that hour in U.S. dollar

timestamp

integer

Unix timestamp in milliseconds representing the calculation time.

date

string

Date representing the calculation date

hour

Integer

A integer of the Hour representing the calculation hour

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

This is a sample response for asset vnfa-btca-15-h

Query Parameters

NameTypeDescription

symbol*

String

The ticker of the requested index

limit

Integer

The number of records to obtain. If the parameter is not specified the last record will be returned.

start_time

datestring

Received range includes the start time date. The start_time value has to be either a date or a datetime string in ISO8601 format. The formats allowed are therefore:

YYYY-MM-DDTHH:MM:SSZ

YYYY-MM-DDTHH:MM:SS.fffZ

YYYY-MM-DD

end_time

datestring

Received range excludes the end_time . The end_time value has to be either a date or a datetime string in ISO8601 format. The formats allowed are therefore:

YYYY-MM-DDTHH:MM:SSZ

YYYY-MM-DDTHH:MM:SS.fffZ

YYYY-MM-DD

Headers

NameTypeDescription

Authorization*

String

your_secret_api_key

{
    "result": "success",
    "message": "Success",
    "data": [
        {
            "id": 49104,
            "symbol": "vnfa-btca-15-h",
            "created_at": "2023-03-01T08:00:00.000Z",
            "open": 100.72,
            "low": 100.61,
            "high": 100.97,
            "close": 100.83,
            "timestamp": 1677657600000,
            "date": "2023-03-01",
            "hour": 8
        }
    ],
    "params": {
        "symbol": "vnfa-btca-15-h"
    }
}

Please read the following for detailed information on parameters.

pageAPI Requests Parameters

Last updated