# Volume statistics

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

Returns statistics about the volume of BTCNOK trades.

## Authentication

No authentication required.

[API keys and signing](https://barebitcoin.no/developers/authentication/api-keys)

## Parameters

### date

query parameter · string

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



## Examples

### Public

```sh
curl -X GET \
  https://api.bb.no/v1/volume
```



## Responses

### 200

OK

Example:

```json
{
  "daily": {
    "amountNok": 4823117,
    "amountBtc": 4.61234567,
    "buyPercentage": 63,
    "numberOfTrades": 412
  },
  "monthly": {
    "amountNok": 98234511,
    "amountBtc": 93.81234567,
    "buyPercentage": 58,
    "numberOfTrades": 8731
  },
  "yearly": {
    "amountNok": 412345678,
    "amountBtc": 402.12345678,
    "buyPercentage": 61,
    "numberOfTrades": 37104
  },
  "last24h": {
    "amountNok": 5102334,
    "amountBtc": 4.87654321,
    "buyPercentage": 64,
    "numberOfTrades": 437
  }
}
```

[VolumeResponse](https://barebitcoin.no/developers/models/VolumeResponse).

Source: https://barebitcoin.no/developers/api/market-data/volume


## Model: VolumeResponse





### daily

Type: VolumeStats.

Volume for the requested date, in Oslo time.



Volume for the requested date, in Oslo time.



[VolumeStats](https://barebitcoin.no/developers/models/VolumeStats).

### monthly

Type: VolumeStats.

Volume for the calendar month containing the requested date.



Volume for the calendar month containing the requested date.



[VolumeStats](https://barebitcoin.no/developers/models/VolumeStats).

### yearly

Type: VolumeStats.

Volume for the calendar year containing the requested date.



Volume for the calendar year containing the requested date.



[VolumeStats](https://barebitcoin.no/developers/models/VolumeStats).

### last24h

Type: VolumeStats.

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



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



[VolumeStats](https://barebitcoin.no/developers/models/VolumeStats).

## Model: VolumeStats





### amountNok

Type: number · double.







### amountBtc

Type: number · double.







### buyPercentage

Type: number · double.







### numberOfTrades

Type: integer · int32.





