LogoLogo
  • Kaiko Knowledge Hub
  • Kaiko and Vinter
  • General
  • API
    • Overview
    • Multi Assets Indexes
      • Active Multi Assets
      • Multi Assets Parameters
      • Multi Assets Daily
      • Multi Assets Hourly
      • Multi Assets Real Time
      • Websocket - Multi Assets
    • Single Assets Reference Rates
      • Active Single Assets
      • Single Assets Daily
      • Single Assets Hourly
      • Single Assets Real Time
      • Websocket - Single Assets
      • Timeseries ID
    • Leveraged Indexes
      • Leveraged Single Assets
        • Leveraged Active Single Assets
        • Leveraged Single Assets Daily
      • Leveraged Multi Assets
        • Leveraged Active Multi Assets
        • Leveraged Multi Assets Daily
    • Vinter Taxonomy (VTAXO)
      • Active VTAXO
      • VTAXO
    • Net Asset Value (NAV)
      • Active Net Asset Value
      • Net Asset Value Daily
      • Net Asset Value Hourly
      • Net Asset Value Real Time
      • WebSocket - NAV
    • Staking Yield Reference Rates
      • Staking Tiers
        • On-Chain Tier
        • Staking Provider Tier
        • Exchange Tier
      • Active Staking Yields
      • Staking Yields Daily
    • API Requests Parameters
    • API Error Messages
  • FAQ
    • Onboarding
    • Product-related
    • Tech-related
Powered by GitBook
On this page
  • Response Fields
  • Try the API

Was this helpful?

Export as PDF
  1. API
  2. Single Assets Reference Rates

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.

PreviousSingle Assets HourlyNextWebsocket - Single Assets

Last updated 22 days ago

Was this helpful?

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

Field
Type
Description

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.

value

number

The index value

timestamp

integer

Unix timestamp in milliseconds representing the calculation time.

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

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

Query Parameters

Name
Type
Description

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

Name
Type
Description

Authorization*

String

your_secret_api_key

{
    "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.

API Requests Parameters
Try the API
https://www.vinterapi.com/api/v3/single_assets_real_time/?symbol=btc-usd-p-rwww.vinterapi.com