Skip to content
Bare BitcoinDevelopers

Search documentation

↑ ↓ Select · Enter Open · Escape Close

barebitcoin.no ↗
Menu

API reference / Market data

Volume statistics

Returns statistics about the volume of BTCNOK trades.

View Markdown

GET https://api.bb.no/v1/volume

Authentication

Public

No authentication required.

Authentication guide →

Parameters

datequery · string

The date to fetch the volume for. If empty, defaults to today. Format: YYYY-MM-DD

Responses

200 · OK

application/json
VolumeResponse
Show fields
dailyVolumeStats

Volume for the requested date, in Oslo time.

Example: {"amountNok":4823117,"amountBtc":4.61234567,"buyPercentage":63,"numberOfTrades":412}

VolumeStats
Show fields
amountNoknumber · double

Example: 4823117

amountBtcnumber · double

Example: 4.61234567

buyPercentagenumber · double

Example: 63

numberOfTradesinteger · int32

Example: 412

monthlyVolumeStats

Volume for the calendar month containing the requested date.

Example: {"amountNok":98234511,"amountBtc":93.81234567,"buyPercentage":58,"numberOfTrades":8731}

VolumeStats
Show fields
amountNoknumber · double

Example: 4823117

amountBtcnumber · double

Example: 4.61234567

buyPercentagenumber · double

Example: 63

numberOfTradesinteger · int32

Example: 412

yearlyVolumeStats

Volume for the calendar year containing the requested date.

Example: {"amountNok":412345678,"amountBtc":402.12345678,"buyPercentage":61,"numberOfTrades":37104}

VolumeStats
Show fields
amountNoknumber · double

Example: 4823117

amountBtcnumber · double

Example: 4.61234567

buyPercentagenumber · double

Example: 63

numberOfTradesinteger · int32

Example: 412

last24hVolumeStats

Volume for the last 24 hours, regardless of the requested date.

Example: {"amountNok":5102334,"amountBtc":4.87654321,"buyPercentage":64,"numberOfTrades":437}

VolumeStats
Show fields
amountNoknumber · double

Example: 4823117

amountBtcnumber · double

Example: 4.61234567

buyPercentagenumber · double

Example: 63

numberOfTradesinteger · int32

Example: 412